In article <1f971db2-9cc6-41c9-9296-039d63e05...@freebsd.org> Nathan Whitehorn <nwhiteh...@freebsd.org> 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 <n...@freebsd.org>
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]: "
_______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"