Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/vax/vsa pullup 1.9->1.10 (ragge)
details: https://anonhg.NetBSD.org/src/rev/d10ee7738b1d
branches: netbsd-1-4
changeset: 468552:d10ee7738b1d
user: perry <perry%NetBSD.org@localhost>
date: Thu Apr 29 18:56:29 1999 +0000
description:
pullup 1.9->1.10 (ragge)
diffstat:
sys/arch/vax/vsa/lkc.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r dbea3dd99a17 -r d10ee7738b1d sys/arch/vax/vsa/lkc.c
--- a/sys/arch/vax/vsa/lkc.c Thu Apr 29 15:58:56 1999 +0000
+++ b/sys/arch/vax/vsa/lkc.c Thu Apr 29 18:56:29 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lkc.c,v 1.9 1999/03/13 15:16:48 ragge Exp $ */
+/* $NetBSD: lkc.c,v 1.9.2.1 1999/04/29 18:56:29 perry Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -85,11 +85,14 @@
*dz->sc_dr.dr_lpr = 0x1c18; /* XXX */
}
+extern char *q_special[];
+
int
lkc_catch(line, ch)
int line, ch;
{
- int hej;
+ int hej, i;
+ char *cp;
if (line > 0)
return 0;
@@ -98,10 +101,9 @@
return 1;
if (hej > 255) {
-#ifdef notdef /* XXX don't handle this for now */
cp = q_special[hej & 255];
- wsdisplay_kbdinput(wsdisplay_cd.cd_devs[0], cp, strlen(cp));
-#endif
+ for (i = 0; i < strlen(cp); i++)
+ wsdisplay_kbdinput(wsdisplay_cd.cd_devs[0], cp[i]);
} else {
wsdisplay_kbdinput(wsdisplay_cd.cd_devs[0], (keysym_t)hej);
}
Home |
Main Index |
Thread Index |
Old Index