BOOKS: Advanced UNIX(TM) Programming

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sat Nov 30 14:13:50 AEST 1985


>  For portability, one should be programming
> in what's common to System V and BSD.

That's nice when you can arrange it, but the "lowest
common denominator" is pretty low indeed.  One problem
with the /usr/group Standard was that it often settled
for the lowest common denominator of systems like 7th
Edition, Xenix, System III, etc. and this meant omitting
altogether the terminal handler ioctls and so forth.
Real applications need a higher level of support than
that, so for maximum effect a portable environment needs
to be more than whatever is common across UNIX variants.
IEEE P1003 is aware of this and are trying to establish
a sufficiently high-level standard system interface.  It
happens to be based on System V, but so far it has not
ruled out implementation on 4BSD kernels.  One hopes at
some future date the standard interface will be provided
automatically by most UNIX system vendors.

Meanwhile, there shouldn't be much work involved in
adapting the BRL UNIX System V emulation for 4.2BSD to run
on 4.1BSD.  Few of the new 4.2BSD features were used;
indeed, quite a bit of the emulation is there just to work
around things like the new signal behavior, so one could
just remove that and use a direct interface for 4.1BSD.
If someone has done or wants to do this work, I would be
glad to give technical advice and to distribute the result.



More information about the Comp.unix mailing list