*BSD News Article 85048


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!news.ycc.yale.edu!yale!usenet
From: Stefan Monnier <monnier@cs.yale.edu>
Newsgroups: comp.unix.solaris,comp.unix.bsd.misc,comp.unix.internals
Subject: Re: SunOS4.1.3 to Solaris2.5.1 Porting issues.
Date: 17 Dec 1996 01:40:23 -0500
Organization: Yale University, Department of Computer Science, New Haven, CT
Lines: 19
Sender: monnier@daffy.systemsx.cs.yale.edu
Distribution: inet
Message-ID: <5ln2vdllm0.fsf@daffy.systemsx.cs.yale.edu>
References: <32986299.AC7@mail.esrin.esa.it> <57ik5l$12i$1@shade.twinsun.com>
	<x7917mx5gx.fsf@dumbcat.codewright.com> <57shh0$o3u@web.nmti.com>
	<58bdl4$g68@spitfire.ecsel.psu.edu> <58ccqm$q13@web.nmti.com>
	<58hj11$bb6@panix.com> <32ADB280.55AD@jpmorgan.com>
	<58m3ne$hju@innocence.interface-business.de>
	<casper.32afd36d@mail.fwi.uva.nl>
	<593j2l$efa@innocence.interface-business.de>
	<jum-ya023680001612962351490001@baghira.han.de>
NNTP-Posting-Host: daffy.systemsx.cs.yale.edu
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.solaris:92740 comp.unix.bsd.misc:1835 comp.unix.internals:11648

jum@anubis.han.de (Jens-Uwe Mager) writes:
> I think it would be a mistake to provide sigsetmask if you are not able to
> manipulate all signals using it. As Solaris 2 uses more than 32 signals, a

I'm all in favor of pushing users to use new interfaces by dropping old
commands, but I must admit that sometimes you do need to compile old code 
or to learn about the new interface, so I guess the best way is to provide a
manpage for the old command that states something like "this command doesn't
exist any more and has been replaced by <blabla>". You could even provide an
example of "typical" translation, which might not always work but at least
gives the reader some feeling of what he has to do to get the thing running (as
well as warnings about what will not work if he uses the sample-translation
without care so that he also gets a better feeling of what exactly has been
changed by the new interface). Basically taking the programmer by the hand and
showing him how easy it is to use the new interface and hence indirectly
justifying why you didn't bother to provide the old interface.


        Stefan