It's really simple to fix, but rather annoying. I'm using Debian and Ubuntu and SSH to my boxes from OSX.
The steps to clean this are:
echo 'bindkey ^? stuff ^H' >> /etc/screenrc
You may also want to know you're in screen from the prompt. Add this to the beginning of your PS1:
$(test $TERM == 'screen' && echo '{screen}')
Finally, if you have a PROMPT_COMMAND variable, you may want that to be run from within screen too.
No comments:
Post a Comment