From owner-freebsd-questions@freebsd.org Fri Sep 20 15:09:12 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C21A3FF56E for ; Fri, 20 Sep 2019 15:09:12 +0000 (UTC) (envelope-from jacob@dstsrc.net) Received: from MTA-08-4.privateemail.com (mta-08-4.privateemail.com [198.54.122.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZcYz4j5Vz4Htd for ; Fri, 20 Sep 2019 15:09:11 +0000 (UTC) (envelope-from jacob@dstsrc.net) Received: from MTA-08.privateemail.com (localhost [127.0.0.1]) by MTA-08.privateemail.com (Postfix) with ESMTP id C224F6007B for ; Fri, 20 Sep 2019 11:09:09 -0400 (EDT) Received: from jacobs-mbp.lan (unknown [10.20.151.242]) by MTA-08.privateemail.com (Postfix) with ESMTPA id 5E0A460062 for ; Fri, 20 Sep 2019 15:09:09 +0000 (UTC) From: Jacob Wahlgren Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Using terminfo Message-Id: <6CD3E873-520F-4EAD-A7C8-98535DF4B64D@dstsrc.net> Date: Fri, 20 Sep 2019 17:09:07 +0200 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 46ZcYz4j5Vz4Htd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jacob@dstsrc.net designates 198.54.122.58 as permitted sender) smtp.mailfrom=jacob@dstsrc.net X-Spamd-Result: default: False [-1.70 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.981,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.54.122.32/27:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.988,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_NONE(0.00)[58.122.54.198.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.07)[ipnet: 198.54.122.0/24(-0.17), asn: 22612(0.58), country: US(-0.05)]; DMARC_NA(0.00)[dstsrc.net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22612, ipnet:198.54.122.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 15:09:12 -0000 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?=