Backspace in Screen

I finally got sick of hitting Ctrl-H to backspace while in a screen session today, so I found a way around it:

Try editing

~/.bashrc

And adding:

alias screen='TERM=screen screen'

Not sure if this has adverse effects and there might be a better way to do it, but hey, it works!

Share:
  • del.icio.us
  • Reddit
  • Technorati
  • Twitter
  • Facebook
  • Google Bookmarks
  • HackerNews
  • PDF
  • RSS
This entry was posted in sysadmin. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
  • Matt Pulver

    That works for me too.

    Prompted by your post, I tried to see if there was a more natural way of achieving this by editing the screenrc config file(s). I wasn’t able to find a cleaner solution than this. If you (or anyone) finds such a way, I would be interested.

    Thanks; now I don’t have to see the Wuff Wuff!! any more :)