-Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds - scripts next up previous contents
Next: search path Up: commands Previous: recall

scripts

script - open, close or use a script file

At any prompt, it is possible to cause GTBUF to start reading from a script (indirect command file). For example,

Do you wish to continue? @YES.XCO

would cause GTBUF to search for the file YES.XCO. If the file is found the GTBUF would open the file, and read the answer from it. Thus the first line in YES.XCO should contain either yes or no.

To open a script file for keystroke recording, give the command

xsel > script <script file>

where <script file> is the name of the file to be opened (default extension is .xco). If <script file> matches the string``none'' then the current script file is closed. The script contains a list of the commands executed - to get a complete dump of the session use the log command.

Examples: Example 1:

xsel > script michelle

will start putting commands into michelle.xco

Example 2:

xsel > script none

stops recording commands and closes the script file.



Umit Kiziloglu
Sun Dec 1 15:15:52 EET 1996