annotate INSTALL-CVS @ 53229:33c3c7c16e13

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
author Karoly Lorentey <lorentey@elte.hu>
date Fri, 26 Dec 2003 04:24:54 +0000
parents 7bea35b48a17
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45852
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 Building and Installing Emacs from CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 Some of the files that are included in the Emacs tarball, such as
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 byte-compiled Lisp files, are not stored in the CVS repository.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 Therefore, to build from CVS you must run "make bootstrap"
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 instead of just "make":
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 $ make bootstrap
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 The bootstrap process makes sure all necessary files are rebuilt
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 before it builds the final Emacs binary.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 Normally, it is not necessary to use "make bootstrap" after every CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 update. Unless there are problems, we suggest the following
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 procedure:
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 $ cd lisp
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 $ make recompile EMACS=../src/emacs
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 $ cd ..
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 (If you want to install the Emacs binary, type "make install" instead
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 of "make" in the last command.)
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
52709
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
28 Occasionally the file "lisp/loaddefs.el" will need be updated to reflect
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
29 new autoloaded functions. If you see errors about undefined lisp
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
30 functions during compilation, that may be the reason. Another symptom
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
31 may be an error saying that "loaddefs.el" could not be found; this is
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
32 due to a change in the way loaddefs.el was handled in CVS, and should
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
33 only happen once, for users that are updating old CVS trees.
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
34
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
35 To update loaddefs.el, do:
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
36
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
37 $ cd lisp
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
38 $ make autoloads EMACS=../src/emacs
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
39
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
40 If either of above procedures fails, try "make bootstrap".
45852
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 Users of non-Posix systems (MS-Windows etc.) should run the
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 platform-specific configuration scripts (nt/configure.bat, config.bat,
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 etc.) before "make bootstrap" or "make"; the rest of the procedure is
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 applicable to those systems as well.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46
50100
ca7aa82d6f39 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 45852
diff changeset
47 Questions, requests, and bug reports about the CVS versions of Emacs
52584
88cd9cfe5459 Clear up the last paragraph.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50100
diff changeset
48 should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help
88cd9cfe5459 Clear up the last paragraph.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50100
diff changeset
49 or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will
88cd9cfe5459 Clear up the last paragraph.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50100
diff changeset
50 send it to the proper place.