Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wscons Map the Home and End keys as xterm does.
details: https://anonhg.NetBSD.org/src/rev/7a0f74868bbe
branches: trunk
changeset: 472142:7a0f74868bbe
user: mycroft <mycroft%NetBSD.org@localhost>
date: Thu Apr 22 20:06:02 1999 +0000
description:
Map the Home and End keys as xterm does.
diffstat:
sys/dev/wscons/wsemul_vt100_keys.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 48c45ba715d3 -r 7a0f74868bbe sys/dev/wscons/wsemul_vt100_keys.c
--- a/sys/dev/wscons/wsemul_vt100_keys.c Thu Apr 22 18:56:55 1999 +0000
+++ b/sys/dev/wscons/wsemul_vt100_keys.c Thu Apr 22 20:06:02 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsemul_vt100_keys.c,v 1.2 1998/07/14 19:32:17 drochner Exp $ */
+/* $NetBSD: wsemul_vt100_keys.c,v 1.3 1999/04/22 20:06:02 mycroft Exp $ */
/*
* Copyright (c) 1998
@@ -170,6 +170,14 @@
case KS_KP_Next:
*out = "\033[6~";
return (4);
+ case KS_Home:
+ case KS_KP_Home:
+ *out = "\033[7~";
+ return (4);
+ case KS_End:
+ case KS_KP_End:
+ *out = "\033[8~";
+ return (4);
case KS_Up:
case KS_KP_Up:
if (edp->flags & VTFL_APPLCURSOR)
Home |
Main Index |
Thread Index |
Old Index