Basically, he blesses a typeglob, makes it open a pipe to itself, and sets the child to read from STDIN and display a customizable number of lines before prompting for keyboard input.
I suppose you could open a pipe to a pager program in the same fashion... but it's just sexier to bless a typeglob.
In reply to Re: Paging STDOUT?
by chromatic
in thread Paging STDOUT?
by ziva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |