>
> erase seems to be set to ^H. When you run cat(1) and press DEL what
> does your terminal show? My cons25 terminal shows:
>
> keramida@hades[19:34]/home/keramida$ cat
> ^?
Mine shows ^[[3~
>
> Are you resetting any of erase or erase2 in your shell startup files
> with stty?
There is a statement in the /etc/bashrc file:
stty erase `tput kbs`
It appears twice in the file:
stty erase `tput kbs`
When I run tput kbs, nothing is displayed. Below is a snippet from the
bashrc file with the conditionals.
# are we an interactive shell?
if [ "$PS1" ]; then
if [ -x /usr/bin/tput ]; then
if [ "x`tput kbs`" != "x" ]; then # We can't do this with "dumb"
terminal
stty erase `tput kbs`
elif [ -x /usr/bin/wc ]; then
if [ "`tput kbs|wc -c `" -gt 0 ]; then # We can't do this with
"dumb" terminal
stty erase `tput kbs`
fi
fi
fi
Michael
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message