On Fri, Jul 25, 2008 at 1:06 AM, Joe Zbiciak <[EMAIL PROTECTED]> wrote: > > This may be a silly question, but how does "screen" decide that the > attaching terminal supports capturing mouse events? It could be that > nano says it's interested, but screen thinks they're not available. > > I'm no expert in the screen code base, but is this where? > > if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt")) > D_CXT = 1;
I should add that I say this due to this code elsewhere: void MouseMode(mode) int mode; { if (display && D_mouse != mode) { char mousebuf[20]; if (!D_CXT) return; if (D_mouse) { sprintf(mousebuf, "\033[?%dl", D_mouse); AddStr(mousebuf); } if (mode) { sprintf(mousebuf, "\033[?%dh", mode); AddStr(mousebuf); } D_mouse = mode; } } -- We sell spatulas, and that's all! http://spatula-city.org/~im14u2c/ http://spacepatrol.info/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users