make ANSI C compatible; use supplied defines
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 23 Dec 1987 04:20:06 +0000 (20:20 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 23 Dec 1987 04:20:06 +0000 (20:20 -0800)
SCCS-vsn: bin/stty/stty.c 5.5

usr/src/bin/stty/stty.c

index 0dd43d4..d6cf3f5 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)stty.c     5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)stty.c     5.5 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -244,8 +244,8 @@ char        **iargv;
                }
                if (eq("dec")){
                        mode.sg_erase = 0177;
                }
                if (eq("dec")){
                        mode.sg_erase = 0177;
-                       mode.sg_kill = CTRL(u);
-                       tc.t_intrc = CTRL(c);
+                       mode.sg_kill = CKILL;
+                       tc.t_intrc = CINTR;
                        ldisc = NTTYDISC;
                        lmode &= ~LPRTERA;
                        lmode |= LCRTBS|LCTLECH|LDECCTQ;
                        ldisc = NTTYDISC;
                        lmode &= ~LPRTERA;
                        lmode |= LCRTBS|LCTLECH|LDECCTQ;