X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=tabxaXJ+h1DvFID5w97wlCuTJ8HrKFesFzE1qggc8RC
	6P1kxQtaJhgH6WK83RuyUaDXC7AVBOuLir5dL7JLvXudJG7zNCwS8ohUBn7czWk/
	nc3SZH/SitUEqa2ydx19PhW9VIFfTM0lAvh29YbFA8EURvbhEP37NeK729idFOKk
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=iBZg+FcnhlINGnqkLGnV3LWL3Kc=; b=Pe03Mp81e2Vov5vsB
	QNOoqBRSFXi1SU3lb7uLeeISJDJrHEMvyC9hBh0qL1iHNBKVZCECOggM98Z2QA6T
	uOTaEYResEbEUt1FxuL7kxL0hVBQDLZpQJ/JllyanXZMwC66P2MtvG64fiLrGqOP
	iZcCiGV2S3tr64zwtxrV3NDmFo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_20,RDNS_DYNAMIC,SPF_HELO_PASS,SPF_PASS,TVD_RCVD_IP autolearn=no version=3.3.2
X-HELO: mail.acarver.net
Message-ID: <55427143.2060707@acarver.net>
Date: Thu, 30 Apr 2015 11:15:31 -0700
From: AC <cygwin62y9@acarver.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Terminal window hostname always showing
References: <553B4F0B.4080002@acarver.net> <55420ADE.8000609@dronecode.org.uk>
In-Reply-To: <55420ADE.8000609@dronecode.org.uk>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Ah, thanks I had no idea that -nohostintitle existed.  I did a lot of
searching online first before submitting the question so I should have
stumbled across that at some point.  As soon as I get back to that
machine I'll add the option.

I also appreciate the heuristic tweak.  A couple other machines will
benefit from it especially where the windows are very narrow.

On 2015-04-30 03:58, Jon TURNEY wrote:
> On 25/04/2015 09:23, AC wrote:
>> Is it possible to turn off the automatic hostname that the window
>> manager is adding to terminal windows?
> 
> Yes, use the X server option -nohostintitle.
> 
[trim]
> 
> Almost. When -hostintitle is enabled, the WM adds the contents of
> WM_CLIENT_MACHINE to the window title, unless it already seems to be there.
> 
> I've tried to tweak this heuristic a bit in X server 1.17.1-3 so that
> if WM_CLIENT_MACHINE contains something that looks like a FQDN, it only
> looks for the hostname part, not the whole thing.
> 


--
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

