Force Backspace to BS on xterms.
This commit is contained in:
parent
171e5e8344
commit
8a32d5ff66
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue