Gentoo Archives: gentoo-dev

From: Dan Meltzer <parallelgrapefruit@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Fixing the TERM mess
Date: Sun, 21 Aug 2005 22:46:46
Message-Id: 46059ce1050821154310568d72@mail.gmail.com
In Reply to: Re: [gentoo-dev] Fixing the TERM mess by Ciaran McCreesh
1 putty pretends to be an xterm and dies at xtermcontrol --get-bg... I
2 can test other things if you need.. just give me some idea :)
3
4
5
6 On 8/21/05, Ciaran McCreesh <ciaranm@g.o> wrote:
7 > On Mon, 22 Aug 2005 00:00:26 +0200 Henrik Brix Andersen
8 > <brix@g.o> wrote:
9 > | > * Install, either with the terminal (as is done by rxvt-unicode
10 > | > currently), or as part of ncurses, proper terminfo definitions for
11 > | > these terminals.
12 > |
13 > | One could argue for both solutions here: it would make sense to
14 > | install it along with the offending terminal, since this is where we
15 > | change the value of the $TERM variable.
16 >
17 > The problem with this is that non-X boxes will be missing the terminfo
18 > descriptions.
19 >
20 > | Perhaps we should just once-and-for-all submit a patch to ncurses
21 > | which includes these new terminfo definitions? We will then patch our
22 > | foo-terminal ebuilds to set a proper value of $TERM. Then when
23 > | upstream (hopefully) decides to change their $TERM value to something
24 > | sane, ncurses will already have the support, and we can remove the
25 > | local patch along with the version bump of foo-terminal.
26 >
27 > The problem with this is that some terminals gain new capabilities
28 > fairly regularly. One example is rxvt-unicode, which is still putting
29 > out regular releases.
30 >
31 > A third possibility is to split out the terminfo db from ncurses. This
32 > will let us do frequent updates if necessary. It may also help the
33 > embedded people -- we could add a USE=minimal which only installs
34 > 'common' definitions and leaves out support for obscure 1950s line
35 > printers. There may be a gaping hole in this idea. I haven't thought it
36 > through much...
37 >
38 > | > * Include TERM stuff in policy so that the problem doesn't crop up
39 > | > again a few months later.
40 > |
41 > | I'm not sure what you mean by "policy"?
42 >
43 > That thing we don't have yet.
44 >
45 > --
46 > Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
47 > Mail : ciaranm at gentoo.org
48 > Web : http://dev.gentoo.org/~ciaranm
49 >
50 >
51 >
52
53 --
54 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Fixing the TERM mess Ciaran McCreesh <ciaranm@g.o>