Tiny Core Base > TCB Q&A Forum

aterm title


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".

Ok I've finally been able to find it out this on my own ;D
The following document explains about "xterm escape sequences"

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 ---


[0] Message Index

Go to full version