Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Raspberry Pi port,
piCore-15.0
is available!
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
aterm title
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: aterm title (Read 5033 times)
florian
Full Member
Posts: 116
aterm title
«
on:
December 18, 2008, 07:04:04 PM »
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".
Logged
florian
Full Member
Posts: 116
Re: aterm title
«
Reply #1 on:
December 18, 2008, 07:11:57 PM »
Ok I've finally been able to find it out this on my own
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:
[Select]
PS1="\[\033]0;\u@\h: \w\007\]\u@\h:\w\$ "
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
aterm title