[TUHS] pre-more pager?
krewat at kilonet.net
Thu Nov 9 05:06:46 AEST 2017
^S (stop) and ^Q (continue) at 1200 baud or less worked OK, especially
on paper terminals ;) -- (Clem just beat me to it)
head and tail would work too (although I'm not sure they existed at that
time, I'm no expert):
cat filename | head -20 # get the first page.
cat filename | head -40 | tail -20 # get the second page.
On 11/8/2017 1:54 PM, Will Senn wrote:
> In looking around the system v7 environment, I don't see a more command anywhere. I downloaded, converted, and attached 1bsd, 2bsd, and finally 3bsd and it was there that I found source for more... 3bsd looks like it's for VAX, not PDP-11, and it doesn't want to compile (looking for some externs that I gather are part of the distro's clib).
> I may jump ship on V7 and head over to 2.9BSD, which, as I understand it, is a V7 with fixes and these kind of additional tools...
> In the meantime, how did folks page through text like man sh and such before more? I know how to view sections of text using sed and ed's ok for paging file text (painful, but workable). I just can't seem to locate the idiomatic way of keeping everything from constantly scrolling out of view! Obviously, this isn't a problem on my mac as terminal works fine, but I like to try to stay in character as a 1970 time traveling unix user :).
> Sent from my iPhone
More information about the TUHS