Display and Print Commands
The DISPLAY and PRINT commands display on the CRT or list on the system printer any text format file. If a file name is not given, the SUNEDIT block copy scratch file 'SCRATCH.C01' is assumed. Available commands are:
:FD"{filename}"
Display all lines from the specified file to the terminal screen.
:FD"{filename}"{n},{m}
Display lines {n} through and including {m} to the terminal screen from the specified file.
:FL"{filename}"
List all lines from the specified file to the system printer.
:FL"{filename}"{n},{m}
List lines {n} through and including {m} to the system printer from the specified file.
Note the following:
When using the line number option, if {m} is not specified, it is assumed all remaining lines in the file are to be listed or displayed.
The ESCAPE key pauses the display or listing. The ENTER key or any other FUNCTION key resumes the listing. The display or listing may be terminated by depression of an ASCII character or the ESCAPE key again.
See Also: SUNEDIT Commands, Line Edit Mode, SUNEDIT
![]() |