NetBSD Problem Report #91

From gnats  Fri Jan 21 19:57:41 1994
Received: from localhost (cgd@localhost) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) id TAA11075; Fri, 21 Jan 1994 19:49:27 -0800
Message-Id: <199401220349.TAA11075@sun-lamp.cs.berkeley.edu>
Date: Fri, 21 Jan 1994 19:49:27 -0800
From: cgd@sun-lamp.cs.berkeley.edu
Reply-To: cgd@sun-lamp.cs.berkeley.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: tput punts on termcap string arguments
X-Send-Pr-Version: 3.01.6

>Number:         91
>Category:       bin
>Synopsis:       tput should grok and fill in termcap string args; it doesn't
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 20:05:01 +0000 1994
>Closed-Date:    Tue Jan 25 00:43:49 +0000 1994
>Last-Modified:  Wed May 07 08:16:05 +0000 2014
>Originator:     Chris G. Demetriou
>Release:        NetBSD 0.9
>Organization:
Kernel Hackers 'r' Us
>Environment:
NetBSD, any platform.
System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP_AHBBT_NODDB#15 i386


>Description:
Termcap strings contain arguments (e.g. "%d") to be filled in the routines
which use them.  tput gives access to the termcap strings, but gives
one no way of filling in the arguments.  This causes problem if you try
to use tput for any serious applications.
>How-To-Repeat:
try to use "tput" to output a termcap string which includes arguments.
It doesn't do the right thing.  for instance, compare "tput up" and
"tput UP 1" -- one would expect that they'd do the same thing.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: cgd 
State-Changed-When: Mon Jan 24 15:56:55 PST 1994 
State-Changed-Why:  
patch to do this incorporated.  (from Christos-Zoulas@deshaw.com) 
still needs man page update. 
(waiting for him to get back to me about that.) 
State-Changed-From-To: feedback->closed 
State-Changed-By: cgd 
State-Changed-When: Mon Jan 24 16:43:49 PST 1994 
State-Changed-Why:  
man page update came back from Christos, and, with minor mods, went in. 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.