delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/01/20:11:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A512B72.1C1BB4E4@ece.gatech.edu>
Date: Mon, 01 Jan 2001 20:14:26 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: shell loses "stty echo" state
References: <3A4CEE5C DOT 6477D014 AT ece DOT gatech DOT edu>; from cwilson AT ece DOT gatech DOT edu on Fri, Dec 29, 2000 at 03:04:44PM -0500 <3A4D1656 DOT 28816 DOT A51005A AT localhost>

I also do not see a diff between the 'good' and 'bad'.  I don't set any
environment variables from within the shell or from cygwin.bat; all
variables (like CYGWIN) are set using the 'environment' panel in Win2K.

speed 38400 baud; rows 24; columns 80; line = -96;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = M-^?; eol2
= M-^?;
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


--Chuck


"Gerrit P. Haase" wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> <29 Dec 2000, 15:41 Uhr wars, als Ashok Vadekar folgendes schrub:>
> < Re: shell loses "stty echo" state >
> 
> > Here is an example of the state change:
> > <Open a new shell>
> >       stty -a > good
> >       less good
> >       stty -a > bad
> >
> > <Good contains:>
> >       speed 38400 baud; rows 25; columns 80; line = 0;
> >       intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
> >       eol2 = <undef>; 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
> >
> > <Bad contains:>
> >       speed 38400 baud; rows 25; columns 80; line = 0;
> >       intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
> >       eol2 = <undef>; 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
> >
> > Diffing them shows the changes
> > brkint icrnl ixon icanon iexten echo -> -brkint -icrnl -ixon -icanon -iexten -echo
> >
> > I looked at $TERM, it was set to cygwin.  Changing it to other terminal types
> > (linux, ansi, vt100, and even dumb) caused some changes, like switching to
> > mono (at least in vi), but did not change the loss of echo.
> >
> > Any suggestions?
> >
> 
> I'm running cygwin on WinNT 4.0
> i repeated your test, i couldn't see any diffs...
> i suggest, that it may depend on cygwin env-variable, which _must_ be set before
> starting a new shell!
> 
> My cygwin.bat:
> @echo off
> I:
> chdir \cygwin\bin
> set CYGWIN=binmode tty ntea nontsec
> bash --login -i
> 
> The same test as yours:
> siebenschlaefer AT LORELEY ~
> $ stty -a > good
> 
> siebenschlaefer AT LORELEY ~
> $ less good
> speed 38400 baud; rows 45; columns 90; line = 0;
> intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
> eol2 = <undef>; 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
> 
> siebenschlaefer AT LORELEY ~
> $ stty -a > bad
> 
> siebenschlaefer AT LORELEY ~
> $ less bad
> speed 38400 baud; rows 45; columns 90; line = 0;
> intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
> eol2 = <undef>; 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
> 
> siebenschlaefer AT LORELEY ~
> $ diff -ur good bad
> 
> siebenschlaefer AT LORELEY ~
> $
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8 -- QDPGP 2.61c
> Comment: =^..^=
> 
> iQA/AwUBOkz6NjBeUmEooFE3EQLB/gCgmvitUVYKH1Co9Cv5dqY5Gg8juN4An2Hz
> /ZMEhcTl2SYgIMZ202ICtRch
> =6eIS
> -----END PGP SIGNATURE-----
> --
> =^..^=
> Gerrit Peter Haase
> ID: 0x28A05137
> FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019