Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!psuvax1!rutgers!pyrnj!pdk From: pdk@pyrnj.uucp (Paul Kramer) Newsgroups: comp.terminals Subject: Re: terminfo description needs pause Message-ID: <14299@pyrnj.uucp> Date: 18 Dec 90 20:22:08 GMT References: <1990Dec17.171335.4861@xenitec.on.ca> Reply-To: pdk@pyrnj.UUCP (Paul Kramer) Organization: Pyramid Technology Corp, Woodbridge, NJ Lines: 25 In article <1990Dec17.171335.4861@xenitec.on.ca> vances@xenitec.on.ca (Vance Shipley) writes: > > How can I delay further action after the rs1 sequence? I will take a guess that this is being invoked with a `tput init`. If there is some non-printing & non-control character which could be amassed in a file, you could assign the "rf", (r)eset (f)ile, string in a new terminfo file like this: "rf=/usr/bin/my_dummy_data". Place as many characters in there as is necessary to produce the delay. If it is defined, the "rf" named file's contents get sent to the terminal during an initialization, right after the "rs2" string is processed. Alternately, you could move the completed escape sequence that is defined by "rs1" to a commands file. Then define the file name in the terminfo entry using the "iprog" capability. "iprog" is a way for terminfo to call an executable to do specialized terminal setup commands. This could be a 'C' or shell program. In the initialization program, one could send out the appropriate escape sequences, interspersed with sleeps for whatever duration necessary. Remember that this program is the first capability that is expressed when `tput init` is called, so you may want to change or re-arrange the other initialization strings (is1, is2, if, is3, rs1, rs2, rf, and rs3). If you need more information, look in the Programmer's Reference Manual at terminfo(4). It could prove illuminating. cheers, paul davis kramer