Tony Mechelynck 写道: > On my system it doesn't set it. Anyway, I suppose that a value of > "gnome-terminal" would be rather characteristic. Remains to be seen how > to tell xterm apart from konsole. From v:termresponse maybe? Let's see > what I get: > > konsole... ^[[0;115;0c > xterm... ^[[0;236;0c > gnome-terminal... ^[[1;1704;0c > > (where the initial ^[ is an "escape" character) so the results are > indeed different, but I don't think the criterion can be ported to an > unknown system
It seems work, but we may need to do some regexp matching... Let's see what I get: konsole1... ^[[0;115;0c konsole2... ^[[0;115;0c xterm... ^[[0;239;0c gnome-terminal... ^[[1;1613;0c xfce4-terminal... ^[[1;1613;0c screen... (nothing) So the number may not be exactly the same, while we should tell differences between konsole and gnome-terminal anyway. While the konsole in KDE3 and KDE4 returns the same value, which is somewhat undesirable. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
