annotate GETTING.GNU.SOFTWARE @ 2439:b6c62e4abf59

Put interrupt input blocking in a separate file from xterm.h. This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h.
author Jim Blandy <jimb@redhat.com>
date Wed, 31 Mar 1993 10:55:33 +0000
parents 784262b28079
children 87bd6540514f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
1 -*- text -*-
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
2 Getting GNU Software, 21 Mar 93
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
3 Copyright (C) 1986, 1987, 1988, 1989, 1990, 1992, 1993 Free Software Foundation, Inc.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
4
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
5
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
6 Permission is granted to anyone to make or distribute verbatim
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
7 copies of this document provided that the copyright notice and
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
8 this permission notice are preserved.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
9
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
10 * GNU and the Free Software Foundation
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
11
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
12 Project GNU is organized as part of the Free Software Foundation, Inc.
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
13 The Free Software Foundation has the following goals: 1) to create GNU
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
14 as a full development/operating system. 2) to distribute GNU and
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
15 other useful software with source code and permission to copy and
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
16 redistribute.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
17
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
18 Further information on the rationale for GNU is in file
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
19 `/pub/gnu/GNUinfo/GNU' (all files referred to are on the Internet host
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
20 prep.ai.mit.edu).
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
21
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
22 Information on GNU Internet mailing lists and gnUSENET newsgroups can
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
23 be found in `/pub/gnu/GNUinfo/MAILINGLISTS'.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
24
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
25 * How To Get The Software
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
26
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
27 The easiest way to get a copy of the distribution is from someone else
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
28 who has it. You need not ask for permission to do so, or tell any one
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
29 else; just copy it. The second easiest is to ftp it over the
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
30 Internet. The third easiest way is to uucp it. Ftp and uucp
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
31 information is in `/pub/gnu/GNUinfo/FTP'.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
32
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
33 If you cannot get a copy any of these ways, or if you would feel more
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
34 confident getting copies straight from us, or if you would like to get
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
35 some funds to us to help in our efforts, you can order one from the
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
36 Free Software Foundation. See `/pub/gnu/GNUinfo/DISTRIB' and
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
37 `/pub/gnu/GNUinfo/ORDERS'.
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
38
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
39 * What format are the *.z files in?
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
40
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
41 Because the unix `compress' utility is patented (by two separate
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
42 patents, in fact), we cannot use it; it's not free software.
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
43
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
44 Therefore, the GNU Project has chosen a new compression utility,
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
45 `gzip', which is free of any known software patents and which tends to
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
46 compress better anyway. As of March 1993, all compressed files in the
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
47 GNU anonymous FTP area, `prep.ai.mit.edu:/pub/gnu', have been
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
48 converted to the new format. Files compressed with this new
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
49 compression program end in `.z' (as opposed to `compress'-compressed
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
50 files, which end in `.Z').
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
51
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
52 Gzip can uncompress `compress'-compressed files and `pack' files
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
53 (which also end in `.z'). This is possible because the various
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
54 decompression algorithms are not patented---only compression is.
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
55
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
56 The gzip program is available from any GNU mirror site in shar, tar,
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
57 or gzipped tar format (for those who already have a prior version of
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
58 gzip and want faster data transmission). It works on virtually every
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
59 unix system, MSDOS, OS/2, and VMS.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
60
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
61 * Available Software
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
62
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
63 ** GNU Emacs
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
64
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
65 The GNU Emacs distribution includes:
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
66 - manual source in TeX format.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
67 - an enhanced regex (regular expression) library.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
68
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
69 See `/pub/gnu/GNUinfo/MACHINES' for the status of porting Emacs to
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
70 various machines and operating systems.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
71
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
72 ** C Scheme - a block structured dialect of LISP.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
73
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
74 The Free Software Foundation distributes C Scheme for the MIT Scheme
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
75 Project on it tapes. A partial ftp distribution can be found on
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
76 prep.ai.mit.edu. The full ftp distribution can be found on
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
77 zurich.ai.mit.edu.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
78
1028
508bb8dd1e88 Formerly GETTING.GNU.SOFTWARE.~3~
gnulists <gnulists>
parents: 511
diff changeset
79 Problems with the C Scheme distribution and its ftp distribution
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
80 should be referred to: <bug-cscheme@martigny.ai.mit.edu>. There are
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
81 two general mailing lists: <info-cscheme@martigny.ai.mit.edu>and
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
82 <scheme@mc.lcs.mit.edu>. Send requests to join either list to:
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
83 <info-cscheme-request@martigny.ai.mit.edu> or
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
84 <scheme-request@mc.lcs.mit.edu>.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
85
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
86 ** Other GNU Software
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
87
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
88 A full list of available software are in `/pub/gnu/GNUinfo/ORDERS' and
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
89 `/pub/gnu/GNUinfo/DESCRIPTIONS'.
101
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
90
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
91 * No Warranties
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
92
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
93 We distribute software in the hope that it will be useful, but without
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
94 any warranty. No author or distributor of this software accepts
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
95 responsibility to anyone for the consequences of using it or for
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
96 whether it serves any particular purpose or works at all, unless he
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
97 says so in writing.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
98
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
99 * If You Like The Software
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
100
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
101 If you like the software developed and distributed by the Free
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
102 Software Foundation, please express your satisfaction with a donation.
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
103 Your donations will help to support the foundation and make our future
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
104 efforts successful, including a complete development and operating
e5355ef53e1c Initial revision
gnulists <gnulists>
parents:
diff changeset
105 system, called GNU (Gnu's Not Un*x), which will run Un*x user
2305
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
106 programs. Please note that donations and funds raise by selling
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
107 tapes, cd-roms, and floppy diskettes are the major source of funding
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
108 for our work.
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
109
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
110 For more information on GNU and the Foundation, contact us at Internet
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
111 address <gnu@prep.ai.mit.edu> or the foundation's US Mail address
784262b28079 Formerly GETTING.GNU.SOFTWARE.~4~
gnulists <gnulists>
parents: 1028
diff changeset
112 found in file `/pub/gnu/GNUinfo/DISTRIB'.