FearAndLoath.Us

Fear Computers. Loath Software. We are your Masters.

Monday, December 22, 2008

Pimp my Screen

 For all those who like the terminal application “screen”, but didn’t know how to turn on some of its cool features.

http://blog.dustinkirkland.com/2008/12/ubuntu-server-includes-window-manager.html

To install a package built for Ubuntu, look in this PPA (Personal Package Archive).

To download the source code, run

bzr branch lp:screen-profiles

To build your own deb pkg:

  1. cd screen-profiles
  2. dpkg-checkbuilddeps
    (This will tell you if you are missing any build dependencies without all the extra info that debuild spews out.)
  3. Install any missing dependencies.
  4. debuild
  5. cd ..
  6. sudo dpkg -i screen-profiles_1.2_all.deb

To run it:

  1. select-screen-profile (This will prepend a line to your ~/.screenrc file.)
  2. screen

Troubleshooting:

  • The Terminal app on MacOSX, sets the TERM env var to “xterm-color”, which will cause screen use a different code for the delete/backspace key and the fkeys than is needed (I don’t know who is in the wrong here). You can get around this problem by running: TERM=xterm screen
  •  If you are familiar with screen, the normal escape key to run screen commands is CTRL-a. This is changed to CTRL-g in screen-profiles, unless you are remapping it yourself further down in your ~/.screenrc file.
posted by admin at 10:41 am  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress