view lisp/term/linux.el @ 95796:6e0425f2bc3d

* xfns.c (Fx_font_dialog): New function. * gtkutil.c (xg_dialog_response_cb): Rename from, xg_file_response_callback. (pop_down_dialog): Rename from pop_down_file_dialog. (xg_get_file_name): Callers changed. (xg_get_font_name): New function. * gtkutil.h (xg_get_font_name): Insert prototype,
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 10 Jun 2008 20:57:13 +0000
parents 8bb6e8177f61
children 43c1eff6b631
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)

  (ignore-errors (gpm-mouse-mode 1))

  ;; 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