comparison lib-src/ChangeLog.multi-tty @ 83674:b4ae7a9d52c2

Further simplification pending merge to trunk.
author Glenn Morris <rgm@gnu.org>
date Mon, 27 Aug 2007 07:51:44 +0000
parents 0e8db0b13648
children
comparison
equal deleted inserted replaced
83673:076401f9c009 83674:b4ae7a9d52c2
1 0000-00-00 A. N. Other <none@example.com>
2
3 (main_argc, main_argv, current_frame, window_system, tty): New
4 variables.
5 (longopts): Add tty, current-frame.
6 (xmalloc, xstrdup): New functions.
7 (decode_options): Set display from environment. Add tty and
8 current_frame options.
9 (print_help_and_exit): Document tty and current-frame options.
10 (fail): Change arguments to void.
11 (main): When sockets are not defined, set main_argc, main_argv,
12 and call fail() with no arguments.
13 (quote_file_name): Rename to quote_argument.
14 (quote_argument): New name for old quote_file_name.
15 (unquote_argument, strprefix, pass_signal_to_emacs)
16 (handle_sigcont, handle_sigtstp, init_signals): New functions.
17 (set_local_socket): Initialize saved_errno to 0. If socket-name
18 is too long, call `fail' rather than `exit'.
19 (main): Set main_argc, main_argv. New var `str'. Don't need a
20 filename or argument if tty or window_system set. Call fail with
21 no arguments. Send version number to Emacs for verification.
22 If tty is set, check TERM, and pass name and type to Emacs.
23 Pass window_system to Emacs. Move sending of eval to optind
24 loop. Send -position, -file to Emacs. Call fsync after fflush.
25 Check for a client/server version match. Handle -emacs-pid,
26 -print, -error, -suspend.
27
28 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu> 1 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu>
29 2
30 * emacsclient.c (w32_execvp): Move definition before use. 3 * emacsclient.c (w32_execvp): Move definition before use.
31 (decode_options): Don't use a tty on mac carbon or windows. 4 (decode_options): Don't use a tty on mac carbon or windows.
32 5
44 17
45 * emacsclient.c (signal.h): New include. 18 * emacsclient.c (signal.h): New include.
46 (sys/stat.h, errno.h): Always include, even on WINDOWSNT. 19 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
47 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Copy 20 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Copy
48 definitions here from src/lisp.h. 21 definitions here from src/lisp.h.
22 (main_argc, main_argv, current_frame, window_system, tty): New
23 variables.
24 (longopts): Add tty, current-frame.
25 (xmalloc, xstrdup): New functions.
49 (get_current_dir_name): New function, copied from src/sysdep.c. 26 (get_current_dir_name): New function, copied from src/sysdep.c.
50 (decode_options): Make --no-wait imply --current-frame, except 27 (decode_options): Set display from environment. Add tty and
51 when it is the only option given. Make sure no frame is opened 28 current_frame options. Make --no-wait imply --current-frame,
52 when --current-frame is set. 29 except when it is the only option given. Make sure no frame is
30 opened when --current-frame is set.
31 (print_help_and_exit): Document tty and current-frame options.
32 (fail): Change arguments to void.
33 (main): When sockets are not defined, set main_argc, main_argv,
34 and call fail() with no arguments.
53 (emacs_socket): New variable (moved out from main `s'). 35 (emacs_socket): New variable (moved out from main `s').
54 (main): Use get_current_dir_name to send over the current 36 (quote_file_name): Rename to quote_argument.
55 directory. Handle -window-system-unsupported command. Doc 37 (quote_argument): New name for old quote_file_name.
56 update. Don't exit prematurely on --no-wait, let Emacs close the 38 (unquote_argument, strprefix, pass_signal_to_emacs)
57 connection for us. When creating a new frame, send environment 39 (handle_sigcont, handle_sigtstp, init_signals): New functions.
58 and pwd to Emacs. Send current-frame to Emacs. 40 (set_local_socket): Initialize saved_errno to 0. If socket-name
41 is too long, call `fail' rather than `exit'.
42 (main): Doc update. Set main_argc, main_argv. New var `str'.
43 Don't need a filename or argument if tty or window_system set.
44 Call fail with no arguments. Use get_current_dir_name to send
45 over the current directory. Send version number to Emacs for
46 verification. If tty is set, check TERM, and pass name and type
47 to Emacs. Pass window_system to Emacs. Move sending of eval to
48 optind loop. Send -position, -file to Emacs. Call fsync after
49 fflush. Check for a client/server version match. Handle
50 -emacs-pid, -window-system-unsupported, -print, -error, -suspend
51 commands. Don't exit prematurely on --no-wait, let Emacs close
52 the connection for us. When creating a new frame, send
53 environment and pwd to Emacs. Send current-frame to Emacs.
59 54
60 ;; Local Variables: 55 ;; Local Variables:
61 ;; coding: iso-2022-7bit 56 ;; coding: iso-2022-7bit
62 ;; add-log-time-zone-rule: t 57 ;; add-log-time-zone-rule: t
63 ;; End: 58 ;; End: