bugGNU Screen - Bugs: bug #32469, 256 color capable terminal is not...


bug #32469: 256 color capable terminal is not autodetected

Submitted by:  Arkadiusz Miskiewicz <arekm>
Submitted on:  Mon 14 Feb 2011 08:13:41 AM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.0.3
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 05 Sep 2015 04:44:22 PM UTC, comment #1:

Screen auto detects colors just fine

If it is still a problem with newer versions please reopen and provide faulty terminfo file.

Amadeusz Sławiński <amade>
Project Administrator
Mon 14 Feb 2011 08:13:41 AM UTC, original submission:

I'm using 256 colors capable terminal (TERM=konsole-256color; kde konsole terminal). When I start screen it doesn't automaticly turn on 256 color support which is IMO very bad.

I have to add:

# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"

to my .screenrc to get it working somehow. It's unfortunately still not enough since screen sets TERM=screen-bce while it should set TERM=screen-256color-bce.

When looking for a solution I found few bugreports in distros bugtrackers about the same issue but no real (aka patch implementing autodetection) solution.

Arkadiusz Miskiewicz <arekm>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by arekm (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Sep 2015 04:44:22 PM UTCamadeStatusNone=>Invalid

    Back to the top

    Powered by Savane 3.1-cleanup1