diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2001-06-17 03:13:48 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2001-06-17 03:13:48 +0000 |
| commit | b60a68fddf65818cf7ed92f672a071a95fdaa340 (patch) | |
| tree | 1dd422e4eb511d6063dc19f61525470d76530be1 /usr.sbin/sysinstall | |
| parent | 6bb4c6e64fb34f596a8e9cc010348470ab9876f2 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall')
| -rw-r--r-- | usr.sbin/sysinstall/Makefile | 4 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/menus.c | 18 |
2 files changed, 22 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile index 353523ee48aa..946df6493495 100644 --- a/usr.sbin/sysinstall/Makefile +++ b/usr.sbin/sysinstall/Makefile @@ -75,11 +75,15 @@ rtermcap: rtermcap.c ${CC} -o ${.TARGET} ${.ALLSRC} -ltermcap +.if ${MACHINE} == "pc98" +KEYMAPS= jp.pc98 jp.pc98.iso +.else KEYMAPS= be.iso br275.iso danish.iso finnish.iso fr.iso \ german.iso hr.iso hu.iso2.101keys it.iso icelandic.iso jp.106 \ norwegian.iso pl_PL.ISO8859-2 pt.iso ru.koi8-r si.iso \ spanish.iso swedish.iso swissfrench.iso swissgerman.iso ua.koi8-u \ ua.koi8-u.shift.alt uk.iso us.dvorak us.iso us.pc-ctrl us.unix +.endif keymap.h: rm -f keymap.tmp diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index d95f218f932d..7d850a06c7f3 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1432,6 +1432,23 @@ DMenu MenuSyscons = { { NULL } }, }; +#ifdef PC98 +DMenu MenuSysconsKeymap = { + DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS, + "System Console Keymap", + "The default system console driver for FreeBSD (syscons) defaults\n" + "to a standard \"PC-98x1\" keyboard map. Users may wish to choose\n" + "one of the other keymaps below.\n" + "Note that sysinstall itself only uses the part of the keyboard map\n" + "which is required to generate the ANSI character subset, but your\n" + "choice of keymap will also be saved for later (fuller) use.", + "Choose a keyboard map", + NULL, + { { "Japanese PC-98x1", "Japanese PC-98x1 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98" }, + { " Japanese PC-98x1 (ISO)", "Japanese PC-98x1 (ISO) keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98.iso" }, + { NULL } }, +}; +#else DMenu MenuSysconsKeymap = { DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS, "System Console Keymap", @@ -1496,6 +1513,7 @@ DMenu MenuSysconsKeymap = { { " USA UNIX", "US traditional UNIX-workstation", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.unix" }, { NULL } }, }; +#endif DMenu MenuSysconsKeyrate = { DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS, |
