misc/117492: reset(tset) doesn't restore erase token
yuri at tsoft.com
Thu Oct 25 09:50:01 PDT 2007
>Synopsis: reset(tset) doesn't restore erase token
>Arrival-Date: Thu Oct 25 16:50:00 UTC 2007
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.
More information about the freebsd-bugs