Mercurial > emacs
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 |
rev | line source |
---|---|
101 | 1 -*- text -*- |
2305 | 2 Getting GNU Software, 21 Mar 93 |
3 Copyright (C) 1986, 1987, 1988, 1989, 1990, 1992, 1993 Free Software Foundation, Inc. | |
101 | 4 |
2305 | 5 |
6 Permission is granted to anyone to make or distribute verbatim | |
7 copies of this document provided that the copyright notice and | |
8 this permission notice are preserved. | |
101 | 9 |
10 * GNU and the Free Software Foundation | |
11 | |
12 Project GNU is organized as part of the Free Software Foundation, Inc. | |
2305 | 13 The Free Software Foundation has the following goals: 1) to create GNU |
14 as a full development/operating system. 2) to distribute GNU and | |
15 other useful software with source code and permission to copy and | |
16 redistribute. | |
101 | 17 |
18 Further information on the rationale for GNU is in file | |
2305 | 19 `/pub/gnu/GNUinfo/GNU' (all files referred to are on the Internet host |
20 prep.ai.mit.edu). | |
101 | 21 |
2305 | 22 Information on GNU Internet mailing lists and gnUSENET newsgroups can |
23 be found in `/pub/gnu/GNUinfo/MAILINGLISTS'. | |
101 | 24 |
25 * How To Get The Software | |
26 | |
27 The easiest way to get a copy of the distribution is from someone else | |
28 who has it. You need not ask for permission to do so, or tell any one | |
29 else; just copy it. The second easiest is to ftp it over the | |
30 Internet. The third easiest way is to uucp it. Ftp and uucp | |
2305 | 31 information is in `/pub/gnu/GNUinfo/FTP'. |
101 | 32 |
33 If you cannot get a copy any of these ways, or if you would feel more | |
34 confident getting copies straight from us, or if you would like to get | |
35 some funds to us to help in our efforts, you can order one from the | |
2305 | 36 Free Software Foundation. See `/pub/gnu/GNUinfo/DISTRIB' and |
37 `/pub/gnu/GNUinfo/ORDERS'. | |
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 | 40 |
41 Because the unix `compress' utility is patented (by two separate | |
42 patents, in fact), we cannot use it; it's not free software. | |
43 | |
44 Therefore, the GNU Project has chosen a new compression utility, | |
45 `gzip', which is free of any known software patents and which tends to | |
46 compress better anyway. As of March 1993, all compressed files in the | |
47 GNU anonymous FTP area, `prep.ai.mit.edu:/pub/gnu', have been | |
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 | 50 files, which end in `.Z'). |
51 | |
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 | 54 decompression algorithms are not patented---only compression is. |
55 | |
56 The gzip program is available from any GNU mirror site in shar, tar, | |
57 or gzipped tar format (for those who already have a prior version of | |
58 gzip and want faster data transmission). It works on virtually every | |
59 unix system, MSDOS, OS/2, and VMS. | |
101 | 60 |
61 * Available Software | |
62 | |
2305 | 63 ** GNU Emacs |
101 | 64 |
2305 | 65 The GNU Emacs distribution includes: |
101 | 66 - manual source in TeX format. |
67 - an enhanced regex (regular expression) library. | |
68 | |
2305 | 69 See `/pub/gnu/GNUinfo/MACHINES' for the status of porting Emacs to |
101 | 70 various machines and operating systems. |
71 | |
72 ** C Scheme - a block structured dialect of LISP. | |
73 | |
74 The Free Software Foundation distributes C Scheme for the MIT Scheme | |
75 Project on it tapes. A partial ftp distribution can be found on | |
76 prep.ai.mit.edu. The full ftp distribution can be found on | |
77 zurich.ai.mit.edu. | |
78 | |
1028 | 79 Problems with the C Scheme distribution and its ftp distribution |
2305 | 80 should be referred to: <bug-cscheme@martigny.ai.mit.edu>. There are |
81 two general mailing lists: <info-cscheme@martigny.ai.mit.edu>and | |
82 <scheme@mc.lcs.mit.edu>. Send requests to join either list to: | |
83 <info-cscheme-request@martigny.ai.mit.edu> or | |
101 | 84 <scheme-request@mc.lcs.mit.edu>. |
85 | |
86 ** Other GNU Software | |
87 | |
2305 | 88 A full list of available software are in `/pub/gnu/GNUinfo/ORDERS' and |
89 `/pub/gnu/GNUinfo/DESCRIPTIONS'. | |
101 | 90 |
91 * No Warranties | |
92 | |
93 We distribute software in the hope that it will be useful, but without | |
94 any warranty. No author or distributor of this software accepts | |
95 responsibility to anyone for the consequences of using it or for | |
96 whether it serves any particular purpose or works at all, unless he | |
97 says so in writing. | |
98 | |
99 * If You Like The Software | |
100 | |
101 If you like the software developed and distributed by the Free | |
102 Software Foundation, please express your satisfaction with a donation. | |
103 Your donations will help to support the foundation and make our future | |
104 efforts successful, including a complete development and operating | |
105 system, called GNU (Gnu's Not Un*x), which will run Un*x user | |
2305 | 106 programs. Please note that donations and funds raise by selling |
107 tapes, cd-roms, and floppy diskettes are the major source of funding | |
108 for our work. | |
109 | |
110 For more information on GNU and the Foundation, contact us at Internet | |
111 address <gnu@prep.ai.mit.edu> or the foundation's US Mail address | |
112 found in file `/pub/gnu/GNUinfo/DISTRIB'. |