From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 631 invoked from network); 29 Dec 2000 03:29:31 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Dec 2000 03:29:31 -0000 Received: (qmail 22278 invoked by alias); 29 Dec 2000 03:29:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13319 Received: (qmail 22271 invoked from network); 29 Dec 2000 03:29:20 -0000 To: zsh-workers@sunsite.auc.dk Path: mason From: mason@primenet.com.au (Geoff Wing) X-Newsgroups: lists.zsh.workers Subject: Re: Xterm Control Sequences in PROMPT Date: 29 Dec 2000 03:29:13 GMT Organization: PrimeNet Computer Consultants Distribution: local Message-ID: References: <20001228201950.A1431@idea.univ.run> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 978060553 557 203.43.15.2 (29 Dec 2000 03:29:13 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 29 Dec 2000 03:29:13 GMT User-Agent: slrn/0.9.6.3 (NetBSD) Teodor Knapik typed: ^^^^^^^^^^^^^^^^^^^^ really: knapik@univ-reunion.fr :I am running zsh-3.1.9 under Linux (Mandrake 7.2) :on an i686 and I would like to put a control :sequence for xterm, namely, "ESC ]2; BELL" :in the propmpt, in order to write :to the title bar of the window. Unfortunately, :it makes troubles with the line editor :(I am in emacs mode). Sequences in the prompt which don't cause cursor movement need to be enclosed within %{ and %} sequences. See "PROMPT EXPANSION" in the manual. Also, the proper sequence terminator is 0x9c (8bit) or ``ESC \'' 0x1b 0x5c (7bit). BEL (0x07) is not a standard terminator. You may also look at precmd() or similar as an alternative to using the prompt. :Could you, please, inform me in the case someone :fixes the bug for a future release ? No, nobody's going to bother replying to invalid email addresses. Regards, -- Geoff Wing : Rxvt Stuff : Zsh Stuff :