1. 01 Aug, 2008 1 commit
  2. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/ms-w32.h (MULTI_KBOARD): Remove. · 69ab3201
      Dan Nicolaescu authored
      * xterm.c:
      * xselect.c:
      * xfns.c:
      * window.c:
      * w32term.c:
      * w32fns.c:
      * terminal.c:
      * termhooks.h:
      * term.c:
      * sysdep.c:
      * keyboard.h:
      * keyboard.c:
      * frame.h:
      * frame.c:
      * frame.c: Remove references to MULTI_KBOARD, it is now the
      * config.in: Regenerate.
      * config.nt (MULTI_KBOARD): Remove.
      * configure.in (MULTI_KBOARD): Remove.
  3. 16 Jul, 2008 1 commit
    • Stefan Monnier's avatar
      * keymap.c: Remove all NS-specific code. · 0bcfd7d7
      Stefan Monnier authored
      (where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars.
      (preferred_sequence_p): Rename from ascii_sequence_p; pay attention to
      where_is_preferred_modifier, return a different value depending on how
      preferred is the binding.
      (where_is_internal): Adjust accordingly.
      (Fwhere_is_internal): Refresh where_is_preferred_modifier.
      Adjust to new preferred_sequence_p.
      (syms_of_keymap): Declare `where-is-preferred-modifier'.
      * keyboard.c (parse_solitary_modifier): Not static any more.
      * keyboard.h (parse_solitary_modifier): Declare.
  4. 15 Jul, 2008 1 commit
  5. 08 Jun, 2008 2 commits
  6. 15 May, 2008 1 commit
  7. 08 Jan, 2008 1 commit
  8. 25 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Make `window-system' into a keyboard-local variable (rather than · 70b8d0a4
      Stefan Monnier authored
      frame-local as done originally by multi-tty).
      * startup.el (window-system): Remove.  Don't make it frame-local.
      * keyboard.h (struct kboard): Add Vwindow_system.
      * keyboard.c (init_kboard): Set a default for Vwindow_system.
      (mark_kboards): Mark Vwindow_system.
      * dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
      (init_display): Don't set the obsolete `window-system' frame-param.
      * xterm.c (x_term_init):
      * w32term.c (w32_create_terminal):
      * term.c (init_tty): Set Vwindow_system.
      * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
      multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.
      * xfns.c (Fx_create_frame, x_create_tip_frame):
      * w32fns.c (Fx_create_frame, x_create_tip_frame):
      * macfns.c (Fx_create_frame):
      Don't set the obsolete `window-system' frame-param.
      * frame.h (Qwindow_system): Remove.
      * frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
      (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
  9. 09 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Add new `input-decode-map' keymap and use it for temrinal · 4f4a84ec
      Stefan Monnier authored
      escape sequences.
      * keyboard.h (struct kboard): Add Vinput_decode_map.
      Remove Vlocal_key_translation_map.
      * keyboard.c (read_key_sequence): Add support for input-decode-map.
      (init_kboard): Init input-decode-map.
      Replace local-key-translation-map back with key-translation-map.
      (syms_of_keyboard): Declare input-decode-map.
      Remove local-key-translation-map.  Update docstrings.
      (mark_kboards): Mark Vinput_decode_map.
      Don't mark Vlocal_key_translation_map.
      * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map.
      Replace local-key-translation-map back with key-translation-map.
      * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN):
      Bind in input-decode-map rather than function-key-map.
  10. 29 Aug, 2007 1 commit
  11. 08 Aug, 2007 1 commit
  12. 25 Jul, 2007 1 commit
  13. 14 Jan, 2007 1 commit
  14. 14 Dec, 2006 1 commit
  15. 27 Aug, 2006 1 commit
  16. 10 Aug, 2006 1 commit
  17. 26 Jul, 2006 1 commit
  18. 06 Feb, 2006 1 commit
  19. 03 Jan, 2006 1 commit
    • Karoly Lorentey's avatar
      Overhaul and simplify single_kboard API. Allow calls to `recursive-edit' in... · b3e6f69c
      Karoly Lorentey authored
      Overhaul and simplify single_kboard API.  Allow calls to `recursive-edit' in process filters.  Small fixes.
      * lisp/server.el (server-process-filter): Protect `display-splash-screen'
        call in a condition-case.  Explain why.
      * src/callint.c (Fcall_interactively): Update call to
      * src/fns.c (Fy_or_n_p): Ditto.
      * src/frame.c (Fdelete_frame): Remove unused variable `count'.
      * src/keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
      * src/keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
        for recursive calls.  Update longjmp invocations.  Remember the
        original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
        filter, timer or sentinel changes it.  Comment out unnecessary calls to
        `record_single_kboard_state' and `any_kboard_state'.  Update recursive
      * src/keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
        variable.  Update setjmp and read_char calls.  Abort if
        interrupted_kboard died in read_char.
      * src/keyboard.c (any_kboard_state, single_kboard_state)
        (record_single_kboard_state): Comment out obsolete functions.
        (push_frame_kboard): Remove function.
        (pop_kboard): Switch out of single_kboard mode if the
        kboard has been deleted.
        (temporarily_switch_to_single_kboard): Change first
        parameter to a frame pointer.  Throw an error when caller wants to
        change kboards while in single_kboard mode.
        (restore_kboard_configuration): Abort if pop_kboard changed
        the kboard in single_kboard mode.
        (Frecursive_edit): Switch to single_kboard mode only in
        nested command loops.
        (cmd_error, command_loop, command_loop_1, timer_check):
        Comment out unnecessary call to `any_kboard_state' and
      * src/keyboard.c (delete_kboard): Exit single_kboard mode if we have just
        deleted that kboard.
      * src/keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
      * src/keyboard.h (read_char, single_kboard_state)
        (record_single_kboard_state): Remove.
        (temporarily_switch_to_single_kboard): Update.
      * src/lread.c: Include setjmp.h.  Update declaration of `read_char'.
        (read_filtered_event): Call `read_char' with a local
      * src/minibuf.c (read_minibuf): Update call to
      * src/termchar.h (tty_display_info): Rename `previous_terminal_frame'
        member to `previous_frame'.
      * src/xdisp.c (redisplay_internal): Update references to
        (display_mode_line, Fformat_mode_line): Replace calls to
        `push_frame_kboard' with `push_kboard'.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-489
  20. 29 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename `struct device' to `struct terminal'. Rename some terminal-related functions similarly. · 6ed8eeff
      Karoly Lorentey authored
      * src/termhooks.h (struct device): Rename to `terminal'.  Rename member
        `next_device' to `next_terminal'.
        (device_list): Rename to `terminal_list'.
        (FRAME_DEVICE): Rename to `FRAME_TERMINAL'.
        Update declarations and macro definitions.
      * src/termchar.h (tty_display_info): Rename member `device' to `terminal'.
        (FRAME_TTY): Update for renames.
      * src/xterm.h (x_display_info): Rename member `device' to `terminal'.
      * src/frame.h (frame): Rename `device' member to `terminal'.
        (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p):
        Update for renames.
      * src/lisp.h (set_process_environment): Rename to `set_global_environment'.
        (device): Rename to `terminal'.
      * src/dispextern.h: Update declarations and macro definitions.
      * src/terminal.c (device_list): Rename to `terminal_list'.
        (next_device_id): Rename to `next_terminal_id'.
        (initial_device): Rename to `initial_terminal'.
        (get_device): Rename to `get_terminal'.
        (create_device): Rename to `create_terminal'.
        (mark_devices): Rename to `mark_terminals'.
        (delete_device): Rename to `delete_terminal'.
        (Fdelete_display): Rename to `Fdelete_terminal'.
        (Fframe_terminal): Move here from frame.c.
        (Fdisplay_live_p): Rename to `Fterminal_live_p'.
        (Fdisplay_list): Rename to `Fterminal_list'.
        (Fdisplay_name): Rename to `Fterminal_name'.
        (init_initial_device): Rename to `init_initial_terminal'.
        (delete_initial_device): Rename to `delete_initial_terminal'.
        (ring_bell, update_begin, update_end, set_terminal_window)
        (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
        (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
        (ins_del_lines, get_terminal_param, store_terminal_param)
        (Fterminal_parameters, Fterminal_parameter)
        (Fmodify_terminal_parameters, Fset_terminal_parameter)
        (syms_of_terminal): Update for renames.
      * src/term.c (get_tty_device): Rename to `get_tty_terminal'.  Update.
        (Fdisplay_tty_type): Rename to `Ftty_type'.
        (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
        (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
        (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
        (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
        (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.
      * src/frame.c (Qdevice): Rename to `Qterminal'.
        (Qdisplay_live_p): Rename to `Qterminal_live_p'.
        (terminal_frame_count): Rename to `tty_frame_count'.
        (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
        (make_frame_without_minibuffer, make_initial_frame)
        (make_terminal_frame, Fmodify_frame_parameters)
        (do_switch_frame, Fdelete_frame, Fmouse_position)
        (Fmouse_pixel_position, Fraise_frame, Flower_frame)
        (Fredirect_frame_focus, set_term_frame_name, syms_of_frame):
        Update for renames.
      * src/xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
        (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
        (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
        (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
        (Fx_display_pixel_width, Fx_display_pixel_height)
        (Fx_display_planes, Fx_display_color_cells)
        (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
        (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
        (Fx_display_backing_store, Fx_display_visual_class)
        (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
        Update for renames.
      * xterm.c (handle_one_xevent): Initialize `f' to NULL.
        (x_delete_device): Rename to `x_delete_terminal'.
        (x_create_device): Rename to `x_create_terminal'.
        (XTset_terminal_modes, XTreset_terminal_modes)
        (XTread_socket, x_connection_closed, x_term_init)
        (x_term_init, x_delete_display): Update for renames.
      * src/dispnew.c (Fredraw_frame, Fsend_string_to_terminal)
        (Fsend_string_to_terminal, init_display): Update for renames.
      * src/keyboard.c (push_frame_kboard, pop_kboard, pop_kboard)
        (kbd_buffer_get_event, read_avail_input, tty_read_avail_input)
        (interrupt_signal, Fset_output_flow_control)
        (Fset_input_meta_mode, Fset_quit_char, delete_kboard)
        (syms_of_keyboard): Update for renames.
      * src/alloc.c (mark_devices): Update declaration.
        (Fgarbage_collect): Update for renames.
      * src/coding.c (Fset_terminal_coding_system_internal)
        (Fkeyboard_coding_system): Update for renames.
      * src/data.c (Fterminal_local_value, Fset_terminal_local_value):
        Update for renames.
      * src/minibuf.c (read_minibuf): Update for renames.
      * src/sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
      * xselect.c (x_handle_selection_clear): Update for renames.
      * lisp/files.el (save-buffers-kill-display): Rename to `save-buffers-kill-terminal'.
        (save-buffers-kill-terminal, ctl-x-map): Update for renames.
      * frame.el (make-frame): Rename 'device frame parameter to 'terminal.  Update.
        (frames-on-display-list, framep-on-display, suspend-frame): Update for renames.
        (selected-display): Rename to `selected-terminal'.
      * server.el (server-save-buffers-kill-display): Rename to
        (server-delete-client, server-handle-delete-frame)
        (server-handle-suspend-tty, server-process-filter)
        (server-switch-buffer): Update for renames.
      * startup.el (normal-splash-screen, normal-splash-screen): Update for renames.
      * talk.el (talk): Update for renames.
      * termdev.el (terminal-id): Update for renames.
      * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
        (xterm-mouse-handle-delete-frame): Update for renames.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-471
  21. 26 Dec, 2005 2 commits
  22. 28 Oct, 2005 1 commit
    • Karoly Lorentey's avatar
      Change `keyboard-translate-table' to be terminal-local. · 2e478293
      Karoly Lorentey authored
      * lisp/subr.el (keyboard-translate): Use `terminal-local-value' to access `keyboard-translate-table'.
      * lisp/obsolete/keyswap.el: Ditto.
      * src/keyboard.c (Vkeyboard_translate_table): Moved to struct kboard.
      * src/keyboard.h (Vkeyboard_translate_table): Moved to struct kboard.
      * src/keyboard.c (read_char): Use current_kboard to access Vkeyboard_translate_table.
      * src/keymap.c (Fdescribe_buffer_bindings): Ditto.
      * src/keyboard.c (init_kboard): Initialize Vkeyboard_translate_table.
      * src/keyboard.c (syms_of_keyboard): Use DEFVAR_KBOARD to define
        Vkeyboard_translate_table. Update doc strings.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-431
  23. 11 Sep, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix crash after y-or-n-p prompt triggered by emacsclient. (Reported by Han... · 256c9c3a
      Karoly Lorentey authored
      Fix crash after y-or-n-p prompt triggered by emacsclient. (Reported by Han Boetes, analysis by Kalle Olavi Niemitalo.)
      * src/keyboard.c (temporarily_switch_to_single_kboard)
        (record_single_kboard_state, restore_kboard_configuration):  New functions.
        (timer_check): Use record_single_kboard_state instead of
        naive single_kboard state management.
      * src/fns.c: Include termhooks.h.
        (Fy_or_n_p): Use temporarily_switch_to_single_kboard to prevent crashes
        caused by bogus longjmps in read_char.
      * src/callint.c (Fcall_interactively): Use
        temporarily_switch_to_single_kboard instead of single_kboard_state.
        Make sure it is correctly unwinded.
      * src/keyboard.c (recursive_edit_unwind): Remove single_kboard stuff.
        (Frecursive_edit): Use temporarily_switch_to_single_kboard for
        single_kboard state management.
      * src/minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard
        instead of simply calling single_kboard_state.
      * src/keyboard.c (push_device_kboard): Remove function.
        (push_kboard): New function.
        (push_frame_kboard): Use it.
        (pop_frame_kboard): Rename to pop_kboard.
      * src/xdisp.c (display_mode_line, Fformat_mode_line): Update uses.
      * src/data.c: Include termhooks.h.
        (Fterminal_local_value, Fset_terminal_local_value): Update.
      * src/Makefile.in (data.o, fns.o): Add termhooks.h dependency.
      * src/keyboard.h (push_device_kboard, pop_frame_kboard): Remove declarations.
        (push_kboard, pop_kboard, temporarily_switch_to_single_kboard)
        (record_single_kboard_state): New declarations.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-414
  24. 07 Aug, 2005 1 commit
  25. 12 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename function-key-map to local-function-key-map, and global-function-key-map... · ac09dc1e
      Karoly Lorentey authored
      Rename function-key-map to local-function-key-map, and global-function-key-map to function-key-map.  Same for key-translation-map.
      * src/keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to
        'Vlocal_function_key_map', and 'Vkey_translation_map' to
        (Vfunction_key_map, Vkey_translation_map): New declarations.
      * src/keyboard.c (Vfunction_key_map): New variable.
        (Vglobal_key_translation_map): Rename to Vglobal_key_translation_map.
        (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): Update.
      * src/keymap.c (Fdescribe_buffer_bindings): Update.
      * src/term.c (term_get_fkeys_1): Update.
      * lisp/double.el (double-setup): Replace global-key-translation-map with key-translation-map.
      * lisp/international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
      * lisp/international/iso-transl.el: Ditto.
      * lisp/obsolete/iso-acc.el (iso-accents-customize): Ditto.
      * lisp/edmacro.el (edmacro-format-keys): Use terminal-local binding of
        local-function-key-map instead of function-key-map.
      * lisp/emulation/cua-base.el (cua--pre-command-handler): Ditto.
      * lisp/isearch.el (isearch-other-meta-char): Ditto.
      * lisp/subr.el (read-quoted-char): Ditto.
      * lisp/term/vt200.el: Ditto.
      * lisp/term/vt201.el: Ditto.
      * lisp/term/vt220.el: Ditto.
      * lisp/term/vt240.el: Ditto.
      * lisp/term/vt300.el: Ditto.
      * lisp/term/vt320.el: Ditto.
      * lisp/term/vt400.el: Ditto.
      * lisp/term/vt420.el: Ditto.
      * lisp/simple.el (normal-erase-is-backspace-mode): Add todo note.
      * lisp/xt-mouse.el: Ditto.
      * lisp/term/AT386.el: Adapt for renaming of function-key-map to local-function-key-map.
      * 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 (x-setup-function-keys): Ditto.
      * lisp/term/xterm.el: Ditto.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-386
  26. 11 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename `struct display' to `struct device'. Update function, parameter and... · 7e59217d
      Karoly Lorentey authored
      Rename `struct display' to `struct device'.  Update function, parameter and variable names accordingly.
      * src/termhooks.h (struct device): Rename to `struct device'.
        Rename member `next_display' to `next_device'.
        Rename member `delete_display_hook' to `delete_device_hook'.
        (FRAME_DISPLAY): Rename to FRAME_DEVICE.
      * src/frame.h (stuct frame): Rename `display' member to `device'.
      * src/xterm.h (x_display_info): Rename member `frame_display' to `device'.
      * src/termchar.h (struct tty_display_info): Rename `display' member to `device'.
      * src/keyboard.c (push_display_kboard): Rename to push_device_kboard.
      * lisp/frame.el (make-frame): Rename frame parameter `display-id' to `device'.
      * src/frame.c (Fmake_terminal_frame): Ditto.
      * src/xfns.c (Fx_create_frame): Ditto.
      * src/term.c (display_list): Rename to device_list.
      * src/term.c (initial_display): Rename to initial_device.
      * src/term.c (next_display_id): Rename to next_device_id.
      * src/term.c (get_display): Rename to get_device.
      * src/term.c (get_tty_display): Rename to get_tty_device.
      * src/term.c (get_named_tty_display): Rename to get_named_tty.
      * src/term.c (init_initial_display): Rename to init_initial_device.
      * src/term.c (delete_initial_display): Rename to delete_initial_device.
      * src/term.c (create_display): Rename to create_device.
      * src/term.c (delete_display): Rename to delete_device.
      * src/xfns.c (check_x_display_info): Document that the function allows
        display ids as well.
      * src/xterm.c (x_delete_frame_display): Rename to x_delete_device.
      * src/xterm.c (x_create_frame_display): Rename to x_create_device.
      * src/coding.c: Update.
      * src/dispextern.h: Update.
      * src/data.c: Update.
      * src/dispnew.c: Update.
      * src/frame.c: Update.
      * src/frame.h: Update.
      * src/keyboard.c: Update.
      * src/keyboard.h: Update.
      * src/lisp.h: Update.
      * src/sysdep.c: Update.
      * src/term.c: Update.
      * src/xdisp.c: Update.
      * src/xselect.c: Update.
      * src/xterm.c: Update.
      * src/prefix-args.c: Include stdlib.h for exit.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-382
  27. 04 Jul, 2005 1 commit
  28. 27 Jun, 2005 1 commit
    • 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
  29. 26 Jun, 2005 1 commit
    • 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
  30. 25 Jun, 2005 1 commit
    • Karoly Lorentey's avatar
      Make function-key-map a terminal-local variable (move it inside the kboard struct). · f01b6d17
      Karoly Lorentey authored
      * src/keyboard.h (kboard): Move Vfunction_key_map inside the kboard struct.
      * src/keyboard.c (Vfunction_key_map): Remove declaration.
        (read_key_sequence, init_kboard): Update references to Vfunction_key_map.
        (syms_of_keyboard): Declare function-key-map as a terminal-local variable.
        (mark_kboards): Mark Vfunction_key_map.
      * src/keymap.c (Vfunction_key_map): Remove.
        (Fdescribe_buffer_bindings): Update references to Vfunction_key_map.
        (syms_of_keymap): Remove DEFVAR for Vfunction_key_map.
      * src/term.c (term_get_fkeys_1): Update references to Vfunction_key_map.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-355
  31. 05 Nov, 2004 1 commit
  32. 09 Oct, 2004 1 commit
  33. 24 Jul, 2004 1 commit
  34. 16 Apr, 2004 1 commit
  35. 27 Feb, 2004 1 commit
  36. 11 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Changed tty input code to use read_socket_hook. · 8f1ce423
      Karoly Lorentey authored
      src/keyboard.c (read_avail_input): Removed tty-related code.
      (tty_read_avail_input): New function.
      src/keyboard.h (tty_read_avail_input): New prototype.
      src/term.c (term_init): Set read_socket_hook.  Removed bogus baud rate
      src/termhooks.h (read_socket_hook): Added display parameter.
      src/xterm.c (XTread_socket): Added display parameter (unused).
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-51
  37. 06 Jan, 2004 1 commit
  38. 02 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      MULTI_KBOARD support for ttys. Input-related bugfixes for X+tty sessions. · 7b00d185
      Karoly Lorentey authored
      lib-src/emacsclient.c (pty_conversation): Fix errno check for read from fileno(in).
      src/config.in: Unconditionally define MULTI_KBOARD.
      src/frame.c (make_terminal_frame): Initialize f->kboard.
      src/keyboard.c (cmd_error_internal): Don't kill Emacs if a Quit was
      pressed on the tty of a X+tty session.
      (read_avail_input): Initialize nread to zero.  Abort if there is no
      tty after a termcap read.
      (interrupt_signal)[USG]: Always reset signal handler.
      (init_keyboard): Always set signal handler for SIGINT/SIGQUIT if
      src/term.c (term_dummy_init): Initialize kboard to the initial_kboard.
      (term_init): Free component structures of the initial tty. Clear xmalloced structures.
      Moved rif initialization to syms_of_term.
      (term_init)[MULTI_KBOARD]: Initialize tty->kboard.
      (delete_tty)[MULTI_KBOARD]: Delete the keyboard.
      (syms_of_term): Initialize tty_display_method_template.
      src/termchar.h (tty_output)[MULTI_KBOARD]: Added kboard member.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-31