[comp.bugs.sys5] "Feature" of tput

david@uowcsa.cs.uow.oz (David E A Wilson) (05/17/89)

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@wolfen.cc.uow.oz.au)