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.




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

Last modified: Tuesday, 10-Jan-2023 11:03:00 EST