zsh-workers
 help / color / mirror / code / Atom feed
* escape sequences after upgrading
@ 2013-07-17 16:40 Andrew McNabb
  2013-07-17 18:53 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew McNabb @ 2013-07-17 16:40 UTC (permalink / raw)
  To: zsh-workers

After upgrading my system, I found that every time I change a directory,
zsh spits out an escape sequence that isn't recognized by my terminal.
For example:

amcnabb@sage:/ :) cd /etc
^[]7;file://sage.aml.cs.byu.edu/etc%
amcnabb@sage:/etc :)

The sequences appear on the screen with lxterminal and xfce4-terminal,
though with gnome-terminal they seem to be interpreted by the terminal.

While there may be a bug in lxterminal and xfce4-terminal, I'm surprised
that these sequences started appearing all of a sudden and that I can't
find any way to disable them.  I've tried all of the following:

precmd() {}
preexec () {}
chpwd () {}

but the sequences keep on getting printed out.  Am I missing something
obvious about how to disable this, or is there by any chance a bug in
zsh involved?  I'm running zsh-5.0.2-4.fc19.x86_64.  Thanks.


--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: escape sequences after upgrading
  2013-07-17 16:40 escape sequences after upgrading Andrew McNabb
@ 2013-07-17 18:53 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2013-07-17 18:53 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

On Wed, Jul 17, 2013 at 9:40 AM, Andrew McNabb <amcnabb@mcnabbs.org> wrote:

> After upgrading my system, I found that every time I change a directory,
> zsh spits out an escape sequence that isn't recognized by my terminal.
>

Ultimately this points to either a wrong terminfo entry for the terminal
you are using (possibly the value of $TERM is wrong?) or a shell setting
that assumes all terminals understand all the same escape sequences.  I've
never encountered ESC ] 7 ; before, though.

If this happens only after "cd", check the value of  $chpwd_functions for
culprits.

If this is happening with other commands as well, check $PROMPT_EOL_MARK
and the setting of the PROMPT_SP option.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-17 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-17 16:40 escape sequences after upgrading Andrew McNabb
2013-07-17 18:53 ` Bart Schaefer

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).