To display a file on the terminal:
L file L file +ty P file file file ...
To send the display of the file into another file:
L file >outfil P file file file ... >outfil
To print a file on the line printer:
SLIST file file file... b="banner" SLIST x=index KLIST file file file... b="banner" KLIST x=index
There are several ways to display files on a terminal or print them on the line printer. This explain file is a brief introduction to the commands available for such purposes. Note that this introduction only describes the most elementary uses of these "printing" commands. For full details, see the individual explain files (e.g. "expl l", "expl slist", and so on).
If you specify an ">outfil", P sends its normal output to the file you name.
Instead of specifying files on the command line, you can put a list of the files you wish to SLIST in an "index" file and use the "x=index" option of SLIST. Thus if the file "lll" contains
file1 file2 file3
the command "slist x=lll" will SLIST the three given files. In this case, the banner used is the name of the index file (i.e. "lll").
Another popular SLIST option is "+Headings". When "+h" is specified on the command line, each page of output will be given a heading that tells the current date and time, your userid, and the name of the file being listed. Pages will be numbered at the bottom.
When you use SLIST or KLIST to send something to the line printer, your output is placed in a queue known as the "backdoor". Items in this queue are printed in the order that they are submitted; thus if there are a lot of listings ahead of your listing, it may take a while for yours to come off the printer. The BKDR command will tell you whether your listing(s) are still in the queue waiting to be printed. For example,
bkdr +all
shows everything that is waiting to be printed.
Copyright © 1996, Thinkage Ltd.