Sujet : Re: Problem/issue with TERMINFO file
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.unix.programmerDate : 03. Dec 2024, 16:39:06
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vin8mp$18a1j$2@news.xmission.com>
References : 1 2
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
YcF3P.41752$tKZd.16879@fx18.iad>,
Scott Lurndal <
slp53@pacbell.net> wrote:
...
On the source machine, use 'infocmp' to print out the terminal
description. On the destination machine feed that description
to the 'tic' command.
Bingo! Thanks.
I knew about "tic" (in theory at least). Didn't really know about "infocmp".
I was impressed that "tic" did exactly the right thing. It created the
directory ~/.terminfo/t and put the compiled file there, w/o my having to
specify it. I assumed it would just write to standard output (like most
programs do), but such is not the case.
So, the takeaway is that, as is usually the case in Linux, "terminfo" is
source code portable/compatible, but not binary compatible.
-- One should not believe everything posted to USENET. - Aharon (Arnold) Robbins arnold AT skeeve DOT com - - 4/15/19 -