Supported to select a keymap for PC-98x1.
This commit is contained in:
parent
6bb4c6e64f
commit
b60a68fddf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78382
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user