1. 27 Jun, 2005 6 commits
    • Karoly Lorentey's avatar
      Use terminal-local-value to access function-key-map in terminal packages. · ff2fc632
      Karoly Lorentey authored
      * lisp/term/AT386.el: Wrap function-key-map accesses in (set-)terminal-local-value.
      * lisp/term/internal.el: Ditto.
      * lisp/term/iris-ansi.el: Ditto.
      * lisp/term/lk201.el: Ditto.
      * lisp/term/mac-win.el: Ditto.
      * lisp/term/news.el: Ditto.
      * lisp/term/rxvt.el: Ditto.
      * lisp/term/sun.el: Ditto.
      * lisp/term/tvi970.el: Ditto.
      * lisp/term/wyse50.el: Ditto.
      * lisp/term/x-win.el: Ditto.
      * lisp/term/xterm.el: Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-366
      ff2fc632
    • Karoly Lorentey's avatar
      Work around nondeterministic binding of terminal-local variables. (Fixes... · 2a42d440
      Karoly Lorentey authored
      Work around nondeterministic binding of terminal-local variables.  (Fixes national character input on ttys.)
      
      * src/data.c (Fterminal_local_value, Fset_terminal_local_value): New functions.
        (syms_of_data): Defsubr them.
      
      * lisp/international/encoded-kb.el (encoded-kbd-setup-keymap): Add keymap
        parameter.  Use it instead of changing key-translation-map directly.
        (encoded-kbd-setup-display): Use terminal-local-value and
        set-terminal-local-value to access key-translation-map.  Remove
        debugging messages.
      
      * lisp/international/mule.el (keyboard-coding-system): Test for
        encoded-kbd-setup-display, not encoded-kbd-mode.
      
      * src/keyboard.c (syms_of_keyboard): Expand docs of terminal-local
        variables to warn about their random bindings.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-365
      2a42d440
    • Karoly Lorentey's avatar
      New C function `push_display_kboard'. · e589efa5
      Karoly Lorentey authored
      * src/keyboard.c (push_display_kboard): New function.
      * src/keyboard.h (push_display_kboard): Declare it.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-364
      e589efa5
    • Karoly Lorentey's avatar
      Cleanup: Move kboard fields from struct frame and device-specific descriptors to struct display. · bedb9c0e
      Karoly Lorentey authored
      * src/termhooks.h (display): New field: kboard.
      
      * src/xterm.h (x_display_info): Remove kboard field.
      * src/termchar.h (tty_display_info): Ditto.
      * src/frame.h (frame): Ditto.
        (FRAME_KBOARD): Update.
      
      * src/dispnew.c (init_display): Don't initialize kboard.
      * src/frame.c (make_frame, make_initial_frame, make_terminal_frame): Ditto.
      
      * src/frame.c (make_frame_without_minibuffer, Fdelete_frame): Update kboard access.
      * src/keyboard.c (delete_kboard): Ditto.
      * src/term.c (term_init): Ditto.
      * src/xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
      * src/xselect.c (x_handle_selection_clear): Ditto.
      * src/xterm.c (x_term_init): Ditto.
      
      * src/term.c (init_initial_display): Initialize kboard.
      * src/xterm.c (x_term_init): Ditto.
      
      * src/term.c (delete_tty): Remove kboard deletion.
        (delete_display): Delete kboard as well.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-363
      bedb9c0e
    • Karoly Lorentey's avatar
      New version of ldefs-boot.el. · d66d64bc
      Karoly Lorentey authored
      * lisp/ldefs-boot.el: Regenerate.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-362
      d66d64bc
    • Karoly Lorentey's avatar
      Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.) · 40df3a99
      Karoly Lorentey authored
      * lisp/international/encoded-kb.el (saved-key-translation-map): Remove.
        (encoded-kbd-mode): Remove.
        (encoded-kbd-setup-display): New function.
      
      * lisp/international/mule.el (set-keyboard-coding-system): Use it.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-361
      40df3a99
  2. 26 Jun, 2005 7 commits
    • Karoly Lorentey's avatar
      Merged from miles@gnu.org--gnu-2005 (patch 447-448) · d836b39b
      Karoly Lorentey authored
      Patches applied:
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-447
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-448
         Update from CVS
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-360
      d836b39b
    • Karoly Lorentey's avatar
      Change key-translation-map to be terminal-local. · 4ea81208
      Karoly Lorentey authored
      * src/keymap.c (Vkey_translation_map): Remove.
        (syms_of_keymap): Remove DEFVAR for key-translation-map.
        (Fdescribe_buffer_bindings): Update for terminal-local key-translation-map.
        
      
      * src/keyboard.h (kboard): Add Vkey_translation_map field.
        (Vglobal_key_translation_map): Declare.
      
      * src/keyboard.c (Vglobal_key_translation_map): New variable.
        (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
        (mark_kboards): Mark key-translation-map.
        (read_key_sequence): Update for terminal-local key-translation-map.
      
      * src/emacs.c (main): Call syms_of_keymap before syms_of_keyboard.
      
      * lisp/term/mac-win.el (mac-handle-language-change): Use
        global-key-translation-map instead of key-translation-map.
      * lisp/obsolete/iso-acc.el (iso-accents-customize): Ditto.
      * lisp/international/iso-transl.el (iso-transl-ctl-x-8-map): Ditto.
      * lisp/double.el (double-setup): Ditto.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-359
      4ea81208
    • Karoly Lorentey's avatar
      Work around mysterious breakage of arrow key recognition under screen (see first TODO in README). · 1fb8c4ad
      Karoly Lorentey authored
      * src/keyboard.c (Fset_input_mode): Call reset_sys_modes and
        init_sys_modes on the selected device only; do not use the bulk
        functions reset_all_sys_modes and init_all_sys_modes.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-358
      1fb8c4ad
    • Karoly Lorentey's avatar
      Make sure the terminfo function key sequences are set up in the correct function-key-map. · e7cf0fa0
      Karoly Lorentey authored
      * src/term.c (term_init): Make sure the function keys are set up in the
        correct function-key-map.
        (term_get_fkeys_arg): Rename to term_get_fkeys_address.
        (term_get_fkeys_kboard): New variable.
        (term_get_fkeys): Use it.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-357
      e7cf0fa0
    • Karoly Lorentey's avatar
      Update Lisp code for a terminal-local `function-key-map'. · 2bb819d5
      Karoly Lorentey authored
      * lisp/term/x-win.el (x-setup-function-keys): New function.  Move
        function-key-map tweaks here.
      
      * lisp/faces.el (x-create-frame-with-faces): Call x-setup-function-keys.
      
      * lisp/term/iris-ansi.el: Update for terminal-local function-key-map.
      * lisp/term/lk201.el: Ditto.
      * lisp/term/news.el: Ditto.
      * lisp/term/rxvt.el: Ditto.
      * lisp/term/sun.el: Ditto.
      * lisp/term/xterm.el: Ditto.
      
      * lisp/startup.el: Cosmetic change.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-356
      2bb819d5
    • Luc Teirlinck's avatar
    • Luc Teirlinck's avatar
      *** empty log message *** · 33b79ce4
      Luc Teirlinck authored
      33b79ce4
  3. 25 Jun, 2005 26 commits
  4. 24 Jun, 2005 1 commit