Force Backspace to BS on xterms.

This commit is contained in:
hjp 2005-02-03 16:13:40 +00:00
parent 171e5e8344
commit 8a32d5ff66
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ then
then then
export DISPLAY=${REMOTEHOST}:0.0 export DISPLAY=${REMOTEHOST}:0.0
fi fi
#stty erase  # force backspace key to send BS:
# warning: This works with real xterm and rxvt
# it doesn't work with konsole or gnome-terminal.
echo '[?67h'
stty erase 
else else
prompt="%B%m:%~ %T %h%# %b" prompt="%B%m:%~ %T %h%# %b"
fi fi