next up previous contents
Next: lparm Up: XPI commands Previous: alias

log

This command opens or closes a log file.

xsel >  log <log file>

where $<$log file$>$ is the name of the file to be opened (default extension is .log). If no arguments are on the line, then the default file name is xselect.log. If $<$log file$>$ matches the string ``none'' then the current log file is closed. The log contains a complete dump of the session - to just get the commands (for a macro, for example) use the scripts command.

Examples:

xsel >  log andy

will start logging commands in andy.log

Example 2:

xsel >  log none

will turn off the logging.

Xselect will log all the output it generates, as well as the output that is generated by the spawned Ftools. This feature is not yet available on the VMS version.


next up previous contents
Next: lparm Up: XPI commands Previous: alias
Keith Arnaud
2006-07-26


HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Monday, 19-Mar-2012 14:16:46 EDT