Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 1996 10:48:30 +0100
From:      roberto@keltia.freenix.fr (Ollivier Robert)
To:        freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/2307
Message-ID:  <Mutt.19961229104830.roberto@keltia.freenix.fr>
In-Reply-To: <199612281822.KAA20072@freefall.freebsd.org>; from Jordan K. Hubbard on Dec 28, 1996 10:22:06 -0800
References:  <199612281822.KAA20072@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Jordan K. Hubbard:
> Synopsis: Signals are ignored (esp. ^Q) and output is mangled
> 
> Responsible-Changed-From-To: freebsd-bugs->jkh
> Responsible-Changed-By: jkh
> Responsible-Changed-When: Sat Dec 28 10:21:48 PST 1996
> Responsible-Changed-Why: 
> My bug - I probably broke it in the first place. :)

Backing out the following patch is indeed the solution... Why did you
change the mode anyway ? :-)

revision 1.8.2.2
date: 1996/12/17 15:20:20;  author: jkh;  state: Exp;  lines: +1 -1
Don't use CBREAK, use RAW.

--- watch.c	Sun Dec 29 10:44:37 1996
+++ /usr/src/usr.sbin/watch/watch.c	Thu Dec 19 20:29:56 1996
@@ -96,7 +96,7 @@
 	ioctl(std_in, TIOCGETC, &tco);
 	sgn = sgo;
 	tc = tco;
-	sgn.sg_flags |= CBREAK;
+	sgn.sg_flags |= RAW;
 	sgn.sg_flags &= ~ECHO;
 	ospeed = sgo.sg_ospeed;
 	tc.t_intrc = 17;	/* ^Q */

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
  FreeBSD keltia.freenix.fr 3.0-CURRENT #33: Sat Dec 21 12:57:17 CET 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961229104830.roberto>