On Thu, Feb 17, 2005 at 04:12:49PM +0100, Al Elgert wrote: > Hello, > > you can change the title with this command (if the term supports it): > > echo -en "\033]0;--- $HOSTNAME $TERM $$ ---\007" > ^^^^^^^^^^^^^^^^^^^^^^^^^^
May be I'm don't explained clearly enough. I need dynamic title, not static. For example, I type: $some_ncurses_appname -arg1 -arg2 <CR> And after I pressed enter key I want xterm title changed to: "-=xterm=- myhost.mydomain: some_ncurses_appname -arg1 -arg2". zsh uses preexec() builtin function to accomplish this - a function which is just before a command is executed, and I haven't found any way to do this in bash. Look at http://www.tldp.org/HOWTO/Xterm-Title-6.html if I'm again not described my problem clearly enough. Thank you, and have a nice day. _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash