Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/systat Change deprecated curses function to new equi...



details:   https://anonhg.NetBSD.org/src/rev/b01bca5ba91c
branches:  trunk
changeset: 518839:b01bca5ba91c
user:      blymn <blymn%NetBSD.org@localhost>
date:      Thu Dec 06 12:40:51 2001 +0000

description:
Change deprecated curses function to new equivalent.

diffstat:

 usr.bin/systat/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b36bbf3ea083 -r b01bca5ba91c usr.bin/systat/main.c
--- a/usr.bin/systat/main.c     Thu Dec 06 12:31:16 2001 +0000
+++ b/usr.bin/systat/main.c     Thu Dec 06 12:40:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.29 2001/07/14 07:09:11 matt Exp $   */
+/*     $NetBSD: main.c,v 1.30 2001/12/06 12:40:51 blymn Exp $  */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: main.c,v 1.29 2001/07/14 07:09:11 matt Exp $");
+__RCSID("$NetBSD: main.c,v 1.30 2001/12/06 12:40:51 blymn Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -229,7 +229,7 @@
        signal(SIGALRM, display);
        display(0);
        noecho();
-       crmode();
+       cbreak();
        keyboard();
        /*NOTREACHED*/
 }



Home | Main Index | Thread Index | Old Index