svn commit: r231758 - stable/9/release
Takahashi Yoshihiro
nyan at FreeBSD.org
Wed Feb 15 13:40:11 UTC 2012
Author: nyan
Date: Wed Feb 15 13:40:10 2012
New Revision: 231758
URL: http://svn.freebsd.org/changeset/base/231758
Log:
MFC: r231123
- Set TERM to cons25w on pc98 because we still use old cons25w terminal
to show Japanese.
- Add cons25w to terminal lists.
Reviewed by: nwhitehorn
Modified:
stable/9/release/rc.local
Directory Properties:
stable/9/release/ (props changed)
Modified: stable/9/release/rc.local
==============================================================================
--- stable/9/release/rc.local Wed Feb 15 13:36:06 2012 (r231757)
+++ stable/9/release/rc.local Wed Feb 15 13:40:10 2012 (r231758)
@@ -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
- TERM=xterm
+ if [ ${MACHINE} = "pc98" ]; then
+ TERM=cons25w
+ else
+ TERM=xterm
+ fi
else
# Serial or other console
echo
@@ -22,6 +28,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
More information about the svn-src-stable-9
mailing list