1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
Commit graph

2170 commits

Author SHA1 Message Date
Karoly Lorentey
b4fff6b0b6 Removed two files that were committed by mistake.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-6
2003-12-26 04:26:21 +00:00
Karoly Lorentey
9628b8878f lib-src/emacsclient.c: Implemented --here option (open a new Emacs tty). Needs more work.
(here): New variable.
(decode_options): Use it.
(ec_get_tty, ec_set_tty, init_tty, window_change, hang_up_signal): New functions.
(window_change_signal, init_signals, reset_tty, init_pty, copy_from_to): Ditto.
(pty_conversation): Ditto.
(main): Use them.
(master, pty_name, old_tty, tty, old_tty_valid, tty_erase_char): New variables.
(flow_control, meta_key, _sobuf, in_conversation, quit_conversation): Ditto.

lisp/server.el (server-process-filter): Added support for opening a new terminal frame.

dispextern.h (get_frame_size): Renamed to get_tty_size, added tty_output parameter.

dispnew.c (Fredraw_frame): fflush the current terminal instead of stdout.
(direct_output_for_insert, direct_output_forward_char, update_frame_1): Ditto.
(Fding, bitch_at_user): Ditto.
(update_frame_1): Count pending output for current terminal instead of stdout.
(window_change_signal): Resize all terminals.
(change_frame_size): Don't resize all terminals to the same size.

frame.c (Vterminal_frame): Removed.
(syms_of_frame): Removed declaration of Vterminal_frame.
(make_terminal_frame): Set the top frame of the terminal to the new frame.
(Fmake_terminal_frame): Get a new frame size from get_tty_size, don't copy it.
(do_switch_frame): Handle terminal frame visibility.
(next_frame, prev_frame): Skip over frames on different terminals.

frame.h (Vterminal_frame): Removed.

keyboard.c (input_fd): Removed.
(read_avail_input): Removed first argument from read_socket_hook.
Try to read from each available tty, until one succeeds.
(Fsuspend_emacs): Don't suspend if there are multiple terminals.

lisp.h (get_frame_size): Removed superflous declaration.

xterm.c (Xtread_socket): Removed first parameter.
macterm.h (XTread_socket): Ditto.
w32inevt.c (w32_console_read_socket): Ditto.
w32term.c (w32_read_socket): Ditto.

sysdep.c (input_fd): Removed.
(change_input_fd): Removed.
(discard_tty_input): Discard pending input on _all_ input descriptors.
(stuff_char, tabs_safe_p): Use current terminal instead of input_fd.
(init_baud_rate, request_sigio, unrequest_sigio): Ditto.
(init_sys_modes, reset_sys_modes): Ditto.
(narrow_foreground_group, widen_foreground_group): Use stdin.
(init_sys_modes, reset_sys_modes): otty parameter renamed to tty_out.
(get_frame_size): Renamed to get_tty_size, added tty_out parameter.

term.c (read_socket_hook): Removed first parameter.
(clear_end_of_line): Use updating_frame, if possible.
(write_glyphs, insert_glyphs, ins_del_lines): Ditto.
(term_init): Renamed get_frame_size to get_tty_size.

termchar.h (struct tty_output): New entries: top_frame,
previous_terminal_frame.

termhooks.h (read_socket_hook): Removed first parameter.

window.c (init_window_once): Removed reference to Vterminal_frame.

xdisp.c (previous_terminal_frame): Moved to struct tty_output.
(redisplay_internal): Updated to use previous_terminal_frame in tty_output.
Allow for simultaneous refresh of multiple ttys.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-5
2003-12-26 04:24:54 +00:00
Karoly Lorentey
da1492a4cf tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137
(automatically generated log message)

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--base-0
2003-12-24 16:09:13 +00:00
Thien-Thi Nguyen
8babaa5960 *** empty log message *** 2003-12-24 07:32:41 +00:00
Thien-Thi Nguyen
08a39b8304 (main): For return code, no longer special-case VMS.
Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2003-12-24 06:49:23 +00:00
Richard M. Stallman
1ae7cf5ee8 (edebug-display-freq-count): Doc fix. 2003-10-20 23:46:31 +00:00
Richard M. Stallman
a4cf2096d7 Comment change. 2003-10-13 19:41:26 +00:00
Dave Love
c51b37fde9 *** empty log message *** 2003-10-06 16:36:56 +00:00
Eli Zaretskii
14ef72889c *** empty log message *** 2003-09-28 09:19:38 +00:00
Eli Zaretskii
872093579a (quote_file_name): Print the result instead of
returning it.  Fix the return type accordingly.
(main): Under --eval, don't fail if left with additional
arguments after decoding options.  Quote file names.
2003-09-28 08:24:56 +00:00
Richard M. Stallman
3db926beda Comment change. 2003-09-19 14:27:47 +00:00
Richard M. Stallman
f387bdeaae *** empty log message *** 2003-09-12 01:09:43 +00:00
Richard M. Stallman
254107e497 (socket_name): New variable.
(longopts, decode_options, print_help_and_exit):
Handle --socket-name argument.

(main): Use socket_name.
2003-09-12 00:48:03 +00:00
Francesco Potortì
2bc2e3fcb5 (consider_token): check C++ `operator' only when the token len is long
enough.
2003-09-03 14:20:49 +00:00
Francesco Potortì
0b7e7337a0 *** empty log message *** 2003-09-03 14:19:19 +00:00
Miles Bader
8e5331fe84 Correct some arch-tag: comment types 2003-09-02 06:06:59 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
ac06b30be5 Remove obsolete references to alloca. 2003-08-20 15:47:57 +00:00
Juanma Barranquero
32b0a3c633 *** empty log message *** 2003-07-28 22:53:07 +00:00
Juanma Barranquero
bb5618fe38 (main): Fix having macros in a printf statement. 2003-07-28 22:10:30 +00:00
Juanma Barranquero
9d6baf7cbd (suggest_asking_for_help): Fix having macros in a printf statement. 2003-07-28 22:09:47 +00:00
Juanma Barranquero
3867c42d60 *** empty log message *** 2003-05-31 00:40:43 +00:00
Juanma Barranquero
8dc48ef051 (lisp): Fix references to byte-run.el, float-sup.el and map-ynp.el, which are
now in emacs-lisp.
2003-05-31 00:33:50 +00:00
Francesco Potortì
73d3586ded Remove Philippe Waroquier's email address, at his request. 2003-05-27 20:13:22 +00:00
Dave Love
7933722aa4 *** empty log message *** 2003-05-22 20:01:37 +00:00
Dave Love
1d28afaf27 (difftime) [!HAVE_DIFFTIME]: Define.
(strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2003-05-22 20:01:19 +00:00
Dave Love
463f55eece *** empty log message *** 2003-05-20 16:34:55 +00:00
Dave Love
dd843b6af3 Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL. 2003-05-20 16:34:35 +00:00
Dave Love
dfb7bcda87 Define LIBS_MAIL=-llockfile. 2003-05-20 16:33:02 +00:00
Juanma Barranquero
1b7a835ba3 *** empty log message *** 2003-04-27 11:24:59 +00:00
Juanma Barranquero
ee435bae30 (read_scores): Fix corruption of score files. 2003-04-27 11:22:16 +00:00
Stefan Monnier
eec54bd743 *** empty log message *** 2003-04-12 19:17:24 +00:00
Stefan Monnier
caa4df2b5d (main): Use new safe location for socket. 2003-04-12 19:03:08 +00:00
Juanma Barranquero
ff4bd68179 *** empty log message *** 2003-03-12 21:37:27 +00:00
Juanma Barranquero
20c396e841 (print_help_and_exit): Print to stdout. Exit successfully. Added some blank
lines for readability.
(decode_options): Don't call print_help_and_exit in default case. Print version
information to stdout.
(main): Don't call print_help_and_exit.
2003-03-12 21:36:29 +00:00
Richard M. Stallman
dd132e4437 *** empty log message *** 2003-02-15 19:29:15 +00:00
Richard M. Stallman
2a61b9d244 Cast result of malloc and realloc.
Don't include stdlib.h, becuase config.h does.
(malloc, realloc): Declarations deleted.
2003-02-15 10:53:55 +00:00
Richard M. Stallman
9fc08e73d1 (yow): Cast result of malloc and realloc.
(malloc, realloc): Declarations deleted.
2003-02-15 10:52:52 +00:00
Juanma Barranquero
71ffc53a70 *** empty log message *** 2003-02-11 09:03:05 +00:00
Juanma Barranquero
0a0dc5114c (lisp): Add malayalam.el and tamil.el. 2003-02-11 08:19:48 +00:00
Andreas Schwab
0dfd93c05d *** empty log message *** 2003-02-08 17:28:43 +00:00
Andreas Schwab
108c7c97c1 (EXEEXT): Define to @EXEEXT@ and use this variable
instead of the substitution.
2003-02-08 17:27:58 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Richard M. Stallman
37d1e6800c *** empty log message *** 2003-02-04 12:03:59 +00:00
Richard M. Stallman
00a7e40898 (push_score, read_scores): Cast values of malloc and realloc.
(main, lock_file): Avoid assignment inside if.
2003-02-04 12:03:44 +00:00
Richard M. Stallman
a5d107f3c7 Whitespace changes. 2003-02-04 12:00:09 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Kim F. Storm
88c717201f Corrected misc. typos like missing : after file names,
missing file name suffixes, and * used as prefix on non-file entries.
2003-01-28 23:49:11 +00:00
Dave Love
b24e2dc7fa Don't include string.h. 2003-01-21 18:29:34 +00:00
Dave Love
373df066fb (Cplusplus_help, Cjava_help): Re-phrase and avoid
column-0 `('.
2003-01-21 18:28:35 +00:00