bugGNU Screen - Bugs: bug #36676, screen shows "standout"...

 
 

bug #36676: screen shows "standout" instead of "italics" on terminals which support the latter (rxvt-unicode)

Submitter:  None
Submitted:  Mon 18 Jun 2012 05:22:49 PM UTC
Votes: 203
 
Category:  Feature Request Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  amade
Open/Closed:  Closed Release:  4.0.3
Fixed Release:  5.0.0 Planned Release:  5.0.0
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 19 Aug 2023 11:38:29 AM UTC, comment #20: 

A bug was filed against Emacs saying that Emacs didn't properly supported the italics in Screen.  See

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65029

Investigation reveals that infocmp doesn't show any sitm and ritm capabilities when TERM is set to "screen".  That is so even after installing the latest version of Screen from your repository's master branch.  This is why Emacs doesn't recognize the support of italics under Screen.

If the current development code of Screen does implement support for italics, would you please answer the following questions:

  . Does Screen support sitm and ritm capabilities in that development version?

  . When installing the development version of Screen which supports italics, should the Terminfo database be updated in some way, to inform Emacs and other programs about this support?

Thanks in advance.

Eli Zaretskii <eliz>
Thu 03 Aug 2023 10:30:58 AM UTC, comment #19: 

Thank you guys for test it. I close this report as fixed.

comment #18:

>
> It would be great if a new release of screen could be made to get this feature on regular package managers. In the meantime, I will try to figure out what is wrong with Emacs.
>


I think I will release 5.0.0 next year.

Alexander Naumov <anaumov>
Group administrator
Wed 02 Aug 2023 09:05:50 PM UTC, comment #18: 


> Strange, for me master branch works with italics in xterm (vim user here)


You are right. After taking a careful look, it's a tricky issue. Emacs does indeed have italics support after switching to screen master. However, it is broken. What should be italics, is displayed underlined. But some italics show up now e.g. in the menu bar. And outside Emacs, but still inside screen, xterm now displays italics correctly.

It would be great if a new release of screen could be made to get this feature on regular package managers. In the meantime, I will try to figure out what is wrong with Emacs.

Anonymous
Wed 02 Aug 2023 07:23:00 PM UTC, comment #17: 

comment #16:

> I just tested master branch (rev 6931ba07ca1646df8dee85485f9867b23b34fcf1) using xterm (v383) and emacs (29.1). It did not work, italics showed up as underlined characters. Running emacs on the same setup but outside screen worked as expected.


Strange, for me master branch works with italics in xterm (vim user here) since almost two years. This is main reason to compile screen myself. May be check your terminfo/whatever emacs uses, perhaps it do not see itself in a position to allow italics rendering? Or output raw escape codes directly in shell to check if it works.

Anonymous
Wed 02 Aug 2023 04:24:08 PM UTC, comment #16: 

I just tested master branch (rev 6931ba07ca1646df8dee85485f9867b23b34fcf1) using xterm (v383) and emacs (29.1). It did not work, italics showed up as underlined characters. Running emacs on the same setup but outside screen worked as expected.

Anonymous
Mon 31 Jul 2023 10:08:19 AM UTC, comment #15: 

Hi,
can you test master branch please?
It seems it should be fixed there, not in 4.9.

Alexander Naumov <anaumov>
Group administrator
Sun 30 Jul 2023 11:35:30 PM UTC, comment #14: 

This bug shows up with status fixed, but still affects the current release (Screen version 4.09.00 (GNU) 30-Jan-22) used together with mainstream terminals such as xterm or rxvt-unicode.

As other users have noted, this is a quite annoying issue as it makes it hard to use Emacs inside Screen. Lots of modern Emacs packages display a lot of colored and italics text, which due to this issue shows up with long broken underlines beneath.

Anonymous
Mon 19 Dec 2022 12:56:02 PM UTC, comment #13: 

I can still see the issue happening on 4.08.00 (Debain package 4.8.0-6).

The command `printf "\e[3mitalics\n\e[0m"`

- Outside of screen italic text works fine (both on TerminalApp and ttyd)
- Inside screen it renders as reverse video


Anonymous
  Spam posted by _299134
  Spam posted by _299134
Fri 05 Jun 2020 05:01:16 AM UTC, comment #10: 

Still doesn't work?

I have my custom terminfo entry xterm-256-italic (which does support italics) running in iTerm2 (macOS), which also support italics. And if I test with commands like below, then I do see italicized text in my terminal:

- echo `tput sitm`italics`tput ritm`
- printf "\e[3;mitalics\n\e[0m"

However, if I then run screen (screen --version reports Screen version 4.08.00 (GNU) 05-Feb-20), my $TERM sets to screen-256color, and the both commands mentioned above print the regular text, not italics.

And if I export TERM=xterm-256-italic inside screen, then

- printf "\e[3;mitalics\n\e[0m" prints regular text, and
- echo `tput sitm`italics`tput ritm` outputs standout text (which does confirm the original bug report, right?)

Would be grateful for an advice, thank you.

alex <alex_sa>
Mon 18 Jun 2018 03:41:10 PM UTC, comment #9: 

I have found a workaround, and that is to do

export TERM=screen-256color

before starting screen.

Dave <davewoodfall>
  Spam posted by davidoff
  Spam posted by anros
Sun 09 Jul 2017 09:58:54 PM UTC, comment #6: 
Amadeusz Sławiński <amade>
Group administrator
Thu 09 Feb 2017 12:22:19 PM UTC, comment #5: 

I have in progress patch for this, but it seems that we will need to update terminfo files, so I think it will be best to release it with major release (v5).

From http://invisible-island.net/xterm/ctlseqs/ctlseqs.txt
            Ps = 0  -> Normal (default).
            Ps = 1  -> Bold.
            Ps = 2  -> Faint, decreased intensity (ISO 6429).
            Ps = 3  -> Italicized (ISO 6429).
            Ps = 4  -> Underlined.
            Ps = 5  -> Blink (appears as Bold).
            Ps = 7  -> Inverse.
            Ps = 8  -> Invisible, i.e., hidden (VT300).
            Ps = 9  -> Crossed-out characters (ISO 6429).

While at it we should probably also add 'invisible' and 'crossed-out'.

Amadeusz Sławiński <amade>
Group administrator
Tue 06 Dec 2016 11:52:40 PM UTC, comment #4: 

About, sorry.

Andrey Solomatin <lourens_rich>
Tue 06 Dec 2016 11:51:38 PM UTC, comment #3: 

Will you please give comment this issue?

Andrey Solomatin <lourens_rich>
Fri 04 Nov 2016 11:20:50 AM UTC, comment #2: 

I would like to have this feature too

Denis Shulyaka <shulyaka>
Tue 08 Mar 2016 08:08:52 AM UTC, comment #1: 

Is there any newish information on this?

Any known work-arounds?

Paul Prince <pprince>
Mon 18 Jun 2012 05:22:49 PM UTC, original submission:  

Hi, screen does not support italics on terminals which support it, e.g. rxvt-unicode.  This is all the more disappointing as emacs trunk now supports italics on terminals which do so.


To reproduce start a terminal emulator which is able to display italics:

urxvt  -fn 'xft:liberation mono' -tn rxvt-unicode-256color

do

echo `tput sitm`italics`tput ritm` `tput smso`standout`tput rmso`

see italic font.

do

screen

do

echo `tput sitm`italics`tput ritm` `tput smso`standout`tput rmso`

again

see no italic fonts.


Expected result: should show italics.


Thanx for looking into this, Gregor

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eliz (Posted a comment)
  • -email is unavailable- added by anaumov (Posted a comment)
  • -email is unavailable- added by _299134 (Posted a comment)
  • -email is unavailable- added by alex_sa (Posted a comment)
  • -email is unavailable- added by davewoodfall (Posted a comment)
  • -email is unavailable- added by davidoff (Posted a comment)
  • -email is unavailable- added by anros (Posted a comment)
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by lourens_rich (Posted a comment)
  • -email is unavailable- added by grfz (Voted in favor of this item)
  • -email is unavailable- added by shulyaka (Posted a comment)
  • -email is unavailable- added by pprince (Posted a comment)
  • -email is unavailable- added by pprince (Voted in favor of this item)
  • -email is unavailable- added by haffa (Voted in favor of this item)
  •  

    There are 203 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-03 anaumov Open/ClosedOpen Closed
        Fixed ReleaseNone 5.0.0
    2017-07-09 amade StatusIn Progress Fixed
    2017-02-09 amade StatusNone In Progress
        Assigned toNone amade
        Planned ReleaseNone 5.0.0
        Summaryscreen shows &quot;standout&quot; instead of &quot;italics&quot; on terminals which supprot the latter (rxxvt-unicode) screen shows "standout" instead of "italics" on terminals which support the latter (rxvt-unicode)
    2016-11-06 grfz Carbon-Copy- Added grfz
    2016-03-08 pprince Carbon-Copy- Added pprince
    2014-03-01 haffa Carbon-Copy- Added haffa

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code