Subject: Re: bin/91: tput punts on termcap string arguments
To: None <cgd@sun-lamp.cs.berkeley.edu>
From: Peter da Silva <peter@Taronga.COM>
List: netbsd-bugs
Date: 01/22/1994 10:14:12
> 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.

Make sure the implementation of this fix doesn't assume that any % is an
argument... it may be a literal %. (I ran into this one using termcap to
build up a format string for printf several years back... one of the escape
sequences didn't work on one terminal because it included a literal %. Had
to search for that and change it to %%).
-- 
Peter da Silva, 77272-0711 USA                  `-_-'
Zure otsoa besarkatu al duzu gaur?               'U`
Serveuse, ce plat bouge encore!

------------------------------------------------------------------------------