X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG40,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 30 Mar 2010 19:54:10 +0100 Received: by 10.239.137.71 with SMTP id k7mr664132hbk.29.1269975250110; Tue, 30 Mar 2010 11:54:10 -0700 (PDT) Message-ID: <416096c61003301154m5fe3ad27t52114493d7b85240@mail.gmail.com> Subject: Re: spaces in title of mintty command From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 =C2=A0 =C2=A0 =C2=A0result: =C2=A0obviously didn't work= . =C2=A0It bombed. Because 'one' is takes as the title, and 'two' as a command to execute. > mintty -t "one two" =C2=A0 =C2=A0result: =C2=A0no title > mintty -t 'one two' =C2=A0 =C2=A0result: =C2=A0no 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. > mintty -t `one two` =C2=A0 =C2=A0result: =C2=A0Same as no quotes Because that tries to run 'one' as a command. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple