cygwin agetty problem
Val Shkolnikov
vals@broadcom.com
Sat Mar 3 03:11:00 GMT 2012
When I invoke getty at Win7x64, login works but no stty options are set up except baud rate (stty report -icanon, etc), so there is no echo; columns, rows are 0. If I try to use stty, eg. stty sane, I get "stty: standard input: unable to perform all requested operations". I tried both standard /bin/login and direct to bash: same result. Here are the commands I tried:
/usr/sbin/agetty -L 9600 com1 xterm
/usr/sbin/agetty -L -l /bin/bash -n 9600 com1 xterm
This is what I get on stty -a
$ speed 9600 baud; rows 0; columns 0; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S;susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>;
flush = <undef>; min = 0; 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
Any ideas?-echoke
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list