Date: Wed, 15 Feb 2012 13:40:10 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r231758 - stable/9/release Message-ID: <201202151340.q1FDeAEo064202@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202151340.q1FDeAEo064202>