This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: strange behaviour -- gdbtk & stdin on winxp


>   Jim, do you have 'tty' set in your $CYGWIN environment variable?  I don't
> know if it'll help or not, but it affects tty-handling in the cygwin lib:
> 
> http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
> 
> "(no)tty - if set, Cygwin enables extra support (i.e., termios) for
> UNIX-like ttys. It is not compatible with some Windows programs. Defaults to
> not set, in which case the tty is opened in text mode. Note that this has
> been changed such that ^D works as expected instead of ^Z, and is settable
> via stty. This option must be specified before starting a Cygwin shell and
> it cannot be changed in the shell."
> 
>   It might or might not help to experiment with it.

Thanks for the idea Dave.  Unfortunately it didn't help.
I tried adding the following to c:\autoexec.bat:
set CYGWIN=tty

and the following to ~/.bash_profile:
export CYGWIN=tty

-- 
James Lemke   jim@TheLemkes.ca   Orillia, Ontario
1992 ST1100, STOC #3750;   FWD# M:245401 H:246889
Life is what happens while you're busy making other plans. --John Lennon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]