*BSD News Article 7572


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!decwrl!netcomsv!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: why erase/kill echoed by [c]sh in xterm? [386BSD/X386]
Message-ID: <1992Nov7.111935.2731@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Sat, 7 Nov 1992 11:19:35 GMT
Lines: 25

The new X386 is wonderful!  And it is with much trepidation I ask the
world: why does the erase char print under the 386BSD shell, rather than go
backwards one char (it does delete a char backwards, it just doesn't
move the cursor backwards)?  I tried the -tn -tm and -cu options to xterm, but
I can't seem to get a destructive backspace (or kill).  Here's the output
of stty -a:

speed 9600 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo -echoe -echok -echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -mdmbuf -flusho -pendin
-nokerninfo -extproc
iflags: istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs
cflags: cread cs7 parenb -parodd hupcl -clocal -cstopb crtscts
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^H; intr = ^C; kill = ^U; lnext = ^V;
quit = ^\; reprint = ^R; start = ^Q; status = <undef>; stop = ^S;
susp = ^Z; werase = ^W;

Doubtless the answer is silly, but eludes me.  BTW, erase works fine in
vi or if I call a remote system via tip.  I am running X from the
console via xinit (that OK?) and 386BSD pl58+.  Thanks.
-Andrew Moore <alm@netcom.com>