sleep_walker at suse.cz
Mon Mar 14 20:30:32 CET 2011
I started recently to modify the terminal behaviour for
shift+pageup/pagedown key presses in alternate screen mode. Since
alternate screen has exact size as visible part of terminal screen,
these key combintations doesn't have that good reason for history
scrolling. On the other hand it makes sense to send this event to
application running inside terminal. I see this as possibility for
programs like screen and tmux that they can provide history of their
terminal more naturally.
I'm attaching simple patch which introduces secondarySendScroll
resource support, which mostly does what I would like. Currently it
sends some bogus escape sequence until I find something better (any
ideas?). It is also enabled by default - I didn't find why and
shift+up/down doesn't work at all. I hope that the idea is clear.
I also sent patch for xterm, create bug reports for VTE (used by
gnome-terminal, xfce-terminal, ...) and for konsole. Linux virtual
terminal emulator doesn't support even alternate screen yet, but I'm
also working on that. I also contacted tmux lead developer and gnu
screen guys through mailing list.
I hope you're interested in such feature.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3384 bytes
Desc: not available
More information about the rxvt-unicode