Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Fixing the TERM mess
Date: Thu, 08 Sep 2005 17:00:53
Message-Id: 20050908175917.05c3ddbe@snowdrop.home
In Reply to: Re: [gentoo-dev] Re: Fixing the TERM mess by ivan
1 On Thu, 8 Sep 2005 18:50:10 +0200 ivan <pifko@×××.sk> wrote:
2 | > | That'd also solve the cases where a terminal changes right
3 | > | beneath a running application. That
4 | > | happens during attaching a screen session.
5 | >
6 | > No it doesn't. Screen provides a virtual terminal with lots and
7 | > lots of capabilities. It then reduces them itself internally to
8 | > what it thinks the underlying term supports -- again, this is done
9 | > via terminfo, so if you're running screen on xterm you're running a
10 | > crippled screen.
11 |
12 | So, screen advertises the same capabilities to the starting apps
13 | regardless the terminal the screen is being run on?
14
15 Yes.
16
17 | Or it advertises reduced capabilities according the terminal it's
18 | currently attached to?
19
20 No.
21
22 | As for the former, I don't think that would work. If an app chooses a
23 | multi color style cuz screen is able to handle it, but then screen
24 | tries to reduce it to mono.
25
26 That's exactly what happens.
27
28 --
29 Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
30 Mail : ciaranm at gentoo.org
31 Web : http://dev.gentoo.org/~ciaranm