vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Xterm titel issue


From: Thomas Dickey
Subject: Re: [vile] Xterm titel issue
Date: Fri, 14 Aug 2009 06:54:16 -0400 (EDT)

On Fri, 14 Aug 2009, Paul van Tilburg wrote:

On Fri, Jun 12, 2009 at 04:51:34PM -0400, Thomas Dickey wrote:
On Fri, 12 Jun 2009, Paul van Tilburg wrote:
I have a set of macros like this and it seems shell-command ruins it.
Possible because my shell (zsh) also sets titles, although it should
have address@hidden:<cwd> as title, not a program it runs.
The macros using capture-command work fine.

Probably the output isn't flushed completely.

I implemented a test-macro for some of the filtering stuff recently
using shell-command, and made the "~hidden" and "~quiet" modifiers
suppress the prompt for "press-return-to-continue" which also can
help in this area.

So you are suggesting that I modify my macros?
I'm still not sure how to make the problem go away :)

Looking now, I see a problem (which you could work around in macros).
When vile spawns out a subprocess, it resets the title to match $TERM.
When it comes back, it doesn't do anything with the title.
In display.c update(), it sets the title if the $title variable does not
match the last value that update() used.

So... I'll fix that (by ensuring setting title to match $TERM will later
force update() to restore it).

You could work around by making the macro set $title to some other value before the capture-command, and then back to the original value afterwards - not really a good fix.

I hadn't noticed since the feature isn't working in screen (I forget
whether that's a screen-configuration issue, or whatever).


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]