annotate GETTING.GNU.SOFTWARE @ 18260:a642c99198ec

(PTR_TO_OFFSET): New macro. (POS_AS_IN_BUFFER): New macro. (SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text property into account when doing SYNTAX (c). (re_compile_fastmap): disable fastmap if any of wordbound notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen. (re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start. (re_match_object): New variable. (re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start. (re_match_2_internal): For any of wordbound notwordbound wordbeg wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before doing SYNTAX (c). [emacs]: Include charset.h and category.h [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P, SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH, STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2): New dummy macros. (enum re_opcode_t): New member categoryspec and notcategoryspec. (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER, CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT, CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE, CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE CHARSET_PAST_RANGE_TABLE): New macros. (TRANSLATE): Cast return value to unsigned char, not char. (struct range_table_work_area): New structure. (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA, FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros. (FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA. (regex_compile): Declare `c' and `c1' as int to store multibyte characters. Declare range_table_work and initialize it. Initialize bufp->multibyte to 0 if not emacs. For case '[' and `default', code re-written to handle multibyte characters. Add code for case 'c' and 'C' to handle category spec. (re_compile_fastmap): New local variables k, simple_char_max, and match_any_multibyte_characters. Use macro CHARSET_BITMAP_SIZE. Handle multibyte characters in cases charset, charset_not, wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec, categoryspec, notcategoryspec. (STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros. (re_search_2): Code re-written to handle multibyte characters. (AT_WORD_BOUNDARY): Macro disabled. (re_match_2_internal): New local variable multibyte. `d' is incremented while paying attention to multibyte characters if necessary. For case charset, charsetnot, wordbound, notwordbound, wordbeg, wordend, matchsyntax, and matchnotsyntax, code re-written to handle multibyte characters. Add code for case categoryspec and notcategoryspec. Declare c, c1 as unsigned int, not unsigned char.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 Jun 1997 19:00:12 +0000
parents 87bd6540514f
children 6fcc2c9a1857
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
3727
87bd6540514f Mention that gzip files end in ".gz", not ".z".
Jim Blandy <jimb@redhat.com>
parents: 2305
diff changeset
39 * What format are the *.gz files in?
2305
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
3727
87bd6540514f Mention that gzip files end in ".gz", not ".z".
Jim Blandy <jimb@redhat.com>
parents: 2305
diff changeset
49 compression program end in `.gz' (as opposed to `compress'-compressed
2305
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
3727
87bd6540514f Mention that gzip files end in ".gz", not ".z".
Jim Blandy <jimb@redhat.com>
parents: 2305
diff changeset
53 (which end in `.z'). This is possible because the various
2305
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'.