From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22501 invoked from network); 18 Dec 2000 10:17:02 -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:02 -0000 Received: (qmail 9106 invoked by alias); 18 Dec 2000 10:16:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13292 Received: (qmail 9099 invoked from network); 18 Dec 2000 10:16:42 -0000 Date: Mon, 18 Dec 2000 11:16:37 +0100 From: Ollivier Robert To: zsh-workers@sunsite.auc.dk Subject: Re: xterm title setting Message-ID: <20001218111636.A1355@caerdonn.eurocontrol.fr> Mail-Followup-To: zsh-workers@sunsite.auc.dk References: <200012181004.LAA99550@numa1.igpm.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012181004.LAA99550@numa1.igpm.rwth-aachen.de>; from jarausch@igpm.rwth-aachen.de on Mon, Dec 18, 2000 at 11:04:06AM +0100 X-Operating-System: FreeBSD 5.0-CURRENT According to jarausch@igpm.rwth-aachen.de: > Maybe the print -Pn doesn't get where it's assumed to. I use this: -=-=- if [ x$TERM != x ]; then if [ $TERM = xterm -o $TERM = xterm-color ]; then chpwd() { print -n -P "\033]2;%n@%M:%/ - tty%l\007\033]1;tty%l@%m\007" } fi PS1="%h [%T] %B%n%b@%m:%B%2.%(#.#.>)%b " export PS1 -=-=- -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- roberto@eurocontrol.fr The Postman hits! The Postman hits! You have new mail.