1. 30 Jun, 2004 1 commit
  2. 11 Jun, 2004 1 commit
    • Miles Bader's avatar
      Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396 · 48d67035
      Miles Bader authored
      Tweak arch tagging to make build/install-in-place less annoying
      
      Previously, autoconf-created Makefiles and the like would contain
      duplicate taglines (unfortunately, autoconf doesn't seem to have a
      `strip in generated file' comment mechanism) leading to conflicts, and
      installing in place would create unknown directories and copies of
      source directories (leading to conflicts with the source directories).
      
      This changeset makes all autoconf-processed files use explicit id-tags
      and adds .arch-inventory entries to ignore installation directories.
      48d67035
  3. 23 May, 2004 1 commit
    • Karoly Lorentey's avatar
      Make terminal_coding and keyboard_coding display-local. · b8299c66
      Karoly Lorentey authored
      src/coding.c: Include frame.h and termhooks.h.
      (terminal_coding, keyboard_coding): Remove.
      (Fset_terminal_coding_system_internal, Fterminal_coding_system):
      Use the selected frame's terminal coding system.
      (Fset_safe_terminal_coding_system_internal): Fix typo.
      (Fset_keyboard_coding_system_internal, Fkeyboard_coding_system):
      Use the selected frame's keyboard coding system.
      (init_coding_once): Don't initialize keyboard_coding and terminal_coding.
      
      src/coding.h (terminal_coding, keyboard_coding): Remove.
      
      src/termhooks.h (terminal_coding, keyboard_coding): New members of
      struct display.
      (FRAME_TERMINAL_CODING, FRAME_KEYBOARD_CODING): New macros.
      
      src/termchar.h (kboard): Cosmetic change.
      
      src/term.c (encode_terminal_code): Add coding parameter.
      (tty_write_glyphs): Use the display-local terminal coding system.
      (create_display): Allocate and initialize coding systems.
      (delete_display): Free coding systems.
      
      src/xdisp.c (decode_mode_spec): Use display-local coding systems.
      
      src/Makefile.in: Fix dependencies for termchar.h and termhooks.h.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-167
      b8299c66
  4. 18 May, 2004 1 commit
  5. 02 May, 2004 1 commit
  6. 12 Apr, 2004 1 commit
  7. 14 Mar, 2004 1 commit
  8. 13 Mar, 2004 1 commit
  9. 11 Mar, 2004 2 commits
  10. 19 Feb, 2004 1 commit
  11. 16 Feb, 2004 1 commit
  12. 08 Feb, 2004 1 commit
  13. 05 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Converted display hooks to be display-local. Plus many bugfixes. · 428a555e
      Karoly Lorentey authored
      lib-src/emacsclient.c (window_change_signal): Renamed to pass_signal_to_emacs.
      (init_signal): Pass SIGINT and SIGQUIT to the emacs process.
      
      lisp/faces.el (face-valid-attribute-values): Use the window-system
      function, not the variable.
      (read-face-attribute, face-spec-set-match-display, frame-set-background-mode)
      (face-set-after-frame-default): Ditto.
      
      lisp/frame.el (make-frame-on-tty): Added interactive declaration
      (suggested by Robert J. Chassell).  Use tty-create-frame-with-faces,
      not make-terminal-frame.
      
      src/termhooks.h (struct display_method): Renamed to display for brevity.
      (struct display): Added all display hook variables as members of this structure.
      Added next_display, reference_count, type and display_info components.
      (FRAME_MUST_WRITE_SPACES, FRAME_FAST_CLEAR_END_OF_LINE, FRAME_LINE_INS_DEL_OK)
      (FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK, FRAME_SCROLL_REGION_COST)
      (FRAME_MEMORY_BELOW_FRAME, FRAME_RIF): Updated for struct display.
      (FRAME_DISPLAY): New macro.
      (create_display, delete_display): New prototypes.
      
      src/frame.h (struct frame): Added `display' member, removed display_method.
      (FRAME_LIVE_P): Look at f->display, not f->output_data.
      
      src/termchar.h (struct tty_display_info): Removed display_method component.
      (FRAME_TTY): Use the display structure, not output_data.
      
      src/term.c (display_list): New variable.
      (cursor_to_hook, raw_cursor_to_hook, clear_to_end_hook, clear_frame_hook)
      (clear_end_of_line_hook, ins_del_lines_hook, delete_glyphs_hook)
      (ring_bell_hook, reset_terminal_modes_hook, set_terminal_modes_hook)
      (update_begin_hook, update_end_hook, set_terminal_window_hook)
      (insert_glyphs_hook, write_glyphs_hook, delete_glyphs_hoo, read_socket_hook)
      (frame_up_to_date_hook, mouse_position_hook, frame_rehighlight_hook)
      (frame_raise_lower_hook, set_vertical_scroll_bar_hook, condemn_scroll_bars_hook)
      (redeem_scroll_bar_hook, judge_scroll_bars_hook): Moved to struct display.
      (tty_display_method_template): Removed.
      (syms_of_term): Don't initialize tty_display_method_template.
      (ring_bell, set_terminal_modes, reset_terminal_modes, 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): Access display hooks through the frame pointer.
      (Ftty_display_color_p): Use the frame given as a parameter, or else return nil.
      (Ftty_display_color_cells): Ditto.
      (get_named_tty): Renamed to get_named_tty_display, changed return type to struct display.
      (term_dummy_init): Renamed to initial_term_init.  Create and return an initial display.
      (term_init): Initialize a new struct display and return a pointer to
      it instead of tty_display_info.  Removed frame initialization kludge.
      (Fdelete_tty): Updated for struct display.
      (delete_tty): The parameter type is now struct display, not tty_display_info.
      Delete the display, too.
      (create_tty_output): New function for creating tty_output structures.
      (delete_tty_output): New function for deleting tty_output structures.
      (create_display): New function for creating and registering display structures.
      (delete_display): New function for deleting and unregistering display structures.
      
      src/dispextern.h: Updated prototypes.
      
      src/dispnew.c:  Include frame.h before termhooks.h.
      (init_display): Updated term_init call to new signature.
      
      src/emacs.c: Include frame.h (for termhooks.h).
      src/keymap.c: Ditto.
      src/lread.c: Ditto.
      src/xsmfns.c: Ditto.
      
      src/process.c: Include frame.h before termhooks.h.
      
      src/frame.c (Fwindow_system): New function.
      (syms_of_frame): Initialize it.
      (make_terminal_frame): Open the terminal device before creating the new frame.
      Disable scrollbars here, term_init cannot do that anymore.
      (Fdelete_frame): Use the new delete_frame_hook, don't do display-specific
      frame deletion here.  Ditto for delete_display_hook.
      (Fmouse_position, Fmouse_pixel_position, Fraise_frame, Flower_frame)
      (Fredirect_frame_focus): Access display hooks through the frame pointer.
      
      src/keyboard.c: Include frame.h before termhooks.h.
      (start_polling, input_polling_used, stop_polling, gobble_input): Ignore read_socket_hook.
      (kbd_buffer_get_event, Fset_input_mode): Access display hooks through the frame pointer.
      (read_avail_input): Loop through all display devices for and call all read_socket_hook functions.  Check ttys even if read_socket_hook returned an error.
      
      src/sysdep.c (discard_tty_input): Ignore read_socket_hook.
      (stuff_char): Don't do anything if the current frame is not on a termcap display.
      (request_sigio, unrequest_sigio): Ignore read_socket_hook.
      (init_sys_modes): Always call narrow_foreground_group.  Set up terminal modes and sigio even under X.
      
      src/xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
      (set_vertical_scroll_bar, redisplay_window): Access display hooks through the frame pointer.
      (echo_area_display): Don't be afraid of termcap frames during an X+tty combo session.
      
      src/xfaces.c: Include termhooks.h.
      (Ftty_supports_face_attributes_p): Use the given frame, not selected_frame.
      
      src/xfns.c (x_set_scroll_bar_foreground, x_set_scroll_bar_background): Access display hooks through the frame pointer.
      (Fx_create_frame, x_create_tip_frame): Initialize the frame's display structure.
      src/xmenu.c: Include termhooks.h after frame.h.
      
      src/xselect.c (x_own_selection, some_frame_on_display, x_get_foreign_selection)
      (Fx_disown_selection_internal, Fx_get_cut_buffer_internal)
      (Fx_store_cut_buffer_internal, Fx_rotate_cut_buffers_internal): Don't do anything
      if the selected frame is not an X frame.
      
      src/xterm.c (x_display_method): Removed.
      (x_create_frame_display, x_delete_frame_display): New functions for handling struct display objects.
      (x_term_init): Set up a new struct display object, too.
      (x_delete_display): Delete the struct display corresponding to the X display.
      (x_initialize): Moved hook initialization to x_create_frame_display.
      
      src/xterm.h (x_display_method): Removed.
      (struct x_display_info): Added frame_display component.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-44
      428a555e
  14. 03 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Portability fixes (now it compiles & runs fine on Solaris). · 4d553a13
      Karoly Lorentey authored
      lib-src/emacsclient.c: Removed tty proxy kludge.  Emacs should just
      use the same terminal as emacsclient.
      (ec_get_tty, ec_set_tty, master, pty_name, old_tty, tty, old_tty_valid)
      (tty_erase_char, quit_char, flow_control, meta_key, _sobuf, init_tty)
      (window_change, reset_tty, init_pty, copy_from_to)
      (pty_conversation): Removed.
      (window_change_signal): Just forward the signal to Emacs, don't do
      anything else.
      (init_signals): Don't set handlers for SIGHUP & SIGINT.
      (strprefix): New function.
      (main): Don't touch the terminal, simply tell its name to Emacs.
      
      lisp/server.el (server-frames): Changed name and semantics to server-ttys.
      (server-tty-live-p): New function.
      (server-sentinel): Delete the whole tty, not just the frame.
      (server-handle-delete-frame): Removed.
      (server-handle-delete-tty): New function. Close the client connection if
      the tty is deleted.
      (server-start): Clean up server-ttys, not server-frames.  Set up
      delete-tty-after-functions.
      (server-process-filter): Set up server-ttys, not server-frames.
      Updated protocol for sending our pid to emacsclient.
      (server-buffer-done): Don't delete the client process directly, delete
      the tty instead, and rely on the delete-tty hook to close the
      connection.  Otherwise the terminal could be left in a bad state.
      
      src/cm.c (cmputc): Don't abort on write errors.
      
      src/indent.c: #include <stdio.h>, for termchar.h.
      src/window.c: Ditto.
      src/xfaces.c: Ditto.
      
      src/sysdep.c (init_sigio, reset_sigio, request_sigio)[!SIGIO]
      (unrequest_sigio)[!SIGIO]: If SIGIO is not supported, don't do
      anything. (For Solaris.)
      (init_sys_modes): Moved tty_set_terminal_modes call back to here,
      disable window system check.
      (reset_sys_modes): Reset the terminal even if X is running.
      
      src/term.c (Vdelete_tty_after_functions): New variable.
      (syms_of_term): Initialize it.
      (Fdelete_tty): Updated docs.
      (delete_tty): Run delete-tty-after-functions.
      (term_init): Removed tty_set_terminal_modes call.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-35
      4d553a13
  15. 02 Jan, 2004 2 commits
    • Karoly Lorentey's avatar
      Got rid of the rif (window-based redisplay interface) global variable. · fa971ac3
      Karoly Lorentey authored
      src/dispextern.h (PRODUCE_GLYPHS): Use the rif in IT->f, not the global rif.
      (rif): Removed.
      
      src/dispnew.c (rif): Removed.
      (direct_output_for_insert, direct_output_forward_char, update_frame)
      (redraw_overlapped_rows, redraw_overlapping_rows, update_window)
      (update_marginal_area, update_text_area, update_window_line)
      (set_window_cursor_after_update, scrolling_window): Use the rif of the
      current frame, not the global rif.
      
      src/fontset.c: #include termhooks.h, for FRAME_RIF.
      (Finternal_char_font): Use the rif of the current frame.
      
      src/frame.c (x_set_frame_parameters): Use the rif of the current frame.
      
      src/keyboard.c (detect_input_pending_run_timers): Use the rif of the
      current frame.
      
      src/minibuf.c: #include termhooks.h, for FRAME_RIF.
      (read_minibuf): Use the rif of the current frame.
      
      src/term.c (update_begin): Removed rif update hack.
      
      src/termhooks.h (FRAME_RIF): New macro.
      
      src/xdisp.c (init_iterator, expose_frame): Removed rif update hack.
      (echo_area_display, x_cursor_to, draw_fringe_bitmap)
      (try_window_reusing_current_matrix, try_window_id)
      (get_glyph_face_and_encoding, x_get_glyph_overhangs)
      (get_char_face_and_encoding, compute_overhangs_and_x, draw_glyphs)
      (x_produce_glyphs, x_insert_glyphs, x_clear_end_of_line)
      (erase_phys_cursor, display_and_set_cursor, show_mouse_face)
      (define_frame_cursor1, x_draw_vertical_border): Use the rif of the
      current frame.
      
      src/xfns.c (Fx_create_frame): Removed rif update hack.
      src/xterm.c (frame_highlight, frame_unhighlight): Ditto.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-32
      fa971ac3
    • Karoly Lorentey's avatar
      Fixed X support, preliminary support for X-tty combo sessions. · daf01701
      Karoly Lorentey authored
      lib-src/emacsclient.c (copy_from_to, pty_conversation): Re-added SIGIO
      hack.  (Sigh.)
      
      lisp/frame.el (make-frame-on-tty): Use make-terminal-frame, not
      make-frame.
      
      src/dispnew.c (line_hash_code, line_draw_cost): Updated to use
      the new display_method parameters.
      (Fredraw_frame): fflush the tty only if f is a termcap frame.
      (direct_output_for_insert): Updated to use the new display_method
      parameters. fflush the tty only if f is a termcap frame.
      (direct_output_forward_char, update_frame_1, scrolling): Ditto.
      (update_frame_line, Fding, bitch_at_user): Ditto.
      (Fsend_string_to_terminal): Fail if current frame is not on a tty.
      (init_display): Frame size change is safe here.
      
      
      src/frame.c (Vterminal_frame): Restored previously deleted variable.
      (syms_of_frame): Initialize it.
      (make_terminal_frame): Copy the frame's display_method from tty_display_info.
      (Fmake_terminal_frame): Enable simultaneous X and tty frames (buggy).
      (Fredirect_frame_focus): Don't call frame_rehighlight_hook if frame
      is on a termcap device.
      
      src/frame.h (struct frame): Renamed display to display_method.
      (Vterminal_frame): Re-added declaration.
      
      src/keyboard.c (flow_control): Moved to struct tty_display_info.
      (read_avail_input): Check ttys even if there is a read_socket_hook.
      (Fset_input_mode): Call reset_sys_modes/init_sys_modes and set
      flow_control or meta_key only when the frame is a termcap frame.
      (Fcurrent_input_mode): Handle flow_control and meta_key right on
      non-termcap frames.
      
      src/scroll.c (calculate_scrolling, calculate_direct_scrolling): Update
      to use the new display_method parameters.
      (scrolling_1, scroll_cost): Ditto.
      
      src/sysdep.c (init_sys_modes, reset_sys_modes): Always set the
      terminal parameters if tty_out->input is not stdin.  Updated to the
      new location of flow_control.
      (hft_init): Moved HFT init code to term_init, as it needs the frame.
      
      src/term.c (tty_display_method_template): New variable.
      (update_begin): Added rif hack.
      (set_terminal_window, ins_del_lines, term_init): Updated to use the
      new display_method parameters.
      (insert_glyphs, ins_del_lines): Only call insert_glyphs_hook if the
      current frame is not on a tty.
      (calculate_costs): Don't calculate costs if not on a tty.
      (term_dummy_init): Fixed tty->output initialization. Preallocate Wcm
      and display_method.
      (term_init): Allocate & initialize display_method.  Blindly fixed
      WINDOWSNT-specific parts.  Added HFT-specific initialization
      exception from hft_init.
      (delete_tty): Only delete termcap frames.  Free() the display_method.
      
      src/termchar.h (struct tty_display_info): Moved high-level terminal
      characteristics to struct display_method.  Added flow_control and
      display_method members.
      
      src/termhooks.h (struct display_method): New struct (renamed from
      struct device).  Added accessor macros.
      
      src/window.c (init_window_once): Initialize Vterminal_frame.
      
      src/xdisp.c (init_iterator, expose_frame): Added rif hack.
      (try_window_id): Updated to use the new display_method parameters.
      
      src/xfaces.c (realize_basic_faces): Don't call
      x_update_menu_appearance if the frame is a tty frame.
      
      src/xfns.c (Fx_create_frame): Added rif hack.  Initialize
      display_method.
      (x_create_tip_frame): Initialize display_method.
      
      src/xterm.c (x_display_method): New variable.
      (x_flush, x_frame_of_widget, XTmouse_position): Ignore non-X frames.
      (x_window_to_scroll_bar, x_window_to_menu_bar): Ditto.
      (xim_destroy_callback, xim_instantiate_callback): Ditto.
      (frame_highlight, frame_unhighlight): Added rif hack.
      (x_initialize): Don't initialize rif.  Do initialize x_display_method.
      
      src/xterm.h (x_display_method): New declaration.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-30
      daf01701
  16. 29 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Bugfix festival. · 0a125897
      Karoly Lorentey authored
      lib-src/emacsclient.c (main_argc, main_argv): New variables.
      (main): Initialize them.
      (fail): Use them.
      (window_change, copy_from_to): Don't kill if emacs_pid is zero.
      (pty_conversation): Watch the command socket, too.  Read emacs_pid
      here.  Emacs and emacsclient could deadlock if Emacs tried to do a
      reset_sys_modes before sending its pid.
      
      lisp/server.el: Automatically delete the client frame when done editing.
      (server-frames): New variable.
      (server-process-filter, server-sentinel, server-buffer-done): Use it.
      (server-process-filter): Do a redisplay before evaluating other
      parameters.  (Prevents "emacsclient -h -e '(delete-frame)'" from
      messing up the system.
      
      src/dispextern.h: Update prototypes.
      
      src/dispnew.c (window_change_signal): Do nothing if !term_initted.
      (init_display): Set the frame size from the tty data after term_init.
      
      src/emacs.c (main): Make sure things that init_sys_modes needs are 
      initialized before init_display (which calls init_sys_modes now).
      (sort_args): Use xfree, not free.
      (shut_down_emacs) [!EMACS_HAVE_TTY_PGRP]: Use reset_all_sys_modes
      instead of reset_sys_modes.
      
      src/frame.c (make_terminal_frame): Sigh. Move terminal initialization
      back to the middle of frame setup.  Handle errors by making sure that
      the delete_tty() called from term_init() will see and delete this
      frame.
      (Fdelete_frame): Kill the frame before calling delete_tty().  Fix
      condition for tty deletion.
      
      src/keyboard.c (Fset_input_mode): Use reset_sys_modes on the current
      terminal only.
      
      src/lisp.h: Remove duplicate prototypes.
      
      src/msdos.c (croak): use reset_all_sys_modes().
      
      src/sysdeps.c (init_baud_rate): Added tty parameter, use it instead of CURTTY.
      (child_setup_tty): Reset sigio on stdin, not CURTTY().
      (reset_sigio): Added fd parameter, put explicit fcntl there.
      (request_sigio, unrequest_sigio)[FASYNC]: Simply block/unblock the
      SIGIO signal, don't touch the file params.  There are multiple ttys
      now, and we can't disable the SIGIO from emacsclient.
      (get_tty_size)[VMS]: Use tty_out instead of CURTTY().
      (reset_sys_modes): Don't call cursor_to, clear_end_of_line; call
      cmgoto and tty_clear_end_of_line instead.  The frame may already be
      dead.  Updated reset_sigio call.
      
      src/term.c (clear_and_of_line): Separate tty-dependent stuff to
      tty_clear_end_of_line() for reset_sys_modes.
      (tty_clear_end_of_line): New function.
      (term_init): Added frame parameter, don't use selected_frame.
      Set the frame's output_data.tty value (in case there is an error
      later).  Set the frame size in Wcm, not in the frame.  Only free the
      termcap buffer if there is a termcap-related error.  Call
      init_sys_modes last, not first.
      (deleting_tty): New variable.
      (delete_tty): Use it for handling recursive calls.  Free deleted tty,
      except its Wcm (there is still a dangling reference somewhere).
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-19
      0a125897
  17. 27 Dec, 2003 1 commit
  18. 25 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Implemented multiple tty support. · 28d440ab
      Karoly Lorentey authored
      README.multi-tty: New file.
      
      src/termchar.h (struct terminal): Renamed to struct tty_output.  Added name, type,
      input, output, termscript, old_tty, term_initted, old_tty_valid,
      background_pixel, foreground_pixel, next fields.
      (TERMINAL_*): Renamed to TTY_* for brevity.
      (CURRENT_TERMINAL): Renamed to CURTTY for brevity.
      (tty_list): New variable.
      (TERMINAL_PTR): Removed.
      (FRAME_TTY): New function.
      (TTY_NAME, TTY_TYPE): New macros.
      
      src/term.c (current_terminal): Removed.  (_current_terminal): Removed.  (tty_list):
      New variable.  (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty
      parameter.  (set_terminal_modes): Added tty parameter.  (reset_terminal_modes):
      Added tty parameter.  (cursor_to, raw_cursor_to): Updated cmgoto() calls.
      (clear_end_of_line, write_glyphs): Add indirection to terminal output, updated
      cmcheckmagic() calls.  (get_named_tty): New function.  (term_dummy_init): New
      function.  (term_init): Added name parameter, added tty_output return value.
      Changed algorithm to update tty_list.  Call init_sys_modes() to set up tty
      mode on the newly opened terminal device.
      (get_current_tty): New function, intended for debugging.
      
      src/termhooks.h (termscript): Removed.
      
      src/w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Removed redundant
      definition.
      src/macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.
      
      
      src/window.c (init_window_once): Call make_terminal_frame with two zero parameters.
      
      src/cm.h (emacs_tputs): New macro to set current_tty, and then call tputs().
      (current_tty): New variable, for cmputc().
      (cmcheckmagic, cmputc, cmgoto): Added prototypes.
      
      src/cm.c (current_tty): New variable, for cmputc().
      (cmputc): Use it.
      (cmcheckmagic): Added tty parameter, look up terminal streams there.
      (calccost): Added tty parameter.  Use emacs_tputs() instead of tputs().
      (cmgoto): Added tty parameter.  Pass it on to calccost().  Use emacs_tputs()
      instead of tputs().
      
      
      src/dispextern.h (set_terminal_modes, reset_terminal_modes): Added tty parameter.
      (term_init): Added name parameter (the filename of the terminal device). Added
      return value (struct tty_output).
      
      src/dispnew.c: Replace CURTTY() with local variables throughout the file (where applicable).
      (termscript): Moved to struct tty_output.
      (terminal_type): Removed.
      
      src/emacs.c (main): Don't call init_sys_modes(), the new term_init() already does that
      during init_display().
      (shut_down_emacs): Call reset_all_sys_modes() instead of reset_sys_modes().
      
      src/frame.c (Qtty, Qtty_type): New variables.
      (syms_of_frame): Initialize them.
      (tty_display): Removed.
      (make_terminal_frame): New parameters (tty filename and type).
      Initialize output_data.tty field instead of output_data.x.  Use term_init() to
      find the right tty_output.  (Use term_dummy_init() during bootstrap.)
      (Fmake_terminal_frame): Get device filename and type from frame parameters.
      
      src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the right thing
      if the frame is a tty.
      (struct frame): New member in output_data: tty.
      (make_terminal_frame): Updated of prototype.
      
      src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
      reset_sys_modes().  Ditto with init_sys_modes().
      
      src/lisp.h (tty_output): Added forward declaration.
      (init_sys_modes, reset_sys_modes): Updated prototype.
      (init_all_sys_modes, reset_all_sys_modes): New prototypes.
      
      src/scroll.c: Replace CURTTY() with local variables throughout the file (where applicable).
      
      src/sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct tty_output.(
      (init_all_sys_modes): New function.
      (init_sys_modes): Added tty_output parameter.  Use it.
      (reset_all_sys_modes): New function.
      (reset_sys_modes): Added tty_output parameter.  Use it.
      
      src/Makefile.in: Update dependencies.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-2
      28d440ab
  19. 08 Nov, 2003 1 commit
  20. 25 Sep, 2003 1 commit
  21. 16 Sep, 2003 1 commit
  22. 02 Sep, 2003 1 commit
  23. 01 Sep, 2003 2 commits
    • Miles Bader's avatar
      Add arch taglines · ab5796a9
      Miles Bader authored
      ab5796a9
    • Dave Love's avatar
      (alloca.o): Remove commands. · c0175e24
      Dave Love authored
      (coding.o): Depend on intervals.h composite.h window.h.
      (emacs.o): Depend on window.h keyboard.h keymap.h.
      (gtkutil.o): Depend on keyboard.h charset.h coding.h.
      (bytecode.o): Depend on window.h.
      c0175e24
  24. 24 Aug, 2003 1 commit
  25. 21 Aug, 2003 1 commit
  26. 20 Aug, 2003 1 commit
  27. 30 Jul, 2003 1 commit
  28. 12 Jul, 2003 1 commit
  29. 17 Jun, 2003 1 commit
  30. 31 May, 2003 1 commit
  31. 09 May, 2003 1 commit
  32. 07 Apr, 2003 1 commit
  33. 31 Mar, 2003 1 commit
  34. 22 Mar, 2003 1 commit
  35. 21 Mar, 2003 1 commit
  36. 11 Feb, 2003 1 commit
  37. 08 Feb, 2003 1 commit