Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/wscons Pull up revision 1.3:
details: https://anonhg.NetBSD.org/src/rev/c9edcb18c349
branches: netbsd-1-4
changeset: 469411:c9edcb18c349
user: he <he%NetBSD.org@localhost>
date: Sat Sep 18 18:24:57 1999 +0000
description:
Pull up revision 1.3:
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 1ee02dac0328 -r c9edcb18c349 sys/dev/wscons/wsemul_vt100_keys.c
--- a/sys/dev/wscons/wsemul_vt100_keys.c Sat Sep 18 01:20:22 1999 +0000
+++ b/sys/dev/wscons/wsemul_vt100_keys.c Sat Sep 18 18:24:57 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.2.8.1 1999/09/18 18:24:57 he 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