
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
Short: | Amiga pager w/ source |
Author: | Thomas.Radtke rz.uni-osnabrueck.de |
Uploader: | Thomas Radtke rz uni-osnabrueck de |
Type: | util/cli |
Architecture: | m68k-amigaos |
Date: | 1996-03-06 |
Download: | util/cli/pg.lha - View contents | Readme: | util/cli/pg.readme |
Downloads: | 513 |
|
---------------------------------------------
|-> REPLACEMENT FOR MY OLD ARCHIVE PG.LHA <-|
---------------------------------------------
This small pager helps you to format input from stdin. It knows
about your console window size (if any, else one will be created) and
interrupts the output every page (well, this is what a pager should
do). You can enter 'q' after the [More] input request to switch off
the formatting, text goes then directly to stdout.
'pg' is freeware, (C) Thomas Radtke 1996.
Installation:
copy the pg command to anywhere in your command path. Do with the rest
what you want.
Syntax:
pg [filename]
If the filename is omitted, source of input is stdin.
Note: pg can be started from workbench, please do not rename the
command. This is important!
Examples:
dir | pg ; from stdin
pg pg.c ; from file pg.c
pg <pg.c ; from stdin
-> You may want to have a 'pipe' command installed. Take a look at
various projects on Aminet.
bugs:
(i) not really a bug, but...
The pager does not work with output that goes to stderr, like gnuc's
error reports (however, it works with Aztec-C :).
(ii) expected bug
For bugs, pg is a very atractive place to be. If you have a different
input handler, or the text to be formatted contains CSI sequences,
output could be very well trash. If YOU know a way to determine the
size of a string (in units of visible characters) on the console, let
me know. On way is to create a virtuel console, send output to it and
take a look at the results. Good luck if you want to try something
similar.
Enjoy,
Thomas Radtke
|
Contents of util/cli/pg.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 928 1713 54.2% -lh5- 217f Mar 5 1996 pg.readme
[generic] 905 2031 44.6% -lh5- 617b Mar 5 1996 pg.c
[generic] 10744 19928 53.9% -lh5- 6d38 Mar 5 1996 pg
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 3 files 12577 23672 53.1% Mar 6 1996
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |