Re: Move from termcap(5) to terminfo(5)

From: Steffen Nurpmeso <steffen_at_sdaoden.eu>
Date: Thu, 07 May 2020 14:57:52 +0200
Just my one cent.

Baptiste Daroussin wrote in
<20200507124126.g4z5op4cyv45pmxn_at_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)
Received on Thu May 07 2020 - 10:58:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC