Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!usenet.ins.cwru.edu!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) Newsgroups: comp.unix.shell Subject: Re: extra tput parameters Message-ID: <1991Mar15.045847.4158@NCoast.ORG> Date: 15 Mar 91 04:58:47 GMT References: <3249@meaddata.meaddata.com> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) Followup-To: comp.unix.shell Distribution: comp Organization: North Coast Public Access Un*x (ncoast) Lines: 22 As quoted from <3249@meaddata.meaddata.com> by franz@meaddata.com (Franz Weckesser): +--------------- | I've written a shell script which does some cursor positioning using | the tput cup capability. Works great on my sun, but when I move it to | other machines (a sequent or an ibm RT), tput gives a usage error due | to the extra arguments (the cursor position coordinates). I.e on my +--------------- Prior to V.3.2 (V.3.1?), tput didn't do a tparm automatically. This made it less than useful. This restriction *was* documented, however. If you run Perl, watch for my terminfo-in-Perl routines in comp.lang.perl. &setupterm; print &tputs(&tparm(&cursor_address, 0, 0)); ++Brandon -- Me: Brandon S. Allbery Ham: KB8JRR on 40m, 10m when time Internet: allbery@NCoast.ORG permits; also 2m, 220, 440, 1200 America OnLine: KB8JRR // Delphi: ALLBERY AMPR: kb8jrr.AmPR.ORG [44.70.4.88] uunet!usenet.ins.cwru.edu!ncoast!allbery KB8JRR @ WA8BXN.OH