Thread View: comp.bugs.sys5
1 messages
1 total messages
Started by David E A Wilson
Wed, 17 May 1989 07:11
"Feature" of tput(1) in SV5.2 & SV5.3
Author: David E A Wilson
Date: Wed, 17 May 1989 07:11
Date: Wed, 17 May 1989 07:11
19 lines
1091 bytes
1091 bytes
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads