[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs trunk now supports italics on terminal emulators which support it

From: Gregor Zattler
Subject: emacs trunk now supports italics on terminal emulators which support it (was: Re: Italic text with screen inside urxvt and some termcap questions)
Date: Mon, 18 Jun 2012 19:49:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi screen-users, Micah,

regarding this old post:

* Micah Cowan <address@hidden> [22. Sep. 2008]:
> Kazuo Teramoto wrote:
>> Hello, sometime ago (in 2006) someone asked if is possible to print
>> italic text when using screen inside urxvt, but it received no
>> replies...
>> Someone know if it is possible? I tried some things with termcap (but
>> to be sincere I don't fully understand the concept of
>> termcaps/terminfo) like adding the following line to screenrc:
>>   termcapinfo rxvt* so=:se= ZH=\E[3m:ZR=\E[m
>> My idea is that i needed to remove the definition of standout and put
>> the italic in the place of \E[3m. But that don't works (well i think
>> that is not supposed to work, but as I sad i dont fully understand
>> what the termcap is all about)... In urxvt, outside of screen, the
>> string '\33[3mHello\33[m' prints hello in italic.
>> In the screen manual 'Standout' have a '(ANSI: Italicized)' what is
>> that is supposed to mean?
> It means that what Screen uses for standout mode, ANSI (and rxvt) uses
> for italics mode. I don't know why this is the case, but the fact that
> it is means that making screen support italics would be a PITA.
> If we make screen use \033[3m for italics (instead of its current use
> for standout), and \033[7m for standout (ANSI's "negative image"), then
> all pre-existing termcap/terminfo definitions for screen will be wrong,
> and users will have to be especially careful not to use newer versions
> of screen with older termcap/terminfo definitions for screen.
> Nevertheless, it seems like it might not be a terrible idea to start
> migration, or at least support a configuration option for it. I don't
> know when such a change might be effected, though.

Since Emacs bug #9652
was closed in trunk last week, I just opened an corresponding wishlist
bug for screen, ist screen bug #36676

Ciao, Gregor
 -... --- .-. . -.. ..--.. ...-.-

reply via email to

[Prev in Thread] Current Thread [Next in Thread]