How to set the titile of the terminal?# Unix - 噫吁兮,危乎高哉
d*t
1 楼
How to set the titile of the terminal. I used Solaris and Linux system. The
dtterm are used.
Normally, the title of the terminal is just a terminal. I would like to set it
title to the form like this:
Terminal [email protected]:path.
I don't want to set this information in the prompt in command line, for it is
too long for a terminal. In the command line, I would like the prompt like
this:
[email protected]_number% or so.
Then how to do it?
Thanks a lot.
dtterm are used.
Normally, the title of the terminal is just a terminal. I would like to set it
title to the form like this:
Terminal [email protected]:path.
I don't want to set this information in the prompt in command line, for it is
too long for a terminal. In the command line, I would like the prompt like
this:
[email protected]_number% or so.
Then how to do it?
Thanks a lot.