Bug 20138

Summary: editline does not restore previous state
Product: Base System Reporter: oota <oota>
Component: binAssignee: Andrey A. Chernov <ache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description oota 2000-07-24 12:50:01 UTC
editline does not restore previous state.

How-To-Repeat: stty -onlcr -echo
stty -e >s1

/usr/bin/ftp
ftp> quit

stty -e >s2
diff -u s1 s2

--- s1  Mon Jul 24 20:47:29 2000
+++ s2  Mon Jul 24 20:47:42 2000
@@ -1,10 +1,10 @@
 speed 9600 baud; 33 rows; 105 columns;
-lflags: icanon isig iexten -echo echoe -echok echoke -echonl echoctl
+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
+oflags: opost onlcr oxtabs
 cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
        -dtrflow -mdmbuf
 discard dsusp   eof     eol     eol2    erase   intr    kill    lnext
Comment 1 Andrey A. Chernov freebsd_committer freebsd_triage 2000-07-28 01:07:49 UTC
State Changed
From-To: open->closed

Fixed in libedit/tty.c v1.5
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2000-07-28 17:02:46 UTC
State Changed
From-To: closed->suspended

Suspended util merge to -stable 
Comment 3 Andrey A. Chernov freebsd_committer freebsd_triage 2000-08-16 16:07:12 UTC
State Changed
From-To: suspended->closed

Merged into -stable 


Comment 4 Andrey A. Chernov freebsd_committer freebsd_triage 2000-08-16 16:07:12 UTC
Responsible Changed
From-To: freebsd-bugs->ache