Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 1996 23:45:37 -0600
From:      Tony Kimball <alk@Think.COM>
To:        lehey.pad@sni.de
Cc:        questions@freefall.freebsd.org
Subject:   Re: stty -echo -nl, emacs
Message-ID:  <199604020545.XAA10841@compound>
In-Reply-To: <199603270859.JAA25468@nixpbe.pdb.sni.de> (message from Greg Lehey on Wed, 27 Mar 96 9:56:20 MET)

next in thread | previous in thread | raw e-mail | index | archive | help
   Date: Wed, 27 Mar 96 9:56:20 MET
   From: Greg Lehey <lehey.pad@sni.de>

   Which shell are you using?  With bash or ksh,
   things work correctly (or at least the same way as under SunOS 4 and
   5).  You shouldn't need to do any stty adjustments.  If you still
   can't get it to work, please tell me:

     1. Which shell are you using.
     2. The output from stty -a when these problems occur.

   Greg

I am using es, sans editline/readline.
; stty -a
stty -a^M
speed 9600 baud; 0 rows; 0 columns;^M
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl^M
	-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo^M
	-extproc^M
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel ignbrk^M
	brkint -inpck -ignpar -parmrk^M
oflags: opost onlcr -oxtabs^M
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow^M
	-dtrflow -mdmbuf^M
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;^M
	eol2 = <undef>; erase = <undef>; intr = ^C; kill = <undef>;^M
	lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;^M
	status = <undef>; stop = ^S; susp = ^Z; time = 0; werase = ^W;^M


Now ash will at least drop the echo (so I infer that this is an es
bug, and I will fix it there) but still emits the annoying \015s.
; sh
sh^M
$ date
Mon Apr  1 23:41:18 CST 1996^M
                            ^^



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604020545.XAA10841>