screen-users
[Top][All Lists]
Advanced

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

Re: Few feature requests


From: Michael Schroeder
Subject: Re: Few feature requests
Date: Mon, 1 Aug 2005 14:41:07 +0200
User-agent: Mutt/1.4.2.1i

On Sun, Jul 31, 2005 at 10:26:18PM -0400, Raymond Page wrote:
> 1)
> With screen there is a problem with keybinds when the following
> conditions arise:
> xterm is using UTF-8 fonts and the following resources are set (which
> I think is the default for xterm):
> metaSendsEscape = false
> eightBitInput = true
> 
> When cycling between windows, extra characters are deposited on the
> command line.  I hope that screen can be patched without too much pain
> to fix this.
> 
> My keybinds that show the error are:
> # Change to left/right window in relation to current window (wraps on edges)
> # ALT-,.
> bindkey "?" prev
> bindkey "(r)" next
> bindkey "^[," prev
> bindkey "^[." next

Hmm, can anybody else reproduce this?

> 2)
> Implementing a keybind to shift windows left/right one window (using
> the number command) is not possible as the "number" command does not
> change the environment variable of $WINDOW to reflect its new numeric
> position.  I think that when the number command is issued, it should
> modify the shell environment such that $WINDOW in the source and
> destination are swapped.  This may not be possible if screen cannot
> modify the running environment of a shell.

Sorry, a process cannot modify the environment of another process.

> 3)
> This is my last thing...and it has to do with a new string escape.  I
> want a %-F or %!F to expand to true when a window does *not* have
> focus.  This would allow the following types of sequences:
> "%?%F%:non-focused window string escapes%?"
> "%?%-F%:focused window string escapes%?"

This is acually already implemented. I also chose '%-F'. ;-)

Cheers,
  Michael.

-- 
Michael Schroeder           address@hidden
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}




reply via email to

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