annotate lisp/term/vt220.el @ 109320:a0d2db31314d

Use offsetof instead of own definition * lisp.h: Include <stddef.h>. (OFFSETOF): Don't define. (VECSIZE): Use offsetof instead of OFFSETOF. (PSEUDOVECSIZE): Likewise. * process.c (conv_sockaddr_to_lisp): Likewise. * alloc.c: Don't include <stddef.h>. * buffer.h (PER_BUFFER_VAR_OFFSET): Use offsetof.
author Andreas Schwab <schwab@linux-m68k.org>
date Sun, 11 Jul 2010 20:34:43 +0200
parents 528714e93230
children 4bc33ffdda1a ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 38414
diff changeset
1 ;; -*- no-byte-compile: t -*-
3807
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
2 ;; For our purposes we can treat the vt200 and vt100 almost alike.
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
3 ;; Most differences are handled by the termcap entry.
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 52401
diff changeset
4 (defun terminal-init-vt220 ()
83353
532e0a9335a9 Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
parents: 83346 64651
diff changeset
5 "Terminal initialization function for vt220."
83524
673d62ad74b5 Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents: 83394
diff changeset
6 (tty-run-terminal-initialization (selected-frame) "vt100")
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 52401
diff changeset
7 ;; Make F11 an escape key.
85550
528714e93230 (terminal-init-vtNNN): Use input-decode-map.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 83524
diff changeset
8 (define-key input-decode-map "\e[23~" [f11]) ;Probably redundant.
528714e93230 (terminal-init-vtNNN): Use input-decode-map.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 83524
diff changeset
9 (define-key local-function-key-map [f11] [?\e]))
3807
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
10
85550
528714e93230 (terminal-init-vtNNN): Use input-decode-map.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 83524
diff changeset
11 ;; arch-tag: 98fc4867-a20d-46a1-a276-d7be31e49871
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 3807
diff changeset
12 ;;; vt220.el ends here