When i run vim inside screen, with TERM set to dtterm, there is no mouse support. How do i enable mouse support for dtterm TERMINAL.
Running TERM with xtermc is not feasible as this garbles the background color in vim when running inside screen.
When i run vim inside screen, with TERM set to dtterm, there is no mouse support. How do i enable mouse support for dtterm TERMINAL.
Running TERM with xtermc is not feasible as this garbles the background color in vim when running inside screen.
There is more than one problem:
xtermcdoes not match any terminal that you are likely to encounter (noted in xterm FAQ What $TERM should I use?dttermdoes not matchxtermceither (useinfocmp xtermc dttermto see).dtterm. At the time, their/etc/termcapfile had an incorrectly-formatted entry fordtterm.dttermdoes not support xterm-style mouse functionality. As I recall it, the mindset of its developers was that no one used it. So all you can get is GUI-style (non-programmatic) mouse select/paste.dttermdoes attempt to emulate VT220 (which had no mouse), but has some problems in that (a bug in scrolling).dtterm, but that bug in scrolling cannot be described in terminfo (other than pretending thatdttermcannot scroll).dttermwas part of CDE, which Sun deprecated as of Solaris 10. Oracle still provides documentation. Earlier, they dropped OpenWindows in favor of CDE (see transition guide).dttermdoes not mention "mouse".So: you should set
TERMtodttermif you are using that program. vim will not know anything about its mouse capabilities.