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

The HEASARC welcomes your participation in a brief survey to capture how users access and utilize HEASARC data, software, and services. The outcome(s) of this survey will be used to guide, prioritize, and plan our activities and development in the coming years. It contains 20 questions, generally takes just a few minutes to complete, and your answers will remain totally anonymous. The survey is open until Dec 18, 2023. We thank you in advance for your valuable feedback.