1 ;; -*- no-byte-compile: t -*-
2 ;; The Linux console handles Latin-1 by default.
4 (defun terminal-init-linux ()
5 "Terminal initialization function for linux."
6 (unless (terminal-coding-system)
7 (set-terminal-coding-system 'iso-latin-1
))
9 ;; It can't really display underlines.
12 (condition-case nil
(t-mouse-mode 1)
15 ;; Make Latin-1 input characters work, too.
16 ;; Meta will continue to work, because the kernel
17 ;; turns that into Escape.
19 ;; The arg only matters in that it is not t or nil.
20 (set-input-meta-mode 'iso-latin-1
))
22 ;;; arch-tag: 5d0c4f63-739b-4862-abf3-041fe42adb8f
23 ;;; linux.el ends here