From nobody Wed Nov 01 03:49:33 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SKtLC2QWhz4yfGn for ; Wed, 1 Nov 2023 03:49:39 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4SKtLB3nq1z4Rjp; Wed, 1 Nov 2023 03:49:38 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 3A13nX3d094464; Wed, 1 Nov 2023 03:49:33 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 3A13nX1M094463; Wed, 1 Nov 2023 03:49:33 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202311010349.3A13nX1M094463@donotpassgo.dyslexicfish.net> Date: Wed, 01 Nov 2023 03:49:33 +0000 Organization: Dyslexic Fish To: jamie@catflap.org, dickey@his.com Cc: freebsd-current@FreeBSD.org, bapt@FreeBSD.org Subject: Re: Freebsd 14+ -- tcsh incompatible with terminfo References: <202310312245.39VMjNJB080965@donotpassgo.dyslexicfish.net> <202310312259.39VMxm6W081150@donotpassgo.dyslexicfish.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Wed, 01 Nov 2023 03:49:33 +0000 (GMT) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US] X-Rspamd-Queue-Id: 4SKtLB3nq1z4Rjp Thomas Dickey wrote: > actually it probably does affect "xterm" > > Checking the source, tcsh is expecting a termcap string, while data read > from the terminfo database is going to be in terminfo format -- even if > read via tgetent/tgetstr > > tcsh is expecting a termcap string, and in its EchoTC function it duplicates > the termcap version of what's tparm in a terminfo program. > > (tcsh could be modified readily to use terminfo for the case you're describing, > but supporting $TERMCAP would be work) Hi Thomas, thanks for the reply... from the ncurses man himself! I *thought* I'd seen issues with just "xterm" but after posting the first message, it seemed to start working, and so I doubted myself, but I must have messed up somewhere! What threw me about tcsh is it does mention terminfo in the man page and the source, so I wrongly assumed the problem wasn't there. Anyway, I'll raise it with the tcsh maintainers. To the FreeBSD release folk, I think it's great that we're moving off termcap, but is there a chance that base tcsh could be compiled with a private version of the terminfo-less ncurses in time for 14.0-RELEASE, if a proper fix to tcsh is going to take too long? Thanks again, Thomas. Cheers, Jamie