Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!ihnp4!cuae2!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.unix-wizards Subject: Re: Using parameterized terminfo(4) capabilities in tput(1) Message-ID: <1141@ttrdc.UUCP> Date: Sun, 17-Aug-86 15:12:47 EDT Article-I.D.: ttrdc.1141 Posted: Sun Aug 17 15:12:47 1986 Date-Received: Tue, 19-Aug-86 08:23:06 EDT References: <1206@kitty.UUCP> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 24 Keywords: terminfo(4), tput(1) In article <1206@kitty.UUCP>, larry@kitty.UUCP (Larry Lippman) writes: >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 You can't. Tput is not set up to handle parameterized capabilities. However you can easily write your own program to do this if you wish; see the terminfo(4) manpages for more info. -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, go for it! allegra,ulysses,vax135}!ttrdc!levy