From owner-freebsd-current Fri Mar 8 22:31:11 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA24886 for current-outgoing; Fri, 8 Mar 1996 22:31:11 -0800 (PST) Received: from w2xo.pgh.pa.us (w2xo.pgh.pa.us [206.210.70.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA24881 for ; Fri, 8 Mar 1996 22:31:06 -0800 (PST) Received: (from durham@localhost) by w2xo.pgh.pa.us (8.6.11/8.6.9) id BAA04346; Sat, 9 Mar 1996 01:21:35 -0500 Date: Sat, 9 Mar 1996 01:21:30 -0500 (EST) From: Jim Durham To: current@freebsd.org Subject: pty problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: owner-current@FreeBSD.ORG Precedence: bulk I had a need to use slattach with a pty to connect an application that understands SLIP to the kernel networking. It appears that the pty driver causes an error if ioctl's are sent to it that are meaningless to a pty, but needed for a serial port. Slattach will bomb with these errors. Is there some reason that the pty driver must return an error when it receives an ioctl that it cannot use? I tried to modify the source to just ignore meaningless ioctls, and managed to crash the kernel! Who is the person that maintains the pty driver? -regards -Jim Durham