On Tuesday, September 24, 2002, at 05:48 AM, Susan G. Conger wrote:
Is there a way to send a command to the terminal to set the title and
change the color of the text?
I use the following 'prompt' value (environmental variable 'PS1'). This
sets my prompt and sets the title of the window to include the current
working directory. This uses 'bash'-specific coding (things like "\h"
for hostname). Similar effects are available with other shells. The
escape sequences are ANSI (\[\033...).
PS1=\[\033[0[\033]0;\u@\h:\w\007\]<\u@\h:\W>
I'm not sure if that's what you want.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.