From owner-svn-src-head@FreeBSD.ORG Sat Jan 28 10:31:51 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA031065673; Sat, 28 Jan 2012 10:31:51 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) by mx1.freebsd.org (Postfix) with ESMTP id C6BDE8FC15; Sat, 28 Jan 2012 10:31:50 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id q0SAVcs7089950; Sat, 28 Jan 2012 19:31:41 +0900 (JST) (envelope-from nyan@FreeBSD.org) Date: Sat, 28 Jan 2012 19:30:30 +0900 (JST) Message-Id: <20120128.193030.322386357550021613.nyan@FreeBSD.org> To: nwhitehorn@freebsd.org From: TAKAHASHI Yoshihiro In-Reply-To: <1F971DB2-9CC6-41C9-9296-039D63E05FC2@FreeBSD.org> References: <201201231544.q0NFirMh032859@svn.freebsd.org> <20120123160340.GI95413@hoeg.nl> <1F971DB2-9CC6-41C9-9296-039D63E05FC2@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Jan_28_19_30_30_2012_524)--" Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, ed@80386.nl, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r230482 - head/release X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 10:31:51 -0000 ----Next_Part(Sat_Jan_28_19_30_30_2012_524)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit In article <1F971DB2-9CC6-41C9-9296-039D63E05FC2@FreeBSD.org> Nathan Whitehorn writes: > I think we didn't make PC98 release media for 9.0, but that's a good > point. I'm out of commission right now due to an injury, so patches > would be welcome. >> >>> TERM=xterm >> >> This code is also used on pc98, right? I think on pc98 we still need >> to >> use TERM=cons25w, to support Japanese character sets and keyboard >> input. How about the attached patch? --- TAKAHASHI Yoshihiro ----Next_Part(Sat_Jan_28_19_30_30_2012_524)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="a.diff" Index: rc.local =================================================================== RCS file: /home/ncvs/src/release/rc.local,v retrieving revision 1.6 diff -u -r1.6 rc.local --- rc.local 23 Jan 2012 16:17:54 -0000 1.6 +++ rc.local 28 Jan 2012 10:26:06 -0000 @@ -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 @@ -30,6 +36,9 @@ echo "Common console types are:" echo " ansi Standard ANSI terminal" echo " vt100 VT100 or compatible terminal" + if [ ${MACHINE} = "pc98" ]; then + echo " cons25w cons25w terminal" + fi echo " xterm xterm terminal emulator (or compatible)" echo echo -n "Console type [vt100]: " ----Next_Part(Sat_Jan_28_19_30_30_2012_524)----