From owner-freebsd-hackers Thu May 4 11:09:52 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA18107 for hackers-outgoing; Thu, 4 May 1995 11:09:52 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id LAA18099 for ; Thu, 4 May 1995 11:09:47 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA08554; Thu, 4 May 95 12:02:36 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9505041802.AA08554@cs.weber.edu> Subject: Re: slattach!!!!!!! To: bde@zeta.org.au (Bruce Evans) Date: Thu, 4 May 95 12:02:35 MDT Cc: daveh@CSUA.Berkeley.EDU, rgrimes@gndrsh.aac.dev.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199505040217.MAA30609@godzilla.zeta.org.au> from "Bruce Evans" at May 4, 95 12:17:53 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk > >> suppose slattach -r dialscript /dev/cua02 > >> where dialscript is a shell scirpt or a expect script... > >> when the line disconnects, the script is started but it receives a HUP > >> signal. > > >How can you get a HUP signal from the dial out device???? What version > > In the usual way: by making the dial out device a controlling terminal. > slattach does this. This has some rather profound mgetty implications, notably with regard to controlling tty and first opener for process group leader, since mgetty will have the port open first. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.