Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/systat Allow lower case 'q' to quit.
details: https://anonhg.NetBSD.org/src/rev/7ccf6eb5afe3
branches: trunk
changeset: 551825:7ccf6eb5afe3
user: mycroft <mycroft%NetBSD.org@localhost>
date: Fri Sep 12 17:31:26 2003 +0000
description:
Allow lower case 'q' to quit.
diffstat:
usr.bin/systat/keyboard.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 5d766ddc5001 -r 7ccf6eb5afe3 usr.bin/systat/keyboard.c
--- a/usr.bin/systat/keyboard.c Fri Sep 12 16:51:04 2003 +0000
+++ b/usr.bin/systat/keyboard.c Fri Sep 12 17:31:26 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: keyboard.c,v 1.14 2003/08/07 11:15:58 agc Exp $ */
+/* $NetBSD: keyboard.c,v 1.15 2003/09/12 17:31:26 mycroft Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: keyboard.c,v 1.14 2003/08/07 11:15:58 agc Exp $");
+__RCSID("$NetBSD: keyboard.c,v 1.15 2003/09/12 17:31:26 mycroft Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -99,6 +99,7 @@
move(CMDLINE, 0);
break;
case 'Q':
+ case 'q':
command("quit");
break;
case ':':
Home |
Main Index |
Thread Index |
Old Index