Bug 359 - BS/DEL is still not quite right.
Summary: BS/DEL is still not quite right.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-04-24 13:00 UTC by Mark Murray
Modified: 1995-11-06 17:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Murray 1995-04-24 13:00:02 UTC
(Potential flamewar here :-( :-( )

With the syscons DEL/BS changes a week or 5 ago, it seems that maybe
something got left behind:

My <Backspace> or '<-' key generates BS (0x08 or ^H), but my session is still
assuming that the 'erase' charater is a DEL (0x7F or ^?). Here is the output
from stty -a straight after a login:

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

I think that the default 'erase' should agree with the definition of the
<Backspace>/<- key.

Fix: 

Dunno.
How-To-Repeat: 
Login and type stty -a, or try to erase/backspace in csh(1).
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 1995-11-06 17:19:34 UTC
State Changed
From-To: open->closed

So much water under that bridge that Mark will have to resubmit before we look 
at it again.