Move from termcap(5) to terminfo(5)
Steffen Nurpmeso
steffen at sdaoden.eu
Thu May 7 12:58:01 UTC 2020
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)
More information about the freebsd-current
mailing list