annotate etc/ulimit.hack @ 26910:489a5439b988
* reftex.el (reftex-compile-variables): respect new structure of
`reftex-index-macro'
(reftex-compile-variables): Use the changed structure of
`reftex-label-alist'.
* reftex-vars.el (reftex-index-math-format,
(reftex-toc-max-level): New option.
reftex-index-phrases-search-whole-words,
reftex-index-phrases-case-fold-search,
reftex-index-phrases-skip-indexed-matches,
reftex-index-phrases-wrap-long-lines,
reftex-index-phrases-sort-prefers-entry,
reftex-index-phrases-sort-in-blocks): New options.
(reftex-index-macros): Option structure changed.
(reftex-index-macros-builtin): Added `repeat' item to each entry.
(reftex-label-alist): Additional item in each entry to specify if
the environment should be listed in the TOC.
(eval-when-compile (require 'cl)) added.
* reftex-index.el (reftex-index-selection-or-word): No longer
deals with "repeat".
(reftex-index): "repeat property in `reftex-index-macro-alist' is
now used.
(reftex-index-phrases-comment-regexp,
reftex-index-phrases-macrodef-regexp,
reftex-index-phrases-phrase-regexp1,
reftex-index-phrases-phrase-regexp2,
reftex-index-phrases-phrase-regexp12, reftex-index-phrases-help):
New constants.
(reftex-index-phrases-macro-data, reftex-index-phrases-files,
reftex-index-phrases-font-lock-keywords,
reftex-index-phrases-font-lock-defaults, reftex-index-phrases-map,
reftex-index-phrases-restrict-file): New variables.
(reftex-index-phrase-selection-or-word,
reftex-index-visit-phrases-buffer,
reftex-index-initialize-phrases-buffer,
reftex-index-phrases-save-and-return, reftex-index-phrases-mode,
reftex-index-next-phrase, reftex-index-this-phrase,
reftex-index-all-phrases, reftex-index-region-phrases,
reftex-index-phrases-parse-header,
reftex-index-phrases-toggle-restricted, reftex-index-new-phrase,
reftex-index-find-next-conflict-phrase, reftex-index-phrases-info,
reftex-index-phrases-set-macro-key, reftex-index-sort-phrases,
reftex-compare-phrase-lines, reftex-index-make-phrase-regexp,
reftex-index-simplify-phrase, reftex-index-phrases-find-dup-re,
reftex-index-make-replace-string,
reftex-query-index-phrase-globally, reftex-query-index-phrase,
reftex-index-phrase-match-is-indexed,
reftex-index-phrases-fixup-line,
reftex-index-phrases-replace-space,
reftex-index-select-phrases-macro): New functions.
(reftex-index-globalize, reftex-index-globally): functions removed
(eval-when-compile (require 'cl)) added.
* reftex-toc.el (reftex-toc-mode): Create new indicator for max
level.
(reftex-toc-max-level-indicator): New variable.
(reftex-toc-max-level): New command.
(reftex-toc-map): New keybinding `t'.
(reftex-toc-help): Constant updated.
(eval-when-compile (require 'cl)) added.
* reftex-ref.el (reftex-offer-label-menu): Prefix to `t' command key
can change `reftex-toc-max-level'
(eval-when-compile (require 'cl)) added.
* reftex-sel (reftex-insert-docstruct): Respect
`reftex-toc-max-level'
(eval-when-compile (require 'cl)) added.
* reftex-auc.el (eval-when-compile (require 'cl)) added.
* reftex-vcr.el (eval-when-compile (require 'cl)) added.
* reftex-cite.el (reftex-citep, reftex-citet): New commands.
(reftex-citation, reftex-do-citation,
reftex-figure-out-cite-format): Additional argument FORMAT-KEY to
preselect a citation format.
(eval-when-compile (require 'cl)) added.
* reftex-parse.el (reftex-context-substring): Optional parameter
to-end
(reftex-section-info): Deal with environment matches.
(eval-when-compile (require 'cl)) added.
* reftex-global.el (eval-when-compile (require 'cl)) added.
author |
Carsten Dominik <dominik@science.uva.nl> |
date |
Wed, 15 Dec 1999 17:02:38 +0000 |
parents |
e96ffe544684 |
children |
695cf19ef79e |
rev |
line source |
25853
|
1 #!/bin/sh
|
|
2 #
|
|
3 # ulimit.hack: Create an intermediate program for use in
|
|
4 # between kernel initialization and init startup.
|
|
5 # This is needed on a 3b system if the standard CDLIMIT is
|
|
6 # so small that the dumped Emacs file cannot be written.
|
|
7 # This program causes everyone to get a bigger CDLIMIT value
|
|
8 # so that the dumped Emacs can be written out.
|
|
9 #
|
|
10 # Users of V.3.1 and later should not use this; see etc/MACHINES
|
|
11 # and reconfig your kernel's CDLIMIT parameter instead.
|
|
12 #
|
|
13 # Caveat: Heaven help you if you screw this up. This puts
|
|
14 # a new program in as /etc/init, which then execs the real init.
|
|
15 #
|
|
16 cat > ulimit.init.c << \EOF
|
|
17 main(argc, argv)
|
|
18 int argc;
|
|
19 char *argv[];
|
|
20 {
|
|
21 ulimit(2, 262144L); /* "2" is the "set" command. */
|
|
22 /* 262,144 allows for 128Mb files to be written. */
|
|
23 /* If that value isn't suitable, roll your own. */
|
|
24 execv("/etc/real.init", argv);
|
|
25 }
|
|
26 EOF
|
|
27 #
|
|
28 # Compile it and put it in place of the usual init program.
|
|
29 #
|
|
30 cc ulimit.init.c -o ulimit.init
|
|
31 mv /etc/init /etc/real.init
|
|
32 mv ulimit.init /etc/ulimit.init
|
|
33 ln /etc/ulimit.init /etc/init
|
|
34 mv ulimit.init.c /etc/ulimit.init.c # to keep src for this hack nearby.
|
|
35 chmod 0754 /etc/init
|
|
36 exit 0
|
|
37 #
|
|
38 # Upon system reboot, all processes will inherit the new large ulimit.
|