From owner-freebsd-hackers Fri May 5 14:56:16 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA14598 for hackers-outgoing; Fri, 5 May 1995 14:56:16 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id OAA14556 for ; Fri, 5 May 1995 14:55:25 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA09462; Fri, 5 May 1995 23:54:38 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA17768 for freebsd-hackers@freebsd.org; Fri, 5 May 1995 23:54:37 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id XAA28103 for freebsd-hackers@freebsd.org; Fri, 5 May 1995 23:47:22 +0200 From: J Wunsch Message-Id: <199505052147.XAA28103@uriah.heep.sax.de> Subject: Re: slattach!!!!!!! To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Date: Fri, 5 May 1995 23:47:21 +0200 (MET DST) Reply-To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) In-Reply-To: <199505051237.WAA21254@godzilla.zeta.org.au> from "Bruce Evans" at May 5, 95 10:37:30 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 841 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Bruce Evans wrote: > > I don't think mgetty can work with slattach or anything that doesn't use > lockfiles. The precise behaviour depends on which port slattach opens: > > dialout port: the open will fail because mgetty has the dialin port open mgetty has the dialout port open. slattach needs a wrapper (i wrote a Perl one) that creates proper lock files, when used concurrently with mgetty. Since slattach can fork several times, i made my Perl wrapper spawning a ``lock daemon'', an idle process just to provide for a valid PID to be entered in the lock file. Everything is a crock, but mostly works. One day i will get a real modem and rm mgetty in favour of the regular getty. :) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)