zsh-workers
 help / color / mirror / code / Atom feed
From: Richard Coleman <coleman@math.gatech.edu>
To: zsh-workers@math.gatech.edu
Subject: forwarded message
Date: Fri, 20 Jun 1997 14:32:23 -0400	[thread overview]
Message-ID: <199706201832.OAA11300@cauchy.skiles.gatech.edu> (raw)

This came through on zsh-workers-request.

/rc

------- Forwarded Message

Date: Fri, 20 Jun 1997 14:26:10 -0400 (EDT)
From: Ollivier Robert <roberto@keltia.freenix.fr>
To: zsh-users-request@math.gatech.edu
Subject: [3.1.1-beta] bug with %{...%} ?

Hi everyone,

Using the Jan. 28th version of 3.1.1-beta, I've tumbled on something I
think may be a bug. It also happens with the previous version I compiled
(3.0.2).

In brief, it seems that %{...%} is not working properly inside PS1.

In tcsh, I use

set prompt="%{\033]2;%n@%M:%/ - %l\007\033]1;%l@%m\007%}%h [%T] %B%n%b@%m:%B%.2%#%b "

to set my xterm icon name & title and prompt.

If I try to use the same kind of strings for zsh, the %{...%} doesn't seem
to be really interpreted as I'd expect and I get this:

\033]2;roberto@keltia.freenix.fr:/build/zsh-3.1.1 - p2\007\033]1;p2@keltia\007203 [20:14] roberto@keltia:zsh-3.1.12% 

Is this a bug or did I miss somewhere in the documentation (I've read it)
the correct way to use "%{...%}" ?

If this is fixed in a later version, I'll upgrade of course.

Thanks,

PS: I'm not on the list so please remember to me put in Cc:, thanks.
- -- 
Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr
Usenet Canal Historique

------- End of Forwarded Message


             reply	other threads:[~1997-06-20 18:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-20 18:32 Richard Coleman [this message]
1997-06-21 15:15 ` Zefram
1997-06-21 15:20   ` Hrvoje Niksic
1997-06-21 15:25     ` Zefram
1997-06-21 15:35       ` Hrvoje Niksic
1997-06-21 15:45         ` Zefram
1997-06-21  1:48 Wez Furlong

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=199706201832.OAA11300@cauchy.skiles.gatech.edu \
    --to=coleman@math.gatech.edu \
    --cc=zsh-workers@math.gatech.edu \
    /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).