X-Recipient: archive-cygwin@delorie.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: <C742AC34C772EC4BAAF642C22E6079D301211253F002@NSPEXMBX-A.the-lab.llnl.gov>
References: <C742AC34C772EC4BAAF642C22E6079D301211253F002@NSPEXMBX-A.the-lab.llnl.gov>
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 <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

