On Wed, Feb 11, 2009 at 3:41 PM, Garrett Whelan wrote: > >> It works >> at least in xterm & rxvt but unfortunately does not work in >> gnome-terminal, Kconsole and xfce4-terminal). To do this, >> just add the following lines in your ~/.vimrc: >> >> if &term =~ "xterm\\|rxvt" >> :silent !echo -ne "\033]12;red\007" >> let &t_SI = "\033]12;orange\007" >> let &t_EI = "\033]12;red\007" >> autocmd VimLeave * :!echo -ne "\033]12;red\007" >> endif > > I've also verified that this works with Eterm, which isn't quite as > integrated as gnome-terminal it's way more visually customizable than xterm.
Note that Eterm has had a history of horrific security vulnerabilities (for instance, an application outputting "\033]6;73;xterm\007" would cause xterm to be launched for 4 months of Eterm's lifetime...). I don't know that I would trust the author's ability to consider security enough to trust their software as the only layer between me and a malicious program... > Can anyone tell me what the code means? Besides the colors of course. See http://www.xfree86.org/current/ctlseqs.html - The escape sequence is "Change text cursor color to". ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
