next up previous contents index
Next: Other retentions Up: Interactively retaining output Previous: Retaining from standard adjustments

Recording input and output

Record screen output
 


tex2html_wrap_inline33790 tex2html_wrap_inline33790 Syntax

  1. BD>keep : log =F tex2html_wrap_inline33712

  2. BD>keep : -log  tex2html_wrap_inline33712

where F is the name of a file.

tex2html_wrap_inline33806 tex2html_wrap_inline33806

The first form of the syntax is used to switch on the recording of output into the file name F supplied. The file will be written to the current directory. If the file already exists, it is overwritten. If the recording of output is already switched on and directed to a different file, this file is closed down and retained.

The second form of the syntax is used to turn off the recording of output. The associated file is closed and retained.

Output essentially refers only to the [B/D] output that has been selected by using the OPTION:  command. Output is flushed to file (or screen and log file, if any) at the end of each command. If a crash happens during a command, any output from that command will be lost. Output redirected from screen to file is not reproduced on the log file.  

Record keyboard input
 


tex2html_wrap_inline33790 tex2html_wrap_inline33790 Syntax

  1. BD>keep : history =F tex2html_wrap_inline33712

  2. BD>keep : -history  tex2html_wrap_inline33712

where F is the name of a file.

tex2html_wrap_inline33806 tex2html_wrap_inline33806

The first form of the syntax is used to switch on the recording of keyboard input via the command history  into the history file  given by the name F supplied. The file will be written to the current directory. If the file already exists, it is overwritten. If the recording of keyboard input is already switched on and directed to a different file, this file is closed down and retained.

The second form of the syntax is used to turn off the recording of keyboard input. The associated file is closed and retained.

The individual commands and so forth which constitute the keyboard input are output at regular intervals: whenever the list of recorded items becomes full, the older half of the list is dumped to file. The total number of records in the list is fixed - its value can be seen if you issue a LOOK:  command with the program  argument. The list is fully flushed to the file whenever the file is closed down using the second form of the syntax and also when the program is terminated. Note that the delay in dumping records to file allows limited editing of the recorded items. See, for example, the /:  command.

The command line which switches on or off recording is not recorded, and nor is the command which stops the program.  


next up previous contents index
Next: Other retentions Up: Interactively retaining output Previous: Retaining from standard adjustments

David Wooff
Wed Oct 21 15:14:31 BST 1998