1 help  
List the commands available to the user and/or give further information 
on the commands. Format is: 
        > help [command name] [subcommand name]
e.g.
        > help compile                  ! give a summary of compile
        > help compile list             ! describe the subcommand list
        > help,all                      ! give the heading description of 
                                        ! all commands
        > help,all <command name>       ! give all subcommands for a
                                        ! given command
        > help,all all                  ! gives the complete 
                                        ! description of NORA commands.

1 exit  
Terminate a session with NORA.  

1 compile
Compile an EVAL program. The program must be present on disc in "editor"
format. The command has the format: 
	> compile [subcommands]

2 program
Select the program file to compile, this subcommand is mandatory. The
format is:  
	> compile program,<filename[.filetype]>
If the optional filetype is not given, a default type of .evl is assumed.
The compilation produces a code file and a table file which are stored  
under the same name with types of .ndc and .ndt respectively. The program
file may be written with small and capital letters, but all are translated  
to capital letters before compilation.  

2 list  
A listing of the EVAL program appears on the terminal.  

2 details
Lists and translates the generated codefiles. If you need to use this
facility, you are in trouble.

1 load  
Load a code file or an array from the VAX to one of the NORD computers.
Reservation of the NORD will take place first time a load command is issued
with subcommand 'program', unless the nord have been allocated 
seperately. The command format is:  
	> load [subcommands]
You will be prompted for thethe values of buffersize, conversionmode 
(i.e. computer from which the eventtapes came) and initial reset, if this
is not specified with subcommands.

2 program
Select the code file to load, this subcommand is mandatory and has the  
format: 
	> load program,<filename>  
The file name given is the common name for code- and table files, both  
of which must be present as latest versions with the default filetypes. 
You are asked for specification of the computer number, bufferlength
and initial reset of the spectra unless specified by allocate command
and use of subcommands.

2 details
Dumps information on the loadaddresses in the NORD, both for load of 
program and array. Subcommand is intended for debugging.

2 array
Select the array to load. The format is:
	> load array,<array-name>,<file-name>
The arrayname is the one used in the EVAL program, and the file 
containing the array must be created in free format with 8 integer*2
numbers pr. line.

2 buffer
Specify the size i 8-bit bytes of one block of events on the 
eventtape. Format is:
	> load ... buffer,<size>
The size should be larger than or equal to the size of the buffer, if
it is too small the bookkeeping output after execution of a read 
command specify the number of tapebuffers that were greater than the
specified size.

2 tape
Specify the computer (conversion mode) at which the data were 
collected. Format is:
	> load ... tape,<mode>
The conversion modes are:
	10	computer ND10/100
      4000	   -"-	 RC4000
	 1	   -"-   modcomp1 (Berkeley)
      1134	   -"-   pdp1134 (Washington Univ.)
	 9	   -"-   LASL P9 (Los Alamos)

2 reset
Reset the external memory rigth after load of program.

2 noreset
No reset of externam memory at load time.

1 read  
Start reading and sorting of an eventtape mounted on the NORD computer. 
The format is:  
	> read [subcommands]  

2 tp
Define the name of the tape and the file/blocks to read. The format is: 
	> read tp,<tapename>[,file,block,no. of blocks]
File, first block and number of blocks to read are integers, which may  
be omitted from the rigth, in which case the appropriate default values 
are choosen from: file=0, first block=0, no. of blocks=32767. Reading
continues for "no. of blocks" unless an eof is found before.

2 rewind
Rewind the tape after reading.  

2 unload
Unload the tape after reading.  

1 rewind
Rewind the mounted tape. Format is: > rewind  

1 unload
Unload the mounted tape. Format is: > unload  

1 list  
List the names of all variables and gates. Together with the name is
given the value(s) presently defined in the NORD. Format is:
	> list

1 change
Change the value or limits in the NORD of variables or gates in the 
presently loaded program. The format is:
	> change subcommand
Please note that these changes are not introduced into the code and 
table files.

2 variable  
Specify a variable to be changed. Format is:
	> variable,<var. name>[,new value]
If the new value is not given the program prompts for it.

2 gate  
Specify a gate to be changed. Format is:
	> gate,<gatename>[,new-low,new-high]  
If the new values are not given, the program prompts for them.  

1 continue
Continue sorting after reentering NORA. The format is:
	> continue
This will reestablish the reservation of the ND, and reload previously
defined parameters, programfile name etc. USE OF THIS COMMAND REQUIRES
SOME INTELLIGENCE, because you are in trouble if the content of the ND
have been changed since the continue file NDPARAM.NDS was created.

1 proc
  This covers a set of command file procedures.
  You can call command procedures in several levels ( up to 7).
   A command file is a textfile e.g. created by the editor which
  containe SAP commands as you will write them on the terminal.
  It is possible to transfer parameters in a call of the command
  procedure.
2 call
  Switch the input to be taken from a command procedure.
  The type of the file is assumed to be of kind ".com" if not
  specified.
  format:
	call,<procedure file>(,<param1>,...)

  The parameters are standard parameters as an integer, real or
  name which will be substituted into the parameters %1 ,%2 ,...
  which are referenced in the command procedure.
  The command procedure must terminate with a 'return'.
2 pause
  This command can be given in a command procedure so the user will
  gain control over the command input , which will be from the console
  until a 'resume' command is given.
2 resume
  Continue taking input from a command procedure if possible.
2 terminate
  The input from the command procedure is terminated. This command
  is usefull to execute after a command processing error which will
  cause the execution of a 'pause' command.
1 logical
  A set of command to list, add or remove a logical name from the
  set of logical names.
2 list
  List the equivalence strings for a logical name
  format:
  logical list		! list all logical names
  logical list,<logname> ! list the logical name <logname>
2 define
  Define a new logical name
  format:
	logical define,<logicalname>,<equivalence name>

 The logical name <logicalname> is assigned the value of
 <equivalence name>.
 The equivalence name can either be a simple name, or a string
 enclosed in double quotes ("...... " ). In the latter case you
 can have spaces in a equivalence name.
2 remove
 Remove a logical name
 format:
	logical remove,<logicalname>
1 title
Allows a change of the main title of all the NORA spectra at once. 
Format is:
	> title
The program will write ':"old title" ', and on the next line the title
may be entered. Spaces in the beginning of the new title will 
dublicate the corresponding part of the old title, and a RET in the 
beginning of the line keeps the old title.

1 allocate
Allocate the NORD computer. The format is:
	> allocate nord,nord10 (nord100)
note that this reservation is kept at exit from the program (i.e. at 
shifts between NORA and SAP). To deallocate use the "deallocate" 
command. If no NORD is allocated at time of load, you will be prompted 
for the NORD number, and the allocation is performed automatically.

1 deallocate
Deallocate the NORD computer. The format is:
	> deallocate
This command may also be issued imediately at entering the program, in 
which case any possible ND reservation the process may have is 
disconnected.

1 copy
Copy the sorted spectra from the external memory to a spectrum file
in the VAX. The format is
	> copy to,<specfile> [spectra,<speclist>]
A usual output will document the copying.

2 to
Mandatory subcommand to copy specifies the spectrum file to which the 
spectra is transfered (i.e. to,dra1:[oa]spectra), this file will have 
the prefix 's' in the listing of the copy spectra.

2 spectra
This subcommand allows that only part of the ND spectra are copied, 
the spectrum list must be made in one of the normal ways (i.e. spec,n  
spec,n3,to7 or spec,n1,n4,n22), and always have the prefix 'n'. In the 
documentation list the ND spectra will also appear with 'n' as prefix.

2 negative
This subcommand will allow the external memory content to be 
interpreted as numbers between +/- 500k instead of the default
interval 0-1M.

1 reset
Reset all the spectra, defined by the loaded program, in the external 
memory. Format is:
	> reset

1 add
Add one spectrum from the external memory to a spectrum file in the
VAX. The format is:
	> add spec,<specname> to,<specname> file,<filename> [noquery] -
		[negative]
Before adding it is checked that the spectrum limits of the two 
spectra are consistent.

2 spec
Mandatory subcommand to specify the spectrum number of the xmem spectrum 
that is being transfered to the VAX. The spectrum must have prefix 'n'.

2 to
Mandatory subcommand to specify the spectrum number of the VAX 
spectrum into which the xmem spectrum is being added. The spectrum 
must have prefix 's'. You will be prompted for an eventual change of
the title of this spectrum.

2 file
Mandatory subcommand to specify the spectrum file in the VAX (i.e.
file,[oa]spectra).

2 negative
This subcommand will allow the external memory content to be 
interpreted as numbers between +/- 500k instead of the default
interval 0-1M.

2 noquery
Suppress the prompting for new title and subtitle on the output
spectrum. This will keep the old title unchanged.

