Date: Fri, 20 Sep 2019 17:09:07 +0200 From: Jacob Wahlgren <jacob@dstsrc.net> To: freebsd-questions@freebsd.org Subject: Using terminfo Message-ID: <6CD3E873-520F-4EAD-A7C8-98535DF4B64D@dstsrc.net>
next in thread | raw e-mail | index | archive | help
Other users have asked about how to use a non-xterm terminal with = FreeBSD, and the answer is usually to run infocmp -C to convert the = terminal=E2=80=99s provided terminfo file to the termcap format and = install those to their system. Most users are satisfied with this = solution as any error messages disappear and most terminal functionality = is restored. However, anyone who has done this knows that some = capabilities have no counterpart in termcap, and that some capabilities = will be left out to conform to the arcane 1023 byte limit. I run the kitty terminal on my Macbook to ssh to my FreeBSD server. = Using the aforementioned procedure I got the most basic terminal = features like cup mode and bold text, but notably not colors (due to = size limit presumably). The applications I expect to see color in are = mainly ls (from base) and vim (from ports). I have thought about trying to hand craft a reasonable termcap for = kitty, but I would rather just use the terminfo file directly. What is stopping base ncurses from supporting terminfo? Is there some = configuration I can do to rebuild it with terminfo support?=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6CD3E873-520F-4EAD-A7C8-98535DF4B64D>