Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: PPP on Ultrix, and interesting SLIP/PPP hacks
Date: Sun, 23 May 1993 18:33:12 GMT	[thread overview]
Message-ID: <C7HsvD.ICI@flatlin.ka.sub.org> (raw)
In-Reply-To: 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


      reply	other threads:[~1993-05-23 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-16 14:02 PPP on Ultrix, and interesting SLIP/PPP hacks Michael Graff
1993-05-16 19:16 ` Brian D. Carlstrom
1993-05-17  0:04   ` damian
1993-05-23 18:33     ` Christoph Badura [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox