*BSD News Article 33146


Return to BSD News archive

Xref: sserve comp.os.386bsd.misc:2777 comp.os.linux.misc:20081
Newsgroups: comp.os.386bsd.misc,comp.os.linux.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!spool.mu.edu!umn.edu!newsdist.tc.umn.edu!uum1!newsserver!mark
From: mark@jupiter.aggregate.com (Mark P. Gooderum, Software Engineer)
Subject: Re: I hope this won't ignite a major flame war, but I've got to know!
Sender: usenet@newsserver.aggregate.com (Usenet News Administrative Account)
Message-ID: <MARK.94Jul22104416@jupiter.aggregate.com>
In-Reply-To: dillon@apollo.west.oic.com's message of 22 Jul 1994 00:49:37 -0700
Date: Fri, 22 Jul 1994 15:44:15 GMT
References: <30drlt$7tc@news.u.washington.edu> <30ntmh$642@apollo.west.oic.com>
Nntp-Posting-Host: jupiter.aggregate.com
Organization: Aggregate Computing, Inc.
Lines: 35

>    Another big point is the fact that Linux relies heavily on GNU
>    utilities and is ground-up ANSI-C.  The only SysVisms you really
>    have to worry about are:
>
>    	* signal() handling (you have to re-arm signals by default)

Anyone writing signal code w/o using sigaction() is asking for trouble.
Never count on how signal() behaves.  Of course on some platforms,
sigaction() is somewhat flakey, (HP/UX and SunOS 4), but it's good
accross any truely POSIX.1 platform.

>    	* directory access

NetBSD has dirent/DIR directory access.  There are minor differences
in some structure members, but if you code to the command and SysV
supported d_name/d_reclen and use the access functions, you're okay.

>    	* tty stuff -- I like the sysVish termios calls much better
>    	  then the old BSD ioctls.

"Late" BSD's including NetBSD have termios.  Agreed though, termios is
much better than sgtty.

    Linux also implements the more interesting BSD system calls such as
    mmap(), so I'm happy!

I enjoy mmap(), it's way easier to use then SYSVSHM and has better
charecteristics (like auto cleanup by the kernel).

Anyways, just more evidence that the more things go on, the more similar
they get...so use what you like and are happy with and I will to.
--
Mark Gooderum
mark@good.com