From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7784 invoked from network); 3 Aug 2000 11:18:32 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Aug 2000 11:18:32 -0000 Received: (qmail 22204 invoked by alias); 3 Aug 2000 11:17:01 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3356 Received: (qmail 22190 invoked from network); 3 Aug 2000 11:16:53 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "ZSH users mailing list" Subject: Setting window titile under Cygwin Date: Thu, 3 Aug 2000 15:16:41 +0400 Message-ID: <000901bffd3c$4ce75f80$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Just in case anybody else did not know it. Under Cygwin you can set window title with the same sequence as in xterm: ESC ] O ; ... ^G (replace ... with your title). So I currently use this in my chpwd() function for almost all types of terminals I have: print -nP -u2 "\033]0;%n@%m:%~\a" Enjoy :-) -andrej Have a nice DOS! B >>