Skip to content


Fix GNU Screen backspace misinterpretation

GNU Screen is one of the most useful application for a system administrator. It is almost necessary when combined to SSH access but it is often subject to terminal emulator bugs and non standard compliance.

If you are running an Apple Macintosh, you are probably using iTerm.app as terminal emulator instead of Terminal.app, because it is more polished and more Apple like (blur and transparency docet).
Unfortunately iTerm, SSH and GNU screen over Ubuntu combination is not so happy and GNU Screen doesn’t detect backspace correctly as it decodes it to delete command.

How to fix? Well just create a new .screenrc in your home directory and put these lines inside:
bindkey -d ^? stuff ^H
bindkey -d ^@ stuff ^H

Restart screen and have fun ;)

  • Share/Bookmark

Related posts:

  1. How to fix Finder, Dock or menubar crashes in Mac OS X? Apple Mac OS X has a good reputation but sometimes...
  2. How to fix Firefox and Java crashes on Mac OS X Mozilla Firefox’s crashes are quite common problem on Mac OS...
  3. How to add an IP alias to a network interface in Mac OS X Sometimes you may need to add another IP to a...
  4. Batch resize images in Apple Preview I needed a quick way to resize images in batches,...

Related posts brought to you by Yet Another Related Posts Plugin.

Posted in Apple, Linux, Mac OS X. Tagged with , , .

3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Don-Duong Quach said

    Wow that worked! Thank you!

  2. Ah yes, thanks.

Continuing the Discussion

  1. Long-term Memory » Blog Archive » Backspace in Screen over SSH from MacOSX linked to this post on March 28, 2009

    [...] blog telling to do remapping inside screen with [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.