Tiny Core Base > TCB Q&A Forum

aterm title

(1/1)

florian:
How can I set aterm to have a title showing dynamic info like "tc@host:/current/path"?
aterm has a -title option but it accepts only something static, not something in "PS1 format".

florian:
Ok I've finally been able to find it out this on my own ;D
The following document explains about "xterm escape sequences"
http://www.faqs.org/docs/Linux-mini/Xterm-Title.html

Setting up my prompt this way makes my aterm title dynamic as I wanted:

--- Code: ---PS1="\[\033]0;\u@\h: \w\007\]\u@\h:\w\$ "

--- End code ---

Navigation

[0] Message Index

Go to full version