Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/window +hupcl -clocal in windows.



details:   https://anonhg.NetBSD.org/src/rev/9d09d718acca
branches:  trunk
changeset: 472744:9d09d718acca
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu May 06 07:28:51 1999 +0000

description:
+hupcl -clocal in windows.

diffstat:

 usr.bin/window/wwinit.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 562f5c7df9a5 -r 9d09d718acca usr.bin/window/wwinit.c
--- a/usr.bin/window/wwinit.c   Thu May 06 06:17:39 1999 +0000
+++ b/usr.bin/window/wwinit.c   Thu May 06 07:28:51 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wwinit.c,v 1.13 1998/12/20 15:03:15 christos Exp $     */
+/*     $NetBSD: wwinit.c,v 1.14 1999/05/06 07:28:51 mycroft Exp $      */
 
 /*
  * Copyright (c) 1983, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)wwinit.c   8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: wwinit.c,v 1.13 1998/12/20 15:03:15 christos Exp $");
+__RCSID("$NetBSD: wwinit.c,v 1.14 1999/05/06 07:28:51 mycroft Exp $");
 #endif
 #endif /* not lint */
 
@@ -113,6 +113,8 @@
 #define _POSIX_VDISABLE -1
 #endif
        wwwintty.ww_termios.c_oflag &= ~OXTABS;
+       wwwintty.ww_termios.c_cflag &= ~CLOCAL;
+       wwwintty.ww_termios.c_cflag |= HUPCL;
        wwnewtty.ww_termios = wwoldtty.ww_termios;
        wwnewtty.ww_termios.c_iflag &=
                ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXOFF | IMAXBEL);



Home | Main Index | Thread Index | Old Index