On Tue, Apr 7, 2009 at 7:56 AM, pansz wrote: > > Matt Wozniski 写道: >> On Sat, Mar 28, 2009 at 8:02 AM, André Scholz wrote: >>> Hello, >>> In KDE4 : Put >> That won't play nicely with gnu screen, or with dvtm, or any of the >> other terminal multiplexers out there... > > That's not a big problem for gnu screen, since we've got &term=='screen' > in screen and &term=='xterm' in konsole. I can enable the sequences only > for &term=='xterm'.
Well, as I said later, it also might not play nicely with multiple tabs, or even multiple terminals (at least, the suggest gnome-terminal version wouldn't, not sure about the suggested konsole version). > The problem is: too many terminal emulators claims to be &term=='xterm' > while they are not identical. It would be much better if there's a way > to know the exact terminal emulator program name in .vimrc. Set up the terminal emulator to send something more correct; any sane terminal emulator should let you. It's perfectly common to set up xterm to set TERM=xterm-256color, to set up konsole to set TERM=konsole-256color, to set up screen to set TERM=screen-256color, etc... Unfortunately, to the best of my knowledge gnome-terminal fails this sanity test - I know of no way to get it to set $TERM to the correct value (gnome-256color) without patching the source and recompiling. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
