<<<<<< TIME POSE SUBROUTINE >>>>>>>>>
If they want to quit, do so
INPUT FILE PRINTING COMMANDS
__________
| text | cat
| in | pr
| a |---------------------> more
| file | nroff
|__________|
A printing program takes its input from a file ...
INPUT FILE PRINTING COMMANDS
__________
| text | cat
| in | pr
| a |---------------------> more
| file | nroff
|__________|
... and sends its output
to one of three places:
INPUT FILE PRINTING COMMANDS
__________
| text | cat
| in | pr
| a |---------------------> more
| file | nroff
|__________| |
|
_________________________________|
| ------
| | text |
_____\/______ ---------- | text |
/___________/ | | | __| text |____
| | | | Output | / |______| / |
| Terminal | | | File | --------------- |
| | | | | | | |
|------------| | | | | Printer | |
/_____________/ / ---------- | | /
|_____________|/ -------------
OUTPUT DEVICES
a terminal:
INPUT FILE PRINTING COMMANDS
__________
| text | cat
| in | pr
| a |---------------------> more
| file | nroff
|__________| |
|
------------
| ------
| | text |
_____________ ----\/---- | text |
/___________/ | | | __| text |____
| | | | Output | / |______| / |
| Terminal | | | File | --------------- |
| | | | | | | |
|------------| | | | | Printer | |
/_____________/ / ---------- | | /
|_____________|/ -------------
OUTPUT DEVICES
a file:
INPUT FILE PRINTING COMMANDS
__________
| text | cat
| in | pr
| a |---------------------> more
| file | nroff
|__________| |
|
|
| ------
| | text |
_____________ ---------- | | text |
/___________/ | | | | __| text |____
| | | | Output | | / |______| / |
| Terminal | | | File | | --------------- |
| | | | | | | | |
|------------| | | | ->| Printer | |
/_____________/ / ---------- | | /
|_____________|/ -------------
OUTPUT DEVICES
or a printer: