From owner-freebsd-hackers Tue Oct 6 12:41:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27465 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 12:41:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27417 for ; Tue, 6 Oct 1998 12:41:14 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA17779; Tue, 6 Oct 1998 12:41:12 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017775; Tue Oct 6 12:40:42 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA21521; Tue, 6 Oct 1998 12:40:41 -0700 (PDT) From: Archie Cobbs Message-Id: <199810061940.MAA21521@bubba.whistle.com> Subject: Re: Loadable line disciplines In-Reply-To: <199810050124.VAA00729@chattpiano.com> from Tom Rush at "Oct 4, 98 09:24:42 pm" To: tom@chattpiano.com (Tom Rush) Date: Tue, 6 Oct 1998 12:40:41 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tom Rush writes: > The problem, basically, is that if the "ldisc_register()" function is > used for a non-standard line discipline, a user program cannot determine > which slot in the linesw table it was assigned to, and thus cannot set > up the tty to use that discipline. We ran in to the same problem but didn't bother solving it since the line discipline number was always the same (7). However, this would be a good change and although I haven't looked at your patches yet it sounds very much like what I was thinking at the time.. Most likely will have to wait until 3.0 is branched in any case. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message