From: will.senn@gmail.com (Will Senn)
Subject: [TUHS] pre-more pager?
Date: Wed, 8 Nov 2017 16:20:44 -0600 [thread overview]
Message-ID: <5980db87-fc47-7315-bf80-eb073aef3872@gmail.com> (raw)
In-Reply-To: <38D56F21-9AF6-4A00-995F-DAAD6570BC51@planet.nl>
On 11/8/17 4:02 PM, Paul Ruizendaal wrote:
>> Regarding the links and old bsd's. The binary cr3 on 1bsd works in v7.
>> Also, the book I'm reading has a c program that does paging. But, I'm
>> always off down the rabbit hole... I tried to compile the cr3.c source
>> and I get this error:
>>
>> # cc cr3.c
>> Undefined:
>> _fout
>> _flush
>> _getc
>> _end
>>
>> My understanding is that cc includes libc by default, so these must not
>> be in libc. But getc is standard lib, so what am I missing?
> That source is for V6 not V7. V6 did not have the stdio lib yet, but a precursor to that.
> The binary you are using has the older io routines statically linked in.
>
> Paul
>
Great answer - very clear. I was curious why the binary worked. I was
able to get the 2BSD version (thanks Clem) to compile and run on V7.
Will
--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF
next prev parent reply other threads:[~2017-11-08 22:20 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-08 22:02 Paul Ruizendaal
2017-11-08 22:20 ` Will Senn [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-11-09 16:19 Norman Wilson
2017-11-09 16:48 ` Arthur Krewat
2017-11-09 17:19 ` Steve Nickolas
2017-11-09 18:15 ` Don Hopkins
2017-11-09 18:26 ` Arthur Krewat
2017-11-09 13:33 Doug McIlroy
2017-11-08 22:58 Doug McIlroy
2017-11-08 20:28 Noel Chiappa
2017-11-08 20:02 Noel Chiappa
2017-11-08 20:11 ` Forrest, Jon
2017-11-10 5:26 ` Random832
2017-11-10 7:31 ` Otto Moerbeek
2017-11-08 20:18 ` Clem Cole
2017-11-08 20:28 ` Ron Natalie
2017-11-08 22:47 ` Dave Horsfall
2017-11-08 19:23 Noel Chiappa
2017-11-08 18:54 Will Senn
2017-11-08 18:59 ` Clem Cole
2017-11-08 19:06 ` Arthur Krewat
2017-11-08 19:31 ` Jeremy C. Reed
2017-11-08 22:43 ` Dave Horsfall
2017-11-08 22:47 ` Arthur Krewat
2017-11-08 23:21 ` Dave Horsfall
2017-11-09 4:38 ` Will Senn
2017-11-09 13:18 ` Dan Cross
2017-11-09 14:29 ` Will Senn
2017-11-09 20:53 ` Dave Horsfall
2017-11-10 0:15 ` Arthur Krewat
2017-11-10 2:14 ` Ralph Corderoy
2017-11-08 19:12 ` Bakul Shah
2017-11-08 19:22 ` Random832
2017-11-08 21:18 ` Will Senn
2017-11-08 21:59 ` Ron Natalie
2017-11-08 22:00 ` Clem Cole
2017-11-08 22:18 ` Will Senn
2017-11-09 2:01 ` Steve Johnson
2017-11-09 2:16 ` Lyndon Nerenberg
2017-11-08 19:29 ` Forrest, Jon
2017-11-08 19:43 ` Ron Natalie
2017-11-08 21:03 ` Mark Green
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5980db87-fc47-7315-bf80-eb073aef3872@gmail.com \
--to=will.senn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).