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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to