:: [DNG] [SOLVED] Terminal type mismat…
Top Page
Delete this message
Reply to this message
Author: Walter Dnes
Date:  
To: Devuan list
Subject: [DNG] [SOLVED] Terminal type mismatch?
On Wed, Jan 15, 2025 at 09:08:47PM +0100, Didier Kryn wrote
> Le 15/01/2025 à 19:16, Walter Dnes a écrit :
> > There is no/lib/ncurses/* on the Devuan (server) machine...
>
> Sorry: /lib/terminfo/*
>
> Some others may be under /usr/share/terminfo/


Again, solved, but not in the way I expected. The solution was to
switch from the "xterm" package to the "urxvt-unicode" package on the
Gentoo side. As with xterm, the defaults for urxvt are ugly. I passed
the same parameters I use for xterm in the program launcher, and it
looks just like xterm. Your personal tastes may differ from mine.

urxvt -bg black -fg cyan -geometry 80x58 -fn lucidasanstypewriter-12

The only difference is that text from previous apps doesn't splatter
over blank spaces in the current app. I don't know why urxvt works
where xterm doesn't, but a solution is a solution.

As for terminfo entries, on the Devuan machine, the
/etc/terminfo/README file states...

=====================================================================
This directory is for system-local terminfo descriptions. By default,
ncurses will search ${HOME}/.terminfo first, then /etc/terminfo (this
directory), then /lib/terminfo, and last not least /usr/share/terminfo.
=====================================================================

Devuan has /lib/terminfo/ and /usr/share/terminfo/. /etc/terminfo
is empty except for the README file. Gentoo has terminfo entries in
/etc/terminfo and /usr/share/terminfo/ but no /lib/terminfo/

--
Walter Dnes <waltdnes@???>
There are 2 types of people in this world
1) Those who can extrapolate from incomplete data