On Tue, Oct 21, 2008 at 2:35 PM, Roberto Miura Honji wrote: > How can I to identify if I'm using vim on konsole or xterm? > For example, I would like set background=light on the konsole and dark on > the xterm.
The best choice is configuring konsole to set $TERM correctly - it shouldn't use TERM=xterm , it should use TERM=konsole (or, more likely these days, TERM=konsole-256color ). If your terminfo database doesn't have these entries, you should add them first. You can do this on debian with "apt-get install ncurses-term"; this will vary on other distros. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
