misc/117492: reset(tset) doesn't restore erase token

Yuri yuri at tsoft.com
Thu Oct 25 09:50:01 PDT 2007


>Number:         117492
>Category:       misc
>Synopsis:       reset(tset) doesn't restore erase token
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 25 16:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        6.2-STABLE
>Organization:
n/a
>Environment:
>Description:
I work in bash (in X).
Vim editor is opened with some file.
When I kill vim (from some other terminal) many options on this terminal get trashed. For example when I press <Enter> another prompt occurs in the same line.

When I run 'reset' all options get restored but one: erase functionality doesn't work. Backspace key doesn't delete, but prints something instead.
So I have to run 'stty erase ^?' and then the problem is gone.

I believe the effect of 'stty erase ^?' should be included in 'reset' command. This should be fixed.

Also when the terminal sees that some child was killed by a signal isn't it supposed to restore the terminal options to the ones that were there before?
Somehow the problem doesn't happen when vim is being sent to background. So terminal does restore options when the process goes into the background but doesn't when the process is killed. This should be fixed.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list