1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
No description
Find a file
Karoly Lorentey 0a1258976b Bugfix festival.
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
2003-12-29 07:16:26 +00:00
admin The upload procedure that was described is no more valid after the 2003-10-24 12:19:56 +00:00
etc Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
leim tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 16:09:13 +00:00
lib-src Bugfix festival. 2003-12-29 07:16:26 +00:00
lisp Bugfix festival. 2003-12-29 07:16:26 +00:00
lispintro tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 16:09:13 +00:00
lispref Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
lwlib Update my email address. 2003-10-06 08:32:09 +00:00
mac Add arch taglines 2003-11-24 22:23:52 +00:00
man Merged in changes from CVS HEAD 2003-12-28 16:03:57 +00:00
msdos *** empty log message *** 2003-09-22 16:41:16 +00:00
nt Merged in changes from CVS HEAD 2003-12-28 16:03:57 +00:00
oldXMenu tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 16:09:13 +00:00
src Bugfix festival. 2003-12-29 07:16:26 +00:00
vms (make-mms-derivative-root-dir): Update. 2003-11-28 08:59:09 +00:00
.gitignore Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 23:19:06 +00:00
AUTHORS Merged Potorti and Potort�since Potorti is just Potort�ith a typo. 2003-10-23 13:08:02 +00:00
autogen.sh Add arch taglines 2003-09-01 15:45:59 +00:00
BUGS
ChangeLog Fixup some ChangeLogs 2003-12-24 23:32:12 +00:00
config.bat Add arch taglines 2003-09-01 15:45:59 +00:00
config.guess Revert previous change. 2003-01-15 10:04:49 +00:00
config.sub Revert previous change. 2003-01-15 10:04:49 +00:00
configure Rebuild. 2003-12-24 16:46:28 +00:00
configure.in Check for <sys/socket.h>. Include it before 2003-12-24 16:45:27 +00:00
COPYING
FTP Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
INSTALL Remove extraneous "foo2" at the end. 2003-10-06 08:36:36 +00:00
INSTALL-CVS Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69 2003-10-01 02:09:47 +00:00
install-sh Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
MAINTAINERS Add arch taglines 2003-09-01 15:45:59 +00:00
make-dist Add arch taglines 2003-09-01 15:45:59 +00:00
Makefile.in * Makefile.in (install-arch-dep): Don't let cd output go into 2003-12-24 12:02:26 +00:00
mkinstalldirs tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 16:09:13 +00:00
move-if-change
README Remove stray text at the end of the file. 2003-05-10 09:30:24 +00:00
README.multi-tty Bugfix festival. 2003-12-29 07:16:26 +00:00
update-subdirs Add arch taglines 2003-09-01 15:45:59 +00:00
vpath.sed Add arch taglines 2003-09-01 15:45:59 +00:00

This directory tree holds version 21.3.50 of GNU Emacs, the extensible,
customizable, self-documenting real-time display editor.

You may encounter bugs in this release.  If you do, please report
them; your bug reports are valuable contributions to the FSF, since
they allow us to notice and fix problems on machines we don't have, or
in code we don't use often.  See the file BUGS for more information on
how to report bugs.

See the file etc/NEWS for information on new features and other
user-visible changes in recent versions of Emacs.

The file INSTALL in this directory says how to bring up GNU Emacs on
various systems, once you have loaded the entire subtree of this
directory.

The file etc/PROBLEMS contains information on many common problems that
occur in building, installing and running Emacs.

Reports of bugs in Emacs should be sent to the mailing list
bug-gnu-emacs@gnu.org.  See the "Bugs" section of the Emacs
manual for more information on how to report bugs.  (The file `BUGS'
in this directory explains how you can find and read that section
using the Info files that come with Emacs.)  See `etc/MAILINGLISTS'
for more information on mailing lists relating to GNU packages.

The `etc' subdirectory contains several other files, named in capital
letters, which you might consider looking at when installing GNU
Emacs.

The file `configure' is a shell script to acclimate Emacs to the
oddities of your processor and operating system.  It creates the file
`Makefile' (a script for the `make' program), which automates the
process of building and installing Emacs.  See INSTALL for more
detailed information.

The file `configure.in' is the input used by the autoconf program to
construct the `configure' script.  Since Emacs has some configuration
requirements that autoconf can't meet directly, and for historical
reasons, `configure.in' uses an unholy marriage of custom-baked
configuration code and autoconf macros.  If you want to rebuild
`configure' from `configure.in', you will need to install a recent
version of autoconf and GNU m4.

The file `Makefile.in' is a template used by `configure' to create
`Makefile'.

The file `make-dist' is a shell script to build a distribution tar
file from the current Emacs tree, containing only those files
appropriate for distribution.  If you make extensive changes to Emacs,
this script will help you distribute your version to others.

There are several subdirectories:

`src'       holds the C code for Emacs (the Emacs Lisp interpreter and
            its primitives, the redisplay code, and some basic editing
            functions).
`lisp'      holds the Emacs Lisp code for Emacs (most everything else).
`leim'      holds the library of Emacs input methods, Lisp code and
            auxiliary data files required to type international characters
            which can't be directly produced by your keyboard.
`lib-src'   holds the source code for some utility programs for use by or
            with Emacs, like movemail and etags.
`etc'       holds miscellaneous architecture-independent data files
            Emacs uses, like the tutorial text and the Zippy the Pinhead
            quote database.  The contents of the `lisp', `leim', `info',
            `man', `lispref', and `lispintro' subdirectories are
            architecture-independent too.
`info'      holds the Info documentation tree for Emacs.
`man'       holds the source code for the Emacs Manual.  If you modify the
            manual sources, you will need the `makeinfo' program to produce
            an updated manual.  `makeinfo' is part of the GNU Texinfo
            package; you need version 4.2 or later of Texinfo.
`lispref'   holds the source code for the Emacs Lisp reference manual.
`lispintro' holds the source code for the Introduction to Programming
            in Emacs Lisp manual.

`msdos'     holds configuration files for compiling Emacs under MSDOG.
`vms'       holds instructions and useful files for running Emacs under VMS.
`nt'        holds various command files and documentation files that pertain
            to building and running Emacs on Windows 9X/ME/NT/2000/XP.
`mac'       holds instructions, sources, and other useful files for building
            and running Emacs on the Mac.

   Building Emacs on non-Posix platforms requires to install tools
that aren't part of the standard distribution of the OS.  The
platform-specific README files and installation instructions should
list the required tools.

VMS info:

Emacs 19.x and above do not compile out of the box on OpenVMS.
Richard Levitte <levitte@lp.se> is distributing and maintaining a
version of Emacs (currently based on version 19.28, but soon moving to
19.34 and then 20.1) that compiles and works on OpenVMS 5.5 and above
on both VAX and Alpha architectures.  For more information see

  http://vms.gnu.org/software/released1/emacs.html#get_emacs_1928_kit

There is also some effort going on with Emacs 21.  Source code is
available at ftp://ftp.nvg.ntnu.no/pub/vms/emacs/.  Look for most
recent stuff with ls -lta.

It is a working "development" version (editing and much more works).
More developers are needed; contact roart@nvg.ntnu.no.