Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!uunet!meaddata!franz From: franz@meaddata.com (Franz Weckesser) Newsgroups: comp.unix.shell Subject: extra tput parameters Keywords: tput Message-ID: <3249@meaddata.meaddata.com> Date: 10 Mar 91 18:52:55 GMT Sender: usenet@meaddata.com Reply-To: franz@meaddata.com (Franz Weckesser) Followup-To: comp.unix.shell Distribution: comp Organization: Mead Data Central, Dayton OH Lines: 20 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 sun, "tput cup 5 5" places the cursor at the coordinates 5,5, but on an RT or Sequent "tput cup 5 5" complains about the number of parameters (though "tput cup" provides a string with places for the parameters). The man pages seem to imply that the parameters will be put into the return string by tput using tparm, but they never get the chance due to the usage failure. Is this a bug with earlier tput implementations? Is there any way to make use of the string passed back by tput? Franz ================================================================= Everything should be made as simple as possible, but no simpler - A.E. =================================================================