It is currently Tue, 07 Dec 2021 02:10:44 GMT

Author Message
 Using tcsh prompt string in xterm title
Dear group subscribers:

I want to use the tcsh prompt information:

set ellipsis
set prompt = "%c03 "

to set my xterm title:
echo -n "^[]2;${USER}@${HOST}:<prompt string goes here>^G"

The desired result is to keep my xterm title from getting too long for
the window:

instead of the full directory path with $cwd
echo -n "^[]2;${USER}@${HOST}:$cwd^G"

but more information than with $cwd:t

How do I get my prompt string using the tcsh prompt controls (%c03) to
appear in my xterm title?

Thank you in advance for your feedback.


 Tue, 22 Aug 2006 08:58:53 GMT   
   [ 1 post ] 

Similar Threads

1. Prompt string to change xterm title?

2. active xterm and dtterm title string

3. How to change xterm title bar string?

4. Xterm's and dynamic title strings

5. setting xterm title in tcsh

6. change xterm title from unix prompt

7. tcsh xterm title bar quoting

8. quoting for prompt or xterm title in csh

9. display pwd in xterm title bar with tcsh

10. Display ksh prompt in xterm title problem

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software