Commits

Anonymous committed 5f958f1

Fix tty coding system setting

Comments (0)

Files changed (3)

+1998-05-10  Martin Buchholz  <martin@xemacs.org>
+
+	* mule-tty-init.el: Use before-init-hook to allow user's .emacs to 
+	override autodetected keyboard,terminal-coding-system.
+	Use euc-jp instead of iso-2022-jp, more correct in theory, makes
+	little difference in practice.  If XEmacs euc coding system ever
+	gets fixed so that XEmacs knows that new character sets like
+	iso8859-2 are not properly displayed, we won't get garbage on the
+	screen for those character sets.
+
 1998-05-09  SL Baur  <steve@altair.xemacs.org>
 
 	* mule-cmds.el (set-language-info): x-menubar renamed to
 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-VERSION = 1.16
+VERSION = 1.17
 AUTHOR_VERSION =
 MAINTAINER = SL Baur <steve@altair.xemacs.org>
 PACKAGE = mule-base
   "Initialize TTY for MULE at startup. Don't call this."
   (unless mule-tty-win-initted
     (add-hook
-     'after-init-hook
+     'before-init-hook
      (lambda ()
        (when (eq (device-type) 'tty)
 	 (when (string-match "^kterm" (getenv "TERM"))
-	   (set-terminal-coding-system 'iso-2022-jp)
-	   (set-keyboard-coding-system 'iso-2022-jp))
+	   (set-terminal-coding-system 'euc-jp)
+	   (set-keyboard-coding-system 'euc-jp))
 	 (set-console-tty-coding-system))))
     (setq mule-tty-win-initted t)))