"Feature" of tput(1) in SV5.2 & SV5.3

David E A Wilson david at uowcsa.cs.uow.oz
Wed May 17 17:11:37 AEST 1989


In the parms description of the tput(1) command the following
sentence appears:

An all numeric argument will be passed to the attribute as a number.

This occurs even if the parameter is defined to be a string. For
example, to program the function key labels on my terminal the
following definition is used:

	pln=\eP0;1%p1%{1}%-%d/%s\e\\

The command "tput pln 1 abcd" works while "tput pln 1 1234"
fails. Why should I not be able to have a number in the label?
[This is a major problem as the terminal expects the string in
hex and thus numeric strings are quite likely.]
Will this be fixed in later releases of SysV or is it to late?

David Wilson	(david at wolfen.cc.uow.oz.au)



More information about the Comp.bugs.sys5 mailing list