NetBSD Problem Report #52208

From wiz@yt.nih.at  Tue May  2 14:22:30 2017
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6A2727A20D
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 May 2017 14:22:30 +0000 (UTC)
Message-Id: <20170502142216.760F32AC0ED@yt.nih.at>
Date: Tue,  2 May 2017 16:22:16 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: TERMINFO compat for tic
X-Send-Pr-Version: 3.95

>Number:         52208
>Category:       bin
>Synopsis:       TERMINFO compat for tic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 02 14:25:00 +0000 2017
>Originator:     Thomas Klausner
>Release:        NetBSD 7.99.67
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
A currently-broken-for-me mercurial self test uses tic like this:

> mkdir "$TESTTMP/terminfo"
> TERMINFO="$TESTTMP/terminfo" tic "$TESTDIR/hgterm.ti"
> TERM=hgterm TERMINFO="$TESTTMP/terminfo" hg status --config color.mode=terminfo --color=always -A

roy told me that currently only this version is supported:

> mkdir "$TESTTMP/terminfo"
> cp "$TESTDIR/hgterm.ti" "$TESTTMP/terminfo"
> tic "$TESTTMP/terminfo/hgterm.ti"
> TERM=hgterm TERMINFO="$TESTTMP/terminfo/hgterm.ti" hg status --config color.mode=terminfo --color=always -A

It'd be nice to be more compatible with ncurses and support the former version
as well.

(Neither the self test nor the curses code seems to have changed
since the test last worked, so I'm not sure if this change would
fix it.)

>How-To-Repeat:
See above.
>Fix:
Please.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.