rxvt win32 fixes

Christian LESTRADE christian.lestrade@free.fr
Wed Jan 23 12:40:00 GMT 2002


Hello,

I would like to submit two improvements to the Win32 port of rxvt 2.7.2:

1) In the file W11/w32/xlib.c, function XClearArea, the area cleared is
    one pixel too large (vertical and horizontal) -> some characters in
    the rxvt window loose pixels

2) Let rxvt handle the Backspace key the same way as in X11: pass the
    key as XK_BackSpace, so rxvt can recognize the current tty mode and
    so we can use the following rxvt escape sequences to choose the backspace
    char:
       To set BackSpace = ^H : echo -e '\033[?67h'
       To set BackSpace = ^? : echo -e '\033[?67l'


There are some little improvements to do, which belong to the main source code:
- Set erase key of a new terminal window to the current BackSpace value,
   when not started by another terminal window
- BackSpace and SHIFT BackSpace should send the same character


Note:
My patch restores the original BackSpace behaviour: by default, as described
in the rxvt documentation, BackSpace sends the DEL (^?) character
instead of (^H).


Regards,
Christian LESTRADE
mailto:christian.lestrade@free.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rxvt-w32.patch
Type: application/octet-stream
Size: 2161 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020123/b22a5c56/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list