From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6e19a5fb2914cfc X-Google-Attributes: gid1164f8,public X-Google-Thread: 129a5e,6e19a5fb2914cfc X-Google-Attributes: gid129a5e,public X-Google-ArrivalTime: 1993-05-23 15:59:51 PST Xref: gmd.de comp.os.386bsd.development:850 comp.sys.dec:7848 Newsgroups: comp.os.386bsd.development,comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!uunet!math.fu-berlin.de!easix!flyer!flatlin!bad From: bad@flatlin.ka.sub.org (Christoph Badura) Subject: Re: PPP on Ultrix, and interesting SLIP/PPP hacks Organization: Guru Systems/Funware Department Date: Sun, 23 May 1993 18:33:12 GMT Message-ID: References: <9305170107.aa20908@post.demon.co.uk> In <9305170107.aa20908@post.demon.co.uk> damian@centrix.demon.co.uk (damian) writes: >Yes it definately does work. I have done it for exactly the same reason. >Here is a dirty hack to /sys/kern/tty_pty.c . It turns off all line >discipline checking. I'm sure a kernel guru could come up with the >correct hack^H^H^H^Hpatch. How about: *** tty_pty.c.orig Mon May 17 00:59:29 1993 --- tty_pty.c Sun Apr 11 18:32:06 1993 *************** *** 663,668 **** * the queues. We can't tell anything about the discipline * from here... */ - if (linesw[tp->t_line].l_rint != ttyinput) { (*linesw[tp->t_line].l_close)(tp, flag); tp->t_line = TTYDISC; --- 663,669 ---- * the queues. We can't tell anything about the discipline * from here... */ + if (linesw[tp->t_line].l_rint != ttyinput + || linesw[tp->t_line].l_rint != slinput) { (*linesw[tp->t_line].l_close)(tp, flag); tp->t_line = TTYDISC; -- Christoph Badura --- bad@flatlin.ka.sub.org Personally, I don't care whether someone is cool enough to quote Doug Gwyn--I only care whether Doug Gwyn is cool enough to quote. -- Larry Wall