view lisp/term/linux.el @ 65388:45be648405bb

Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-536 Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 112-114) - Update from CVS 2005-09-07 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/spam-report.el (spam-report-gmane): Make it work without X-Report-Spam header. Gmane now only provides Archived-At. This is only used if `spam-report-gmane-use-article-number' is nil. (spam-report-gmane-spam-header): Removed. Not used anymore. * lisp/gnus/nnweb.el (nnweb-google-wash-article): Print a message if article is not available. 2005-09-07 TSUCHIYA Masatoshi <tsuchiya@namazu.org> * lisp/gnus/gnus-art.el (gnus-mime-display-single): Decode text/* parts content before displaying. 2005-09-06 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/mml-smime.el: Remove defvar of gnus-extract-address-components. 2005-09-06 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/mm-view.el (mm-display-inline-fontify): Disable support modes.
author Miles Bader <miles@gnu.org>
date Fri, 09 Sep 2005 01:47:33 +0000
parents af1c58687bdd
children 315ae0b59970 fe870a866ce7 890cc78a5a24
line wrap: on
line source

;; -*- no-byte-compile: t -*-
;; The Linux console handles Latin-1 by default.

(defun terminal-init-linux ()
  "Terminal initialization function for linux."  
  (unless (terminal-coding-system)
    (set-terminal-coding-system 'iso-latin-1))

  ;; It can't really display underlines.
  (tty-no-underline)

  ;; Make Latin-1 input characters work, too.
  ;; Meta will continue to work, because the kernel
  ;; turns that into Escape.

  (let ((value (current-input-mode)))
    ;; The third arg only matters in that it is not t or nil.
    (set-input-mode (nth 0 value) (nth 1 value) 'iso-latin-1 (nth 3 value))))

;;; arch-tag: 5d0c4f63-739b-4862-abf3-041fe42adb8f
;;; linux.el ends here