RE: spaces in title of mintty command

2010-03-30 Thread Roe, Kevin L.
Thanks! > -Original Message- > From: Eric Blake [mailto:ebl...@redhat.com] > Sent: Tuesday, March 30, 2010 1:20 PM > To: cygwin@cygwin.com; Roe, Kevin L. > Subject: Re: spaces in title of mintty command > > On 03/30/2010 02:13 PM, Roe, Kevin L. wrote: > >

Re: spaces in title of mintty command

2010-03-30 Thread Eric Blake
On 03/30/2010 02:13 PM, Roe, Kevin L. wrote: > I played with the default prompt to understand how it got the titlebar > working because mine didn’t. I figured out which part does it: > \[\e]0;$(pwd)\a\]\n > Where: > \[ Tell bash that you are starting a sequence of non-printing characters, that s

RE: spaces in title of mintty command

2010-03-30 Thread Roe, Kevin L.
> > mintty -t "one two"result: no title > > mintty -t 'one two'result: no title > > Works fine for me. Please note that bash's default prompt (i.e. the > PS1 variable) sets the terminal title to the current working > directory, thus overwriting anything you set with the -t option. Ok,

Re: spaces in title of mintty command

2010-03-30 Thread Andy Koppe
Roe, Kevin L.: > I have been trying to get the title for mintty to work. > > Specifically, I want a title with spaces. > > I have tried: > > mintty -t one two      result:  obviously didn't work.  It bombed. Because 'one' is takes as the title, and 'two' as a command to execute. > mintty -t "one