terminal paging
Tim Smith
tim at callan.UUCP
Sun Apr 1 10:00:02 AEST 1984
#!/dev/persons/you
If terminal paging in the tty driver has reasonable defaults, say
24 lines/screen, 80 characters/line, whatever the most common terminal
on your system does with long lines, then most people could get by
with a simple
stty page
in their .profile ( oh, all right, .login ). And if by some chance
they are on a terminal that this is not appropriate for, it is not
much work to have a shell script ( oh, all right, an alias ) so that
lines 64
sets up for their terminal, or even a script ( alias ) so that, say,
cit500
sets up for a cit500, etc, etc.
If I were doing page mode, I think I would only have it apply
to output in "cooked" mode. This way, most editors, etc, don't
have to be changed to save/restore the state of paging when they
set up the terminal.
Tim Smith
{decvax,ucbvax}!ihnp4!sdcrdcf!trwrb!wlbr!callan!tim
More information about the Comp.unix
mailing list