On Wed, Dec 31, 2008 at 12:07:25AM +0000, Dave Wood wrote: > For some reason gpm mouse does not work when I run vim in a screen. It > works fine outside of screen. Is there some setting I need to use? [...]
In order to talk to the GPM daemon, vim must know what virtual console it is in. In screen, the tty is no longer /dev/tty<n>, but /dev/pts/<x> or /dev/pty<xx>, xx varying with the window. Also note that a screen can be attached to several real ttys. When in screen, vim is not running in a Linux console, it has no mean to know that it is within a screen within a Linux console (and again, it could be within several Linux consoles). The only clean way to do it would be for screen to talk to gpm and provide vim (and any application) with some xterm-like mouse tracking support. That would be a nice feature to add to screen. -- Stéphane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users