

nu/TPU is well suited for creating batch mode processes that manipulate text
files. Typically, development of nu/TPU code to process a text file takes
significantly less time than writing the application in languages such as Fortran, C,
or COBOL. nu/TPU can be used to create the same type of text file processing
filter as the UNIX Awk utility. nu/TPU allows you to develop both batch and full
screen interactive text manipulation applications with one language.
When developing batch mode processes, all of the rules for the nu/TPU language
apply unchanged. The only difference is that built-in procedures for screen
management are not used.
si Command Line
The DO and CTRL-B keys provide access to the si command line which supports over 150 commands. The commands provide
functionality for the following areas: text manipulation, buffer and window management,
cursor movement, pattern searching, extending and customizing functionality,
multiple process management, learn key sequences, defining new key-mappings, and
other miscellaneous topics. Probably the best place to start reviewing the si commands is with the HELP command. By pressing the DO key and entering HELP,
you will be able to see all the si commands grouped by functionality. To get more information on a specific
command, enter its name.
Both command completion and command history recall are provided to reduce
typing and improve productivity. When an incomplete command is entered, an attempt
at completing the command is made. More of the command name must be supplied to
make the command unique. For example, if “PREV” was entered as a command, the
two commands PREVIOUS SCREEN and PREVIOUS WINDOW would be presented in the
CHOICES window. To execute the PREVIOUS WINDOW command, the command could be
completed by entering a space and a “W”. The remainder to the word PREVIOUS is not
required in this case because there is no ambiguity on the first word of the
command.
Batch Mode Processing