- Set TERM to cons25w on pc98 because we still use old cons25w terminal

to show Japanese.
- Add cons25w to terminal lists.

Reviewed by:	nwhitehorn
MFC after:	1 week
This commit is contained in:
Yoshihiro Takahashi 2012-02-07 10:59:19 +00:00
parent 36fc415d5d
commit c991a64747
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231123

View file

@ -8,10 +8,16 @@
: ${DIALOG_ITEM_HELP=4}
: ${DIALOG_ESC=255}
MACHINE=`uname -m`
kbdcontrol -d >/dev/null 2>&1
if [ $? -eq 0 ]; then
# Syscons: use xterm, start interesting things on other VTYs
TERM=xterm
if [ ${MACHINE} = "pc98" ]; then
TERM=cons25w
else
TERM=xterm
fi
if [ -z "$EXTERNAL_VTY_STARTED" ]; then
# Init will clean these processes up if/when the system
@ -31,6 +37,7 @@ else
echo " ansi Standard ANSI terminal"
echo " vt100 VT100 or compatible terminal"
echo " xterm xterm terminal emulator (or compatible)"
echo " cons25w cons25w terminal"
echo
echo -n "Console type [vt100]: "
read TERM