Color and Multiline Prompt for Bash
tput
See: man tput
tput - ESC sequencies for terminal tput setf/seraf - tput sqr0
terminfo
man terminfo -
infocmp
man infocmp
XTerm Title
Window and icon titles may be changed in a running xterm by using XTerm escape sequences. The following sequences are useful in this respect:
- ESC]0;stringBEL −− Set icon name and window title to string
- ESC]1;stringBEL −− Set icon name to string
- ESC]2;stringBEL −− Set window title to string
where ESC is the escape character (\033), and BEL is the bell character (\007). Printing one of these sequences within the xterm will cause the window or icon title to be changed