Hi! While investigating my cursor position issues in that Gentoo bug report about which I wrote recently, I found need to have a look at the raw PTY conversation between rxvt-unicode and bash. There already exists a HOOK_TT_WRITE for all data written to the pty, but a corresponding HOOK_TT_READ was missing, you could only get at interpreted data.
Adding the hook was incredibly easy, however, so if someone is interested, here is the patch: http://bugs.gentoo.org/attachment.cgi?id=128430 Currently there is no way for the plugin to consume the event. I haven't needed this yet. If someone does, it should be possible, although probably with significantly more work than those two lines I added, especially if you want to feed a modified version back instead. By the way, some of the cursor position strangeness seems to come from the fact that in the termcap file, cub1=^H which is C0_BS and causes scr_backspace to go back even over linewraps, whereas cuf1=\E[C which matches CSI_CUF and causes scr_gotorc to clamp the resulting column. Is this asymmetry intended? Greetings, Martin von Gagern
signature.asc
Description: OpenPGP digital signature
_______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
