zsh-workers
 help / color / mirror / code / Atom feed
From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@sunsite.auc.dk
Subject: Re: Xterm Control Sequences in PROMPT
Date: 29 Dec 2000 03:29:13 GMT	[thread overview]
Message-ID: <slrn94o189.hc.mason@coral.primenet.com.au> (raw)
In-Reply-To: <20001228201950.A1431@idea.univ.run>

Teodor Knapik <knapik@idea.univ.run> 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; <something> BELL"
:in the propmpt, in order to write <something>
: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 : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff  : <gcw@zsh.org>


      parent reply	other threads:[~2000-12-29  3:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-28 16:19 Teodor Knapik
2000-12-28 17:42 ` Thomas Köhler
2000-12-29  3:29 ` Geoff Wing [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrn94o189.hc.mason@coral.primenet.com.au \
    --to=mason@primenet.com.au \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).