delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/18:20:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <BAY10-F2FB4287A85BB532D01AEEE90F0@phx.gbl>
X-Originating-Email: [linq936 AT hotmail DOT com]
X-Sender: linq936 AT hotmail DOT com
From: "lin q" <linq936 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: how to change the window title dynamically
Date: Thu, 26 May 2005 16:19:49 -0600
Mime-Version: 1.0
X-IsSubscribed: yes

Hi,
  I wonder how to change the window title synamically like command prompt to 
list the full path? Google returns me such command,

print -nP -u2 "\033]0;%n@%m:%~\a"


But "print" is not recognized, I tried printf, it says -n and -u not 
recognized.

Thanks.

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019