Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2020 14:57:52 +0200
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Move from termcap(5) to terminfo(5)
Message-ID:  <20200507125752.OhGX4%steffen@sdaoden.eu>
In-Reply-To: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net>
References:  <20200507124126.g4z5op4cyv45pmxn@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Just my one cent.

Baptiste Daroussin wrote in
<20200507124126.g4z5op4cyv45pmxn@ivaldir.net>:
 |I can't find any proper rationale in our history (maybe I missed it) which
 |explains why our ncurses is stuck on using termcap(5) instead of terminf\
 |o(5)
 ...
 |I would like to make the move from termcap to terminfo which would \
 |give us the
 |bonus to be able to track terminfo sources from upstream aka ncurses and to
 |add and use tic(1).
 |
 |Given the very few people that are actually maintaining the termcap \
 |database. I
 |don't think there is a good rationale at keeping our own format (as \
 |far as I
 |know everyone moved to terminfo(5)) and parser.
 |
 |Without any strong arguments against it I will start working on that \
 |move by
 |next week.
 |
 |If you have some knowledge you want to share: "be careful about this \
 |or that" I
 |would be more than happy to collect it, to make sure the transition \
 |is as smooth
 |as possible.

If termcap is implemented by means of termcap and not by means of
internally converting termcap to curses which then does the job,
then termcap is a very small library and the terminal descriptions
almost as powerful.  They miss some keys, otherwise i do not know
what they miss.

Otherwise termcap is terribly expensive and my MUA tries to go for
-ltinfo before falling back to -lcurses or -lcursesw.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200507125752.OhGX4%steffen>