On Sat, Sep 19, 2009 at 9:41 PM, Stahlman Family wrote:
> Matt Wozniski wrote:
>> On Sat, Sep 19, 2009 at 1:26 PM, Stahlman Family wrote:
>>> You might try 'gnome-256color' instead of 'gnome-terminal'. (Note that
>>> on Fedora, I first had to install the ncurses-term package). It
>>> definitely supports italic.
>>
>> AFAICS, gnome-terminal definitely *doesn't* support the italic SGR, at
>> least with versions as recent as 2.26.2.  The italic SGR is 3, and
>>
>>     echo -e "\e[3mhello\e[m"
>>
>> in bash definitely doesn't produce italics for me.
>
> Sorry. You're correct. Although with 'gnome-256color', the italic start
> and end codes are \e[7m and \e[0m respectively. In my version of
> gnome-terminal (2.24.3), italic is implemented as reverse video.

No, the 7 SGR is for reverse video.  3 is definitely the one for italic.  :)

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to