This is the mail archive of the cygwin mailing list for the Cygwin 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]

No local keystroke echo in bash after running nano/less/vim/man


After running nano/less/vim/man (and probably others), local keystroke echo
in bash stops.  This is only the case when I use `export CYGWIN=tty' in my
.bashrc file, which is there so nano receives ctrl-c.  During noecho, 'stty
sane' tells me "stty: standard input: unable to perform all requested
operations".

'stty -a' changes are -brkint -icrnl -ixon -icanon -iexten -echo.

I am running Cygwin from a 1gb keydisk on win98.  I have attached the output
from 'cygcheck -s -v -r'.

The two threads I found discussing a problem similar to this are:
http://sourceware.org/ml/cygwin/2003-06/msg00430.html
http://sourceware.org/ml/cygwin/2001-12/msg01161.html
...however, one was solved by a fix with user configuration, which doesn't
seem applicable here, and the other simply didn't set CYGWIN=tty.


'stty -a' before:
speed 38400 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh -tostop -echoctl
-echoke

'stty -a' after:
speed 38400 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0ff0
isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -tostop -echoctl
-echoke

Attachment: cygcheck.out
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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