On 06/02/2010 13:55, Dominic Fandrey wrote:

> Nice, but I need something that works with base system
> components. Like an escape sequence that causes the terminal
> to reset its title.

Something like this for tcsh:

set prompt = '%{\033]0;%...@%m:%/\007%}%B%m%b:%c03:%# '

Sets the window title to 'u...@hostname:/current/directory'.  Porting
this escape sequence to other shells left as an exercise for the student.

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.              7 Priory Courtyard, Flat 3
Black Earth Consulting                       Ramsgate
                                             Kent, CT11 9PW
Free and Open Source Solutions               Tel: +44 (0)1843 580647

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to