Matt Wozniski wrote:
> On Sat, Sep 19, 2009 at 1:26 PM, Stahlman Family
> <[email protected]> wrote:
>> peng shao wrote:
>>> It does not work :( my friend told me that currently, maybe, just maybe,
>>> gnome-terminal
>>> can display italic fonts, but can NOT display italic fonts in a normal font
>>> environment.....
>> 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.

Brett S.

And, a quick
> sourcedive shows it to be missing from the switch in libvte's
> vteseq.c:vte_sequence_handler_character_attributes(), which skips from
> 2 (dim) to 4 (underline).
> 
> ~Matt
> 
> > 
> 

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

Reply via email to