Friday, April 27, 2007

Command Line Screen Sharing

To share the command line screen with another terminal, it's actually fairly simple with GNU Screen. Suppose both have the same ID. At one terminal, type:

$ screen -S Test -U -t Test

At the other terminal, type:

$ screen -x Test

Voila, you get the second terminal to show the screen of the first one.

More info can be found here.

Friday, April 13, 2007

Python Source File Encoding

# -*- coding: utf-8 -*-

or

# -*- coding: iso-8859-15 -*-