1 ;; The Linux console handles Latin-1 by default.
3 (declare-function gpm-mouse-enable
"t-mouse" ())
5 (defun terminal-init-linux ()
6 "Terminal initialization function for linux."
7 (unless (terminal-coding-system)
8 (set-terminal-coding-system 'iso-latin-1
))
10 ;; It can't really display underlines.
13 (ignore-errors (when gpm-mouse-mode
(require 't-mouse
) (gpm-mouse-enable)))
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
))
24 ;;; linux.el ends here