[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wsconsctl -w encoding=jp
- Subject: Re: wsconsctl -w encoding=jp
- From: 藤原 誠/ Makoto Fujiwara<makoto@ki.nu>
- To: port-powerpc-ja@jp.netbsd.org
- Date: Mon, 28 Jan 2002 14:21:24 +0900
- Message-ID: <yfmsn8rjbjf.wl@u.ki.nu>
- In-Reply-To: <yfmpu3vnc98.wl@u.ki.nu>
- References: <yfmpu3vnc98.wl@u.ki.nu>
- Delivered-To: mailing list port-powerpc-ja@jp.netbsd.org
- Mailing-List: contact port-powerpc-ja-help@jp.netbsd.org; run by ezmlm-idx
- User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2(Yagi-Nishiguchi) APEL/10.3 Emacs/21.1 (powerpc--netbsd) MULE/5.0(賢木)
> 千葉市中央区長洲
> 藤原 誠
藤原> wsconsctl -w encoding=jp
藤原> だと
藤原> wsconsctl: WSKBDIO_SETENCODING: Invalid argument
藤原> となるのは、そういう keymap の容物だけは用意してあるが、まだ
藤原> 中身がない
これで合っているでしょうか。iBook SE/1999 では確めました。
--- sys/arch/macppc/dev/akbdmap.h-1.3 Tue Jul 10 21:01:26 2001
+++ sys/arch/macppc/dev/akbdmap.h Mon Jan 28 14:18:21 2002
@@ -169,13 +169,26 @@
KC(58), KS_Alt_R, /* Option */
};
-#if 0
static const keysym_t akbd_keydesc_jp[] = {
/* pos command normal shifted */
- KC(42), KS_grave, KS_asciitilde,
+ KC(19), KS_2, KS_quotedbl,
+ KC(22), KS_6, KS_ampersand,
+ KC(24), KS_asciicircum, KS_asciitilde,
+ KC(25), KS_9, KS_parenright,
+ KC(26), KS_7, KS_apostrophe,
+ KC(27), KS_minus, KS_equal,
+ KC(28), KS_8, KS_parenleft,
+ KC(29), KS_0,
+ KC(30), KS_bracketleft, KS_braceleft,
+ KC(33), KS_at, KS_grave,
+ KC(39), KS_colon, KS_asterisk,
+
+ KC(41), KS_semicolon, KS_plus,
+ KC(42), KS_bracketright,KS_braceright,
+
KC(93), KS_backslash, KS_bar,
+ KC(94), KS_underscore,
};
-#endif
#define KBD_MAP(name, base, map) \
{ name, base, sizeof(map)/sizeof(keysym_t), map }
@@ -183,6 +196,7 @@
static const struct wscons_keydesc akbd_keydesctab[] = {
KBD_MAP(KB_US, 0, akbd_keydesc_us),
KBD_MAP(KB_FR, KB_US, akbd_keydesc_fr),
+ KBD_MAP(KB_JP, KB_US, akbd_keydesc_jp),
{0, 0, 0, 0}
};
---
(藤原)