Using parameterized terminfo(4) capabilities in tput(1)
Larry Lippman
larry at kitty.UUCP
Wed Aug 13 14:19:58 AEST 1986
In System V Release 2 I almost exclusively use curses(3X) in a C program
to make use of the terminfo(4) capabilities. However, on occasion I use
tput(1) to make use of terminfo(4) capabilities in a Bourne shell script where
there is no C program involved.
Such applications as: ``tput clear'', ``tput bel'', etc. as invoked by
the shell work just fine.
I have never been able to get any parameterized capabilities (such
as ``cuf'', ``vpa'', etc.) to work with tput(1). I have tried all manner of
syntax for passing parameters with no success.
Does anyone know if it is even POSSIBLE to utilize any parameterized
capabilities with tput(1)? If so, how?
==> Larry Lippman @ Recognition Research Corp., Clarence, New York
==> UUCP: {allegra|decvax|rocksanne|rocksvax|watmath}!sunybcs!kitty!larry
==> VOICE: 716/688-1231 {hplabs|ihnp4|seismo}!/
==> FAX: 716/741-9635 {G1,G2,G3} "Have you hugged your cat today?"
More information about the Comp.unix.wizards
mailing list