- Recalling Commands
- You can recall a command you entered earlier with the
!
character.
nM> result x 10
nM> set x 5
nM> !r
nM> result x 10
- Command History
- The
HISTORY
command can be used to show the last set of commands entered.
nM> history r
nM> history r
res x
res x TRUE
res x "a string"
res aux.write
res reg.handlers.file
res datDir
res t:tbl filetag.toTable(R_)
res tbl
res/all tbl
- Extending Command Line Input
- Long commands may be continued with the
&
character
- For example,
nM> plot {LT="NMS",URL="http://nextmidas.com:8080/nms/",&
--> BACKGROUND="BLUEMARBLE"}|world.shp{LAYER={LABEL="NAME",OPAQ=0}} &
--> view=latlon
- Tab Completion
- The
[TAB]
key can be used to complete commands, results, table keys and filenames.
- Results are given precedence over file names.
- Note: The shell will tab complete absolute paths
(ex: "stat /var/" will tab complete, but "cd /" then "stat var/" will not.)
- Command Parameter Completion
- The
?
character can be used to prompt for command parameters.
nM> waveform ?
OUT = temp
FORM = CF
ELEM = 4K
SHAPE = SIN
AMP = 1
FREQ = .01
PHASE = 0
START = 0
DELTA = 1
nM> WAVEFORM,OUT=temp,FORM=CF,ELEM=4K,SHAPE=SIN,AMP=1,
FREQ=.01,PHASE=0,START=0,DELTA=1