File: linux.el

package info (click to toggle)
emacs23 23.2%2B1-7%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 107,300 kB
  • ctags: 89,632
  • sloc: lisp: 964,368; ansic: 247,728; objc: 9,978; sh: 4,601; makefile: 4,017; perl: 1,186; cs: 772; python: 331; xml: 43; csh: 8; sed: 4
file content (22 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; -*- 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)

  (ignore-errors (when gpm-mouse-mode (require 't-mouse) (gpm-mouse-enable)))

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

  ;; The arg only matters in that it is not t or nil.
  (set-input-meta-mode 'iso-latin-1))

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