From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56887 invoked by alias); 25 Apr 2015 08:23:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 56876 invoked by uid 89); 25 Apr 2015 08:23:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC,SPF_HELO_PASS,SPF_PASS,TVD_RCVD_IP autolearn=no version=3.3.2 X-HELO: mail.acarver.net Received: from 108-95-189-245.lightspeed.irvnca.sbcglobal.net (HELO mail.acarver.net) (108.95.189.245) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 25 Apr 2015 08:23:44 +0000 Received: from data.acarver.net ([10.0.0.2]) by mail.acarver.net with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YlvNG-0006rY-JO for cygwin@cygwin.com; Sat, 25 Apr 2015 01:23:42 -0700 Message-ID: <553B4F0B.4080002@acarver.net> Date: Sat, 25 Apr 2015 08:23:00 -0000 From: AC 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: Terminal window hostname always showing Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-04/txt/msg00582.txt.bz2 Is it possible to turn off the automatic hostname that the window manager is adding to terminal windows? Right now, on any machine I log into, they all use escape sequences to set the title of the window. However, the window manager (not sure which I have, looks like xorg-server) on the Cygwin system is adding a hostname to the title. I'm using the bash escape sequence "\u@\h: \w" which is supposed to give me the user and the short name of the host (minus the domain) and the path. However, all my terminals on the Cygwin system end up like this: user@host: ~ @host.example.com If I change the escape sequence on the remote machine to use the full hostname, the result on the Cygwin system is: user@host.example.com: ~ It seems to me that the window manager is interpreting the data in the escape sequence and opting to put a hostname on the title if it can't find one that matches the connection. It does the same thing if I use -T/-n on the remote xterm command. I end up with something like title-used-on-command-line@host.example.com I've verified that it's Cygwin's window manager doing it by logging in from a regular Linux box and changing the title manually, no host name showing up. I'd like to stop this so the titles are what I set. This is the data from the xserver log: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.16.3.0 OS: CYGWIN_NT-6.1 data2 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) Package: version 1.16.3-1 built 2014-12-30 XWin was started with the following command line: /usr/bin/XWin :0 -multiwindow -nolisten tcp -auth -- 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