Annotation of cvsweb/cvsweb.conf, Revision 3.57
3.1 knu 1: # -*-perl-*-
2: # Configuration of cvsweb.cgi, the
3: # CGI interface to CVS Repositories.
4: #
5: # (c) 1998-1999 H. Zeller <zeller@think.de>
6: # 1999 H. Nordstrom <hno@hem.passagen.se>
3.30 knu 7: # 2000-2002 A. MUSHA <knu@FreeBSD.org>
3.48 scop 8: # 2002-2003 V. Skyttä <scop@FreeBSD.org>
3.1 knu 9: # based on work by Bill Fenner <fenner@FreeBSD.org>
3.28 knu 10: #
3.30 knu 11: # $FreeBSD$
3.27 knu 12: # $Id: cvsweb.conf,v 3.29 2001/07/23 09:14:52 hzeller Exp $
3.28 knu 13: # $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 3.27 2001/08/01 09:48:39 knu Exp $
3.1 knu 14: #
15: ###
16:
3.19 knu 17: # Set the path for the following commands:
3.47 scop 18: # cvs, rlog, rcsdiff
3.19 knu 19: # gzip (if you enable $allow_compress)
3.47 scop 20: # (g)tar, zip (if you enable $allow_tar)
3.42 scop 21: # cvsgraph (if you enable $allow_graph)
3.19 knu 22: $command_path = '/bin:/usr/bin:/usr/local/bin';
23:
3.47 scop 24: # Search the above directories for each command (prefer gtar over tar).
3.48 scop 25: for (qw(cvs rlog rcsdiff gzip gtar zip cvsgraph enscript)) {
3.26 knu 26: $CMD{$_} = search_path($_);
3.19 knu 27: }
3.47 scop 28: $CMD{tar} = delete($CMD{gtar}) if $CMD{gtar};
29: $CMD{tar} ||= search_path('tar');
3.19 knu 30:
3.53 scop 31: #
32: # CVS roots
33: #
34: # CVSweb can handle several CVS repositories at once. Enter short (internal)
35: # symbolic repository names, their names in the UI and the actual locations
36: # here. The repositories will be listed in the order they're specified here.
37: #
38: # Note that only local repositories are currently supported. Things like
39: # :pserver:someone@xyz.com:/data/cvsroot won't work.
40: #
41: # 'symbolic_name' => ['Name to display', '/path/to/cvsroot']
42: #
3.17 knu 43: @CVSrepositories = (
3.53 scop 44: 'local' => ['Local Repository', '/home/cvs'],
45: # 'freebsd' => ['FreeBSD', '/home/ncvs'],
46: # 'openbsd' => ['OpenBSD', '/home/ncvs'],
47: # 'netbsd' => ['NetBSD', '/home/ncvs'],
48: # 'ruby' => ['Ruby', '/var/anoncvs/ruby'],
3.26 knu 49: );
3.1 knu 50:
3.53 scop 51: #
52: # The default CVS root. Note that @CVSrepositories is list, not a hash,
53: # so you'll want to use 2 * 0-based-index-number here; or set this directly
54: # to the default's symbolic name. Unless specified, the first valid one in
55: # @CVSrepositories is used as the default.
56: #
57: # For example:
58: #
59: #$cvstreedefault = $CVSrepositories[2 * 0];
60: #$cvstreedefault = 'local';
3.1 knu 61:
62: ##############
3.15 knu 63: # Bug tracking system options
64: # ("PR" means Problem Report, as in GNATS)
3.1 knu 65: ##############
3.15 knu 66: #@prcategories = qw(
3.26 knu 67: # advocacy
68: # alpha
69: # bin
70: # conf
71: # docs
72: # gnu
73: # i386
74: # kern
75: # misc
76: # pending
77: # ports
78: # sparc
79: #);
80:
3.15 knu 81: #
82: #$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";
83: #
84: #$prkeyword = "PR";
3.1 knu 85:
86: ##############
3.15 knu 87: # Manual gateway
3.8 knu 88: ##############
3.26 knu 89: $mancgi =
90: "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
3.1 knu 91:
92: ##############
93: # Defaults for UserSettings
94: ##############
95: %DEFAULTVALUE = (
3.26 knu 96:
97: # sortby: File sort order
98: # file Sort by filename
99: # rev Sort by revision number
100: # date Sort by commit date
101: # author Sort by author
102: # log Sort by log message
103: "sortby" => "file",
104:
3.46 scop 105: # ignorecase: ignore case in sorts (filenames, authors, log messages)
106: # 0 Honour case
107: # 1 Ignore case
108: "ignorecase" => "0",
109:
3.26 knu 110: # hideattic: Hide or show files in Attic
111: # 1 Hide files in Attic
112: # 0 Show files in Attic
113: "hideattic" => "1",
114:
115: # logsort: Sort order for CVS logs
116: # date Sort revisions by date
117: # rev Sort revision by revision number
118: # cvs Don't sort them. Same order as CVS/RCS shows them.
119: "logsort" => "date",
120:
121: # f: Default diff format
122: # h Human readable
123: # u Unified diff
124: # c Context diff
125: # s Side by side
3.55 scop 126: # uc Unified diff, enscript colored
127: # cc Context diff, enscript colored
128: # sc Side by side, enscript colored
3.26 knu 129: "f" => "u",
130:
131: # hidecvsroot: Don't show the CVSROOT directory
132: # 1 Hide CVSROOT directory
133: # 0 Show CVSROOT directory
134: "hidecvsroot" => "0",
135:
136: # hidenonreadable: Don't show entries which cannot be read
137: # 1 Hide non-readable entries
138: # 0 Show non-readable entries
139: "hidenonreadable" => "1",
3.49 scop 140:
141: # ln: Show line numbers in HTMLized views
142: # 1 Show line numbers
143: # 0 Don't show line numbers
144: "ln" => "0",
3.1 knu 145: );
146:
147: ##############
148: # some layout stuff
149: ##############
150:
151: # Wanna have a logo on the page ?
3.30 knu 152: $logo = '<p><img src="/icons/apache_pb.gif" alt="Powered by Apache"></p>';
3.1 knu 153:
3.34 scop 154: # The title of the Page on startup. This will be put inside a <h1> tag.
3.1 knu 155: $defaulttitle = "CVS Repository";
156:
3.34 scop 157: # The address is shown on the footer. This will be put inside a <address> tag.
158: $address = '<span style="font-size: smaller">FreeBSD-CVSweb <<a href="mailto:freebsd-cvsweb@FreeBSD.org">freebsd-cvsweb@FreeBSD.org</a>></span>';
3.1 knu 159:
160: $long_intro = <<EOT;
161: <p>
162: This is a WWW interface for CVS Repositories.
163: You can browse the file hierarchy by picking directories
164: (which have slashes after them, <i>e.g.</i>, <b>src/</b>).
165: If you pick a file, you will see the revision history
166: for that file.
167: Selecting a revision number will download that revision of
168: the file. There is a link at each revision to display
169: diffs between that revision and the previous one, and
170: a form at the bottom of the page that allows you to
171: display diffs between arbitrary revisions.
172: </p>
173: <p>
3.33 scop 174: This script has been written by Bill Fenner and improved by Henner Zeller,
175: Henrik Nordström, and Ken Coar, then Akinori MUSHA brought it
3.22 knu 176: back to FreeBSD community and made further improvements; it is covered
3.33 scop 177: by <a
178: href="http://www.opensource.org/licenses/bsd-license.html">The BSD Licence</a>.
3.1 knu 179: </p>
180: <p>
181: If you would like to use this CGI script on your own web server and
3.33 scop 182: CVS tree, download the latest version from <URL:<a
183: href="http://www.FreeBSD.org/projects/cvsweb.html">http://www.FreeBSD.org/projects/cvsweb.html</a>>.
3.1 knu 184: </p>
185: <p>
3.33 scop 186: Feel free to send any patches, suggestions and comments to the FreeBSD-CVSweb
187: mailing list at
188: <<a
189: href="mailto:freebsd-cvsweb\@FreeBSD.org">freebsd-cvsweb\@FreeBSD.org</a>>.
3.1 knu 190: </p>
191: EOT
192:
193: $short_instruction = <<EOT;
194: <p>
195: Click on a directory to enter that directory. Click on a file to display
3.32 scop 196: its revision history and to get a chance to display diffs between revisions.
3.1 knu 197: </p>
198: EOT
199:
3.42 scop 200: # Icons for the web UI. If ICON-URL is empty, the TEXT representation is
201: # used. If you do not want to have a tool tip for an icon, set TEXT empty.
202: # The width and height of the icon allow the browser to correctly display
203: # the table while still loading the icons. If these icons are too large,
204: # check out the "mini" versions in the icons/ directory; they have a
205: # width/height of 16/16.
3.26 knu 206:
3.42 scop 207: my $iconsdir = '/icons';
208:
3.51 scop 209: # format: TEXT ICON-URL width height
3.26 knu 210: %ICONS = (
3.51 scop 211: back => [('[BACK]', "$iconsdir/back.gif", 20, 22)],
212: dir => [('[DIR]', "$iconsdir/dir.gif", 20, 22)],
213: file => [('[TXT]', "$iconsdir/text.gif", 20, 22)],
214: binfile => [('[BINARY]', "$iconsdir/binary.gif", 20, 22)],
215: graph => [('[GRAPH]', "$iconsdir/minigraph.png", 16, 16)],
3.26 knu 216: );
3.15 knu 217: undef $iconsdir;
3.1 knu 218:
3.43 scop 219: # An URL where to find the CSS.
220: $cssurl = '/css/cvsweb.css';
221:
3.1 knu 222: # the length to which the last logentry should
223: # be truncated when shown in the directory view
224: $shortLogLen = 80;
225:
226: # Show author of last change
227: $show_author = 1;
228:
229: ##############
230: # table view for directories
231: ##############
232:
3.40 scop 233: # Cell padding for directory table
3.1 knu 234: $tablepadding = 2;
235:
236: #
237: # Modules in the repository that should not be displayed, either by default
238: # nor by explicit path specification.
239: #
3.27 knu 240: @HideModules = (
241: # "^my/secret/module",
242: );
243:
244: #
245: # Files matching these pathnames shouldn't be checked out with cvsweb,
246: # since they may contain sensitive information. Simple file name based
247: # filter. Often, the CVSROOT/passwd is exposed and some people tend
248: # to check in their .cvspass, though this is a bad idea. These files
249: # shouldn't be readable by default. Thanks to Damian Gryski to point
250: # this out.
3.36 scop 251: # Note that this affects only files, not directories.
3.27 knu 252: @ForbiddenFiles = (
253: "^CVSROOT/passwd\$", # CVSROOT/passwd should not be cvs add'ed, though
254: "/\\.cvspass\$", # Ditto. Just in case.
255: );
3.1 knu 256:
257: #
258: # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules
259: # See INSTALL section 8
260: #
261: $use_descriptions = 0;
262:
263: ##############
264: # Human Readable Diff
265: ##############
266:
267: # (c) 1998 H. Zeller <zeller@think.de>
268: #
269: # Generates two columns of color encoded
270: # diff; much like xdiff or emacs-ediff mode.
271: #
272: # The diff-stuff is a piece of code I once made for
273: # cvs2html which is under GPL,
274: # see http://www.sslug.dk/cvs2html
275: # (c) 1997/98 Peter Toft <pto@sslug.imm.dtu.dk>
276: #
277: # some parameters to screw:
278: ##
279:
280: # make lines breakable so that the columns do not
281: # exceed the width of the browser
282: $hr_breakable = 1;
283:
3.4 knu 284: # give out function names in diffs
3.1 knu 285: # this just makes sense if we have C-files, otherwise
286: # diff's heuristic doesn't work well ..
287: # ( '-p' option to diff)
3.4 knu 288: $showfunc = 1;
3.1 knu 289:
290: # For each pair of regexps, files that match the first regexp will be diff'ed
291: # with an '-F' option with the second regexp.
3.4 knu 292: %funcline_regexp = (
3.26 knu 293: "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ",
294: "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ",
295: );
3.1 knu 296:
297: # ignore whitespaces for human readable diffs
298: # (indendation and stuff ..)
299: # ( '-w' option to diff)
3.7 knu 300: $hr_ignwhite = 0;
3.1 knu 301:
302: # ignore diffs which are caused by
303: # keyword-substitution like $Id - Stuff
304: # ( '-kk' option to rcsdiff)
305: $hr_ignkeysubst = 1;
306:
307: # the width of the textinput of the
308: # request-diff-form
309: $inputTextSize = 12;
310:
311: ##############
312: # Mime Types
313: ##############
314:
3.52 scop 315: # The MIME type lookup works like this:
316: # 1) Look up from %MTYPES below with the file name extension (suffix).
317: # 2) If not found, use the MIME::Types(3) module if it's available.
318: # 3) If not found, lookup from the $mime_types file (see below).
319: # 4) If not found, try %MTYPES{'*'}.
320: # 5) If not found, use 'application/octet-stream' if the file's keyword
321: # substitution mode is b (ie. the file was checked in as binary to CVS),
322: # 'text/plain' otherwise.
3.1 knu 323:
3.52 scop 324: # Quick MIME type lookup; maps filename extensions to MIME types.
325: # Add common mappings here for fast lookup. You can also use this
326: # to override MIME::Types(3) or the $mime_types file (see below).
3.1 knu 327: %MTYPES = (
3.26 knu 328: "html" => "text/html",
329: "shtml" => "text/html",
330: "gif" => "image/gif",
331: "jpeg" => "image/jpeg",
332: "jpg" => "image/jpeg",
333: "png" => "image/png",
334: "xpm" => "image/xpm",
3.52 scop 335: # "*" => "text/plain",
3.26 knu 336: );
3.52 scop 337:
338: # The traditional mime.types file, eg. the one from Apache is fine.
339: # See above where this gets used.
340: $mime_types = '/usr/local/etc/apache/mime.types';
3.11 knu 341:
3.56 scop 342: #
343: # Charset appended to the Content-Type HTTP header for text/* MIME types.
344: # Note that the web server may default to some charset which may take effect
345: # if you leave this parameter empty or unset.
346: # For Apache, see the AddDefaultCharset directive.
347: #
3.13 knu 348: $charset = '';
3.26 knu 349:
3.13 knu 350: # e.g.
351: #$charset = $where =~ m,/ru[/_-], ? 'koi8-r'
352: # : $where =~ m,/zh[/_-], ? 'big5'
353: # : $where =~ m,/ja[/_-], ? 'x-euc-jp'
354: # : $where =~ m,/ko[/_-], ? 'x-euc-kr'
355: # : 'iso-8859-1';
3.29 knu 356:
357: # Output filter
358: $output_filter = '';
359:
360: # e.g.
361: ## unify/convert Japanese code into EUC-JP
362: #$output_filter= '/usr/local/bin/nkf -e';
3.1 knu 363:
364: ##############
365: # Misc
366: ##############
3.50 scop 367: # Allow annotation of files. See also @annotate_options below.
3.1 knu 368: $allow_annotate = 1;
369:
370: # allow pretty-printed version of files
371: $allow_markup = 1;
372:
3.31 knu 373: # allow extra hlink formatting (such as PR xrefs) in logs
374: $allow_log_extra = 1; # default: enabled
375:
376: # allow extra hlink formatting (such as PR xrefs) in directories
377: $allow_dir_extra = 1;
378:
379: # allow extra hlink formatting in source code/formatted diff views
380: $allow_source_extra = 1;
381:
3.1 knu 382: # allow compression with gzip
383: # of output if the Browser accepts
384: # it (HTTP_ACCEPT_ENCODING=gzip)
385: # [make sure to have gzip in the path]
3.16 knu 386: $allow_compress = 0;
3.1 knu 387:
388: # Make use of javascript functions.
389: # This way you can select one of your CVSroot
390: # without pressing 'Go' (.. if you do have more
391: # than one CVSROOT defined)
392: $use_java_script = 1;
393:
394: # open Download-Links in another window
395: $open_extern_window = 1;
396:
397: # The size of this extern window; this size option
398: # needs use_java_script to be defined
399: # just comment them if you don't want to have a fixed
400: # size
401: #$extern_window_width = 600;
402: #$extern_window_height = 440;
403:
404: # Edit Options
405: # Enable form to edit your options (hideattic,sortbydate)
406: # this isn't necessary if you've $dirtable defined 'cause
407: # this allows editing of all your options more intuitive
408: $edit_option_form = (not $dirtable);
409:
410: # If you have files which automatically refers to other files
411: # (such as HTML) then this allows you to browse the checked
412: # out files as if outside CVS.
413: $checkout_magic = 1;
414:
415: # Show last changelog message for sub directories
416: # The current implementation makes many assumptions and may show the
417: # incorrect file at some times. The main assumption is that the last
418: # modified file has the newest filedate. But some CVS operations
419: # touches the file without even when a new version is't checked in,
420: # and TAG based browsing essientially puts this out of order, unless
421: # the last checkin was on the same tag as you are viewing.
422: # Enable this if you like the feature, but don't rely on correct results.
423: $show_subdir_lastmod = 0;
424:
425: # Show CVS log when viewing file contents
426: $show_log_in_markup = 1;
427:
3.13 knu 428: # Preformat when viewing file contents. This should be turned off
429: # when you have files in the repository that are in a multibyte
430: # encoding which uses HTML special characters ([<>&"]) as part of a
431: # multi-byte character. (such as iso-2022-jp, ShiftJIS, etc.)
432: # Otherwise those files will get screwed up in markup.
433: $preformat_in_markup = '';
434:
3.1 knu 435: # Tabstop used to expand tabs in colored diffs. If undefined then
436: # tabs are always expanded to 8 spaces.
437: $tabstop = 8;
438:
439: # if you wish to display absolute times in your local timezone,
440: # then define mytz and fill in the strings for your standard and
441: # daylight time. Note that you must also make sure the system
442: # timezone is correctly set.
443: # @mytz=("EST", "EDT");
444:
445: # cvsweb is friendly to caches by indicating a suitable
446: # last-modified timestamp. Doing this uses slightly more
447: # CPU so you might want to disable it if you have a slow
448: # server
449: $use_moddate = 1;
450:
3.57 ! scop 451: #
3.45 scop 452: # Maximum number of filenames to pass to rlog(1) in one command.
453: # If you see "Failed to spawn GNU rlog" errors with directories containing
454: # lots of files, experiment by setting this to different values and see if
455: # the error still occurs. A good value to start from would be eg. 200.
456: # Just comment this out if you're not bitten by the problem.
3.57 ! scop 457: #
3.45 scop 458: #$file_list_len = 200;
459:
3.57 ! scop 460: #
! 461: # Allows graphical representations of file logs with CvsGraph if set to a
! 462: # true value.
! 463: #
! 464: $allow_cvsgraph = $CMD{cvsgraph} ? 1 : 0;
! 465:
! 466: #
3.42 scop 467: # Path to the CvsGraph configuration file. Only used if $allow_cvsgraph
468: # is true. Leave this empty or comment it out to make cvsgraph(1) use its
469: # default configuration file.
3.57 ! scop 470: #
3.42 scop 471: #$cvsgraph_config = "/etc/cvsgraph.conf";
3.13 knu 472:
3.57 ! scop 473: #
! 474: # Whether to allow downloading a tarball or a zip of the current directory.
! 475: # While downloading of the entire repository is disallowed, depending on
! 476: # the directory this may take a lot of time and disk space. For some CVS
! 477: # versions, the user account running cvsweb needs write access to
! 478: # CVSROOT/val-tags. See also the tar, gzip and zip options below.
! 479: #
! 480: #$allow_tar = (($CMD{tar} && $CMD{gzip}) || $CMD{zip}) ? 1 : 0;
! 481:
! 482: #
3.13 knu 483: # Options to pass to tar(1).
3.57 ! scop 484: # For example: @tar_options = qw(--ignore-failed-read);
! 485: # GNU tar has some useful options against unexpected errors.
! 486: # Other useful options include "--owner=0" and "--group=0", see
! 487: # the tar(1) (or gtar(1)) manpage for details.
! 488: #
3.15 knu 489: @tar_options = qw();
3.26 knu 490:
3.57 ! scop 491: #
3.19 knu 492: # Options to pass to gzip(1) when compressing a tarball to download.
3.57 ! scop 493: # For example: @gzip_options = qw(-3);
! 494: # Try lower compression level than 6 (default) if you want faster
! 495: # compression, or higher for better compression.
! 496: #
3.19 knu 497: @gzip_options = qw();
3.26 knu 498:
3.57 ! scop 499: #
3.25 knu 500: # Options to pass to zip(1) when compressing a zip archive to download.
3.57 ! scop 501: # For example: @zip_options = qw(-3);
! 502: # Try lower compression level than 6 (default) if you want faster
! 503: # compression, or higher for better compression.
! 504: #
3.47 scop 505: @zip_options = qw(-q);
3.26 knu 506:
3.57 ! scop 507: #
3.13 knu 508: # Options to pass to cvs(1).
3.37 scop 509: # For cvs versions prior to 1.11, the '-l' option doesn't work; If you want
510: # working checkouts with an older cvs version, you'll have to make sure that
511: # the cvsweb user can read and write to CVSROOT/history.
3.57 ! scop 512: # Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access
! 513: # mode) option, which considerably speeds up checkouts over NFS.
! 514: # A similar effect is provided by -u on NetBSD.
! 515: #
3.35 scop 516: @cvs_options = qw(-lf);
3.47 scop 517: push @cvs_options, '-R' if ($^O eq 'freebsd' || $^O eq 'openbsd');
518: push @cvs_options, '-u' if ($^O eq 'netbsd');
3.26 knu 519:
3.57 ! scop 520: #
3.39 scop 521: # Options to pass to the 'cvs annotate' command, usually the normal
522: # @cvs_options are good enough here.
3.57 ! scop 523: # To make annotate work against a read only repository, add -n, ie.:
! 524: # @annotate_options = (@cvs_options, '-n');
! 525: #
3.39 scop 526: @annotate_options = @cvs_options;
527:
3.57 ! scop 528: #
3.54 scop 529: # Options to pass to rcsdiff(1).
530: # Probably the only useful one here is -q (suppress diagnostic output).
3.57 ! scop 531: #
3.54 scop 532: @rcsdiff_options = qw(-q);
3.48 scop 533:
3.57 ! scop 534: #
3.48 scop 535: # Enables syntax highlighting using GNU Enscript if set.
536: # You will need GNU Enscript version 1.6.2 or newer for this to work.
3.57 ! scop 537: #
3.48 scop 538: #$allow_enscript = $CMD{enscript} ? 1 : 0;
539:
3.57 ! scop 540: #
3.48 scop 541: # Options to pass to enscript(1).
3.54 scop 542: # Do not set the -q, --language, -o or --highlight options here.
3.48 scop 543: # Most useful styles are probably emacs, emacs_verbose and msvc.
3.57 ! scop 544: #
3.48 scop 545: @enscript_options = qw(--style=emacs --color=1);
546:
3.57 ! scop 547: #
3.48 scop 548: # Enscript highlight rule to filename regex mappings. The set of useful
549: # mappings depends on what highlight rules the system has installed.
3.57 ! scop 550: #
3.48 scop 551: %enscript_types =
552: (
553: 'ada' => qr/\.ad(s|b|a)$/o,
554: 'asm' => qr/\.[Ss]$/o,
555: 'awk' => qr/\.awk$/o,
556: 'bash' => qr/\.(bash(_profile|rc)|inputrc)$/o,
557: 'c' => qr/\.(c|h)$/o,
558: 'changelog' => qr/^changelog$/io,
559: 'cpp' => qr/\.(c\+\+|C|H|cpp|cc|cxx)$/o,
560: 'csh' => qr/\.(csh(rc)?|log(in|out)|history)$/o,
561: 'elisp' => qr/\.e(l|macs)$/o,
562: 'fortran' => qr/\.[fF]$/o,
563: 'haskell' => qr/\.(l?h|l?g)s$/o,
564: 'html' => qr/\.x?html?$/o,
565: 'idl' => qr/\.idl$/o,
566: 'inf' => qr/\.inf$/io,
567: 'java' => qr/\.java$/o,
568: 'javascript' => qr/\.js$/o,
569: 'ksh' => qr/\.ksh$/o,
570: 'm4' => qr/\.m4$/o,
571: 'makefile' => qr/((GNU)?[Mm]akefile.*|\.(ma?ke?|am)$)/o,
572: 'matlab' => qr/\.m$/o,
573: 'nroff' => qr/\.man$/o,
574: 'pascal' => qr/\.p(as|p)?$/io,
575: 'perl' => qr/\.p(m|(er?)l)$/io,
576: 'postscript' => qr/\.e?ps$/io,
577: 'python' => qr/\.py$/o,
578: 'rfc' => qr/\b((rfc|draft)\..*\.txt)$/o,
579: 'scheme' => qr/\.(scm|scheme)$/o,
580: 'sh' => qr/\.sh$/o,
581: 'skill' => qr/\.il$/o,
582: 'sql' => qr/\.sql$/o,
583: 'states' => qr/\.st$/o,
584: 'synopsys' => qr/\.s(cr|yn(th)?)$/o,
585: 'tcl' => qr/\.tcl$/o,
586: 'tcsh' => qr/\.tcshrc$/o,
587: 'tex' => qr/\.tex$/o,
588: 'vba' => qr/\.vba$/o,
589: 'verilog' => qr/\.(v|vh)$/o,
590: 'vhdl' => qr/\.vhdl?$/o,
591: 'vrml' => qr/\.wrl$/o,
592: 'wmlscript' => qr/\.wmls(cript)?$/o,
593: 'zsh' => qr/\.(zsh(env|rc)|z(profile|log(in|out)))$/o,
594: );
3.39 scop 595:
3.12 knu 596: 1;
3.26 knu 597:
3.57 ! scop 598: # EOF
CVSweb