tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* use of tput - where can I find elements it takes
@ 1997-04-29 21:38 David Bremer
  0 siblings, 0 replies; only message in thread
From: David Bremer @ 1997-04-29 21:38 UTC (permalink / raw)
  To: tru64-unix-managers

someone once showed me the use of tput in awk to manipulate the screen

eg:
To re-type on the same line set variables "lnup" and "ceol" in a BEGIN
by:
"tput cuu1" | getline lnup
close("tput cuu1")        
"tput el" | getline ceol  
close("tput el")          

then issue print commands for "lnup" and "ceol" when you need to

Now I think this is pretty neat and am wondering what else I can do

However, this guy (who was only here on shrot term consultancey) is now
long gone

My question is:
Where on earth is a list of items that you can use for tput? I've
checked out its man page, stty & terminfo man pages - even tried "stty
-a" and can't find any reference to things such as "ccu1" or "el" as
used above (which I know work).

(BTW - yes - I've heard that perl is wonderful - but at the moment I
want to come to terms with awk)

TIA

Dave

--
Clinical Account Manager, Information Systems
Healthcare Otago (Dunedin NZ)

Ph external: 03 - 4740999
Ph internal: NB CHANGE extn 8830 
email: daveb@healthotago.co.nz

Pretentious quote of the week/month (whatever):
#What is a magician but a practising theorist?
    Obi-Wan Kenobi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-29 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-29 21:38 use of tput - where can I find elements it takes David Bremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox