*BSD News Article 24562


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!howland.reston.ans.net!cs.utexas.edu!swrinde!menudo.uh.edu!uuneo!sugar!smace
From: smace@NeoSoft.com (Scott Mace)
Subject: Re: Making Kermit and UUCP lockfile conventions.
Organization: NeoSoft Internet Services -- +1 713 684 5969
Date: Tue, 30 Nov 1993 20:32:34 GMT
Message-ID: <CHBnqD.AsF@sugar.NeoSoft.COM>
References: <9311290747.AA03659@cthulhu>
Lines: 43

Check out the FreeBSD port I did of Kermit189 freebsd.cdrom.com in /pub/FreeBSD/packages/kermit_src.tgz

If you want the cutting edge kermit 190 development version, you can ftp the
sources from netport.neosoft.com:/pub/FreeBSD/beta-ports

In article <9311290747.AA03659@cthulhu> Mike Long <Mike.Long@analog.com> writes:
>I'm learning a lot about UUCP lockfile conventions while trying to
>build C-Kermit 5A(189).  The convention used by tip(1) and cu(1) in
>NetBSD-0.9 is that lockfiles are kept in /var/spool/lock in files
>named 'LCK..<device>', where <device> is the name of the serial port
>in use (e.g., tty00).
>
>C-Kermit, on the other hand, seems to expect lockfile names using the
>SVR4 format, which is something like 'LK.<x>.<y>.<z>'.  Two of the
><x>/<y>/<z> variables are the major and minor device numbers of the
>serial port in use; I can't remember what the other one is at the
>moment.  C-Kermit uses this convention when built using 'make bsd44'.
>Note:  In order to get the correct lock directory, the command
>actually has to be:
>
>make bsd44 KFLAGS='-DLOCK_DIR=\\\"/var/spool/lock\\\"'
>
>So, should I dig into the Kermit source to make it match tip(1)?
>Or, should I update my system to match what C-Kermit thinks is the
>standard BSD 4.4 lockfile system?  In which direction is NetBSD going?
>
>The SVR4 system seems better, because it can't be broken when you have
>two devices with the same major/minor numbers but different names, as
>is the case with /dev/tty00 and /dev/com0.
>
>(P.S.  I downloaded the 'ported' C-Kermit source from
>alpha.gnu.ai.mit.edu.  The included binary doesn't even get the lock
>directory right; it uses /var/spool/uucp.)
>-- 
>Mike Long                                         Mike.Long@Analog.com
>VLSI Design Engineer                              voice: (617)461-4030
>Analog Devices, SPD Div.                            FAX: (617)461-3010
>Norwood, MA 02062                            *this = !opinion(Analog);


-- 
smace@neosoft.com -- Neosoft sysadmin 
The answer to the meaning of the universe is 42.