Sunday, August 17, 2008

xterm trick

How can I tell which xterm window is which ? If you create multiple xterms (by tapping "New Window"), they are all called "osso_xterm", making it hard to switch back and forth. Fortunately, osso_xterm understands the standard xterm escape sequences for renaming the window. This script lets you change the window name from the command line:

#!/bin/sh
echo -ne "\033]0;$*\007"
call it "icon", or somthing
so I can type "icon root", "icon xterm two" etc.

credit to

http://andrew.daviel.org/N810-FAQ.html

No comments: