This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setting the bash titlebar on CYGWIN using escape ansi chars


I actually placed something similar in my /etc/profile:
export PS1='\[\033]0;\h:\w\007
\u@\h \w
$ '

On Tue, 20 Nov 2001 09:30:18 -0800 (PST), michael dupont wrote:

>Dear All,
>
>Here is a little script that i have been putting
>togeather from the mailling lists:
>
>echo -e "\033]0; COMMAND $0 $*  \007";
>
>if you put this at the head of a script, it will set
>the title to the process name and parameters.
>But, how can I do this as a separate script that can
>be called?
>
>
>Mike
>
>
>=====
>James Michael DuPont
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
>http://geocities.yahoo.com/ps/info1
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]