This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: strange behaviour -- gdbtk & stdin on winxp
- From: James Lemke <jim at TheLemkes dot ca>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 18 Apr 2005 13:46:56 -0400
- Subject: RE: strange behaviour -- gdbtk & stdin on winxp
- References: <SERRANOkCc8JmTwj2hZ000001c0@SERRANO.CAM.ARTIMI.COM>
> 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