Next: Known_Bugs/Features Up: XPI commands Previous: ??
Execute an operating system command.
xsel > $ <command_line>
where command_line contains a UNIX command. No parsing of command_line is done by the XPI parser, therefore all the $'s, skipped fields, double quotes etc have the meaning they would in an operating system command. Also command_line must be 80 characters or less.
If the dollar sign is entered with no command_line the program opens a new shell, and a series of commands can be entered - type exit to get back into XSELECT. Spawning can be disabled by setting the environment variable DIASBLE_SPAWN.
xsel > $
Spawns a shell.
xsel > $ls
Lists the contents of the current directory.
xsel > $cp triala0.pha x1822a0.pha; ls *.pha; exit
starts up a shell, copies a file and returns to XSELECT. The $ can even be given in reply to a prompt:
xsel > set datadir > Enter the event file directory >  $ %ls ... %exit > Enter the event file directory > 
Next: Known_Bugs/Features Up: XPI commands Previous: ?? Keith Arnaud
HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public
Last modified: Monday, 19-Mar-2012 14:16:46 EDT