User guide
114 CHAPTER 4. THE COMMAND LANGUAGE
wise it is sent to the standard output stream. The MSECS options causes the time to
have higher precision. Typical output is as fol l ows:
Monday 23-Apr-2010 14:04:12
Monday 23-Apr-2010 14:04:14.392
date TO/K CIN:y, POS:y, NAT:y
This commands output the current date to the TO file, if specified, otherwise it is
sent to the standard output stream. Typical output is as follows:
Monday 23-Apr-2010
delete ,,,,,,,,,-f/S CIN:y, POS : y, NAT:y
This command will delete up to te n given files. If the -f argument is given, no
error message is generated if any file to be deleted doe s not exist.
detab FROM/A,TO/K,SEP/K CIN:y, POS:y, NAT:y
This command copies the file give by the FROM argument to the file given by the TO
argument replacing al l tab characters by spaces. The tabs are separated by a distance
specified by the SEP argument. The default is 8.
dumpmem ON/S,OFF/S CIN:y, POS:y, NAT:y
The ON switch causes Cintsys or Cintp os to dump the entire Cintcode memory in
a compacted form whe n a fault is encountered. W i th out the ON switch this command
dumps the Cintcode memory immediately. Such memory dumps are sent to the file
DUMP.mem for later i ns pection by commands such as sysdebug, dumpsys, posdebug and
dumppos.
dumppos FROM,TO/K CIN:y, POS:y, NAT:y
This outputs a readable form of a Cintpos memory dump specified by the FROM
argument. If FROM is not gi ven it uses the file DUMP.mem. The output is sent to the TO
file if given, otherwise it goes to standard output.
dumpsys FROM,TO/K CIN:y, POS:y, NAT:y
This outputs a readable form of a Cintsys memory dump specified by the FROM
argument. If FROM is not gi ven it uses the file DUMP.mem. The output is sent to the TO
file if given, otherwise it goes to standard output.
echo TEXT,TO/K,APPEND/S,N/S CIN:y, POS:y, NAT:y
This command outputs its first argument TEXT, if given. The text will be followed
by a newline unless the switch N is set. If the TO argument is given, text is sent to the
specified file othewi s e it goes to the standard output stream. The APPEND switch causes
the output to be appended to the TO stream, after creating and empty file if necessary.
edit FROM/A,TO,WITH/K,VER/K,OPT/K CIN:y, POS:y, NAT:y
This command is meant to provide a simple line editor. It used t o run on the Tripos
Portable Operating System but has not yet been mo di fie d to r un on t hi s version of the
system.