Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wscons Add mappings for KS_End/KS_KP_End, so that th...
details: https://anonhg.NetBSD.org/src/rev/7bc2f9ddaa86
branches: trunk
changeset: 752939:7bc2f9ddaa86
user: jdc <jdc%NetBSD.org@localhost>
date: Fri Mar 12 08:40:50 2010 +0000
description:
Add mappings for KS_End/KS_KP_End, so that the `End' key actually does
something.
diffstat:
sys/dev/wscons/wsemul_sun.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r fcabbee347c4 -r 7bc2f9ddaa86 sys/dev/wscons/wsemul_sun.c
--- a/sys/dev/wscons/wsemul_sun.c Fri Mar 12 01:26:15 2010 +0000
+++ b/sys/dev/wscons/wsemul_sun.c Fri Mar 12 08:40:50 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsemul_sun.c,v 1.27 2010/01/28 22:36:19 drochner Exp $ */
+/* $NetBSD: wsemul_sun.c,v 1.28 2010/03/12 08:40:50 jdc Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -33,7 +33,7 @@
/* XXX DESCRIPTION/SOURCE OF INFORMATION */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsemul_sun.c,v 1.27 2010/01/28 22:36:19 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsemul_sun.c,v 1.28 2010/03/12 08:40:50 jdc Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -577,6 +577,10 @@
case KS_KP_Begin:
*out = "\033[214z";
return (6);
+ case KS_End:
+ case KS_KP_End:
+ *out = "\033[220z";
+ return (6);
case KS_Prior:
case KS_KP_Prior:
*out = "\033[216z";
Home |
Main Index |
Thread Index |
Old Index