Hello,

Here are two small patches I have made to the source in the latest 9.06
release, which I have found useful.

One tries to address the behaviour of pageup/down in perl tabbed mode, where
the terminal did not scroll when shift-pageUp/Down were hit when perl/tabbed
was activated and the mouse pointer was outside the terminal window.

The fix is done by changing the perl code rather than the C++ source like
was suggested in another post (that earlier fix didnt seem to work for me,
the scrolling was delayed or only worked some times). The patch attached
here just adds a $self->refresh to on_key_press in the perl code and seems
to work (although there might be som unforeseen problem; Im not fully
familiar with perl or with the perl extension mechanism used by
rxvt/unicode).


The other patch moves the icon file setting code from init.C into command.C,
attaching it an Xterm escape sequence (I chose 5 .. but thats arbitrary), so
that the icon file of the terminal can now be changed by echo -e
"\033]5;my_icon.png\007". I have found this very useful when using many
terminal windows, being able to set an icon for e.g. remote or root sessions
so I can easily find them when quickly scanning the taskbar.

The icon setting in init.C now merely does a process_xterm_seq, just like
the "set title" function, so there is no essentially new code; just some
rearrangement.

 Hopefully this might be considered a useful feature...

-- Robert

Attachment: patches.tar.gz
Description: GNU Zip compressed data

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to