From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22516 invoked from network); 18 Dec 2000 10:17:53 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Dec 2000 10:17:53 -0000 Received: (qmail 9425 invoked by alias); 18 Dec 2000 10:17:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13293 Received: (qmail 9418 invoked from network); 18 Dec 2000 10:17:35 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: , Subject: RE: xterm title setting Date: Mon, 18 Dec 2000 13:17:29 +0300 Message-ID: <000f01c068db$b9ed7f50$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <200012181004.LAA99550@numa1.igpm.rwth-aachen.de> this works for me with (no on Linux but in xterm): precmd () { print -nP -u2 "\033]0;%n@%m:%~\a" } I used to used chpwd as well, but it has some nasty drawbacks. The main problem is, that title won't be restored if some program changes it. "Some program" may be zsh as well :-) -andrej > -----Original Message----- > From: jarausch@igpm.rwth-aachen.de [mailto:jarausch@igpm.rwth-aachen.de] > Sent: Monday, December 18, 2000 1:04 PM > To: zsh-workers@sunsite.auc.dk > Subject: xterm title setting > > > Sorry, this is a bit offtopic. > > I am looking for a method to set the title of > and xterm (and its icon) with the chpwd function. > This works just fine on my IRIX box, but at home > on my Linux box it won't work as described in the > intro.ms document. I've searched the docs for the > xterm control sequences (it looks like those mentionend > in intro.ms) but it just doesn't work. > Maybe the print -Pn doesn't get where it's assumed to. > > One more question. > Does anybody know how to make the Backspace key > work like ^H on a Linux system console (it works > within an xterm). > > Thanks for any hints, > > Helmut Jarausch > Lehrstuhl fuer Numerische Mathematik > Institute of Technology, RWTH Aachen > D 52056 Aachen, Germany > >