On Tue, 9 Sep 2003 21:50:16 -0700 Eric Huff <[EMAIL PROTECTED]> uttered:
> Here is another cool thing: you can have the prompt set the title of > the xterm for you. > This way, in the taskbar i see the path 1st, so when there's a bunch > of them open, i know which is which. > > > #PS1="\[\033]0;\w: \u\007\] <-- sets title |||| sets prompt --> > # > #\[\033[33m\]\w \$ " > > if test "$(tty | grep -c /dev/pts/)" != "0" ; then # if in X11 > PS1="\[\033]0;\w: \u\007\]\[\033[33m\]\w \$ \[\033[0m\]" > else > PS1="\[\033[32m\]\w \$ \[\033[0m\]" # if in text > mode, > there is no title > fi > > here is the explanation: http://www.tldp.org/HOWTO/Xterm-Title.html assuming you use a taskbar, or even titlebar, you Pekwm traitor! ;-) -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++++++++++++++++++++++++++++++++++++++++++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++++++++++++++++++++++++++++++++++++++++++ You have all eternity to be cautious in when you're dead. -- Lois Platford
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com