On Mon, 28 Apr 2008, Sven Hartge wrote:

Um 06:41 Uhr am 27.04.08 schrieb Thomas Dickey:

The problem: since the update, Pos1 and End don't work anymore inside
screen. The only changes between a working and a buggy environment are:

thanks - will check.  I would have noticed this, but rxvt + screen on
my Debian/testing doesn't work together.  The underlying problem is that
some keys (home/end, etc) are #define'd in rxvt's sources and won't
necessarily match on other systems.

Interesting. I use

rxvt-xpm -geometry 99x35 -bg black -fg grey67 -fn
-misc-fixed-medium-r-normal-*-*-200-*-*-c-*-iso8859-15 -sr -sl 5000 -ls

and never had any problems with screen (on a remote server connected via
ssh) until now.

Odd - it's working at the moment, but consistently refused to start
screen last week.   So I can give more info:  on my keyboard, I have
keys labeled Home/End, which I suppose are equivalent to Pos1/End that
you're referring to.  tack says they're kfnd/kslt (Find/Select).  That's
within screen.  Outside, they're khome/kend.

But the terminfo has both defined. What I suppose is happening is that 'screen' (based on termcap interface) is choosing one, and tack (based on terminfo) is choosing the other.

curses-based apps would choose the first entry in the table of strings- I don't recall if tack uses that rule. screen has its own tables.

So it'll take a little study to see how to appease screen in this area.
(The screen.rxvt already accounts for the differences that I did notice,
e.g., screen is mapping F1-F4).

If you tell me, how to display the different codes Pos1 and End produce
with TERM=screen and TERM=screen.rxvt, I may me able to aid your debugging
efforts.

The easy way is to run "cat -v", and type the keys you're looking for.
That would echo things like ^[[A^[[C^[[B

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



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to