chiark / gitweb /
more docs catchup
[disorder] / doc / disorder_config.5.in
CommitLineData
460b9539 1.\"
405fea4e 2.\" Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell
460b9539 3.\"
4.\" This program is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 2 of the License, or
7.\" (at your option) any later version.
8.\"
9.\" This program is distributed in the hope that it will be useful, but
10.\" WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12.\" General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with this program; if not, write to the Free Software
16.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17.\" USA
18.\"
19.TH disorder_config 5
20.SH NAME
21pkgconfdir/config - DisOrder jukebox configuration
22.SH DESCRIPTION
23The purpose of DisOrder is to organize and play digital audio files, under the
24control of multiple users. \fIpkgconfdir/config\fR is the primary
25configuration file but this man page currently documents all of its various
26configuration files.
27.SS Tracks
28DisOrder can be configured with multiple collections of tracks, indexing them
29by their filename, and picking players on the basis of filename patterns (for
30instance, "*.mp3").
31.PP
32Although the model is of filenames, it is not inherent that there are
33corresponding real files - merely that they can be interpreted by the chosen
34player. See \fBdisorder\fR(3) for more details about this.
35.PP
36Each track can have a set of preferences associated with it. These are simple
37key-value pairs; they can be used for anything you like, but a number of keys
38have specific meanings. See \fBdisorder\fR(1) for more details about these.
39.SS "Track Names"
40Track names are derived from filenames under the control of regular
41expressions, rather than attempting to interpret format-specific embedded name
42information. They can be overridden by setting preferences.
43.PP
44Names for display are distinguished from names for sorting, so with the right
45underlying filenames an album can be displayed in its original order even if
46the displayed track titles are not lexically sorted.
47.SS "Server State"
48A collection of global preferences define various bits of server state: whether
49random play is enabled, what tags to check for when picking at random, etc.
50.SS "Users And Access Control"
51DisOrder distinguishes between multiple users. This is for access control and
52reporting, not to provide different views of the world: i.e. preferences and so
53on are global.
54.PP
eb5dc014
RK
55Each user has an associated set of rights which contorl which commands they may
56execute. Normally you would give all users most rights, and expect them to
57cooperate (they are after all presumed to be in a shared sound environment).
58.PP
59The full set of rights are:
60.TP
61.B read
62User can perform read-only operations
63.TP
64.B play
65User can add tracks to the queue
66.TP
67.B "move any"
68User can move any track
69.TP
70.B "move mine"
71User can move their own tracks
72.TP
73.B "move random"
74User can move randomly chosen tracks
75.TP
76.B "remove any"
77User can remove any track
78.TP
79.B "remove mine"
80User can remove their own tracks
81.TP
82.B "remove random"
83User can remove randomly chosen tracks
84.TP
85.B "scratch any"
86User can scratch any track
87.TP
88.B "scratch mine"
89User can scratch their own tracks
90.TP
91.B "scratch random"
92User can scratch randomly chosen tracks
93.TP
94.B volume
95User can change the volume
96.TP
97.B admin
98User can perform admin operations
99.TP
100.B rescan
101User can initiate a rescan
102.TP
103.B register
104User can register new users. Normally only the
105.B guest
106user would have this right.
107.TP
108.B userinfo
109User can edit their own userinfo
110.TP
111.B prefs
112User can modify track preferences
113.TP
114.B "global prefs"
115User can modify global preferences
116.TP
117.B pause
118User can pause/resume
460b9539 119.PP
120Access control is entirely used-based. If you configure DisOrder to listen for
121TCP/IP connections then it will accept a connection from anywhere provided the
122right password is available. Passwords are never transmitted over TCP/IP
123connections in clear, but everything else is. The expected model is that
124host-based access control is imposed at the network layer.
125.SS "Web Interface"
126The web interface is controlled by a collection of template files, one for each
127kind of page, and a collection of option files. These are split up and
128separate from the main configuration file to make it more convenient to
129override specific bits.
130.PP
131The web interface connects to the DisOrder server like any other user, though
132it is given a special privilege to "become" any other user. (Thus, any process
133with the same UID as the web interface is very powerful as far as DisOrder
25ca855b 134goes. This model will be changed in a future version.)
460b9539 135.PP
136Access control to the web interface is (currently) separate from DisOrder's own
137access control (HTTP authentication is required) but uses the same user
138namespace.
180dcdb0
RK
139.SS "Searching And Tags"
140Search strings contain a list of search terms separated by spaces. A search
141term can either be a single word or a tag, prefixed with "tag:".
142.PP
143Search words are compared without regard to letter case or accents; thus, all
144of the following will be considered to be equal to one another:
145.PP
146.nf
147 LATIN CAPITAL LETTER E
148 LATIN SMALL LETTER E
149 LATIN CAPITAL LETTER E WITH GRAVE
150 LATIN SMALL LETTER E WITH GRAVE
151 LATIN CAPITAL LETTER E plus COMBINING GRAVE ACCENT
152 LATIN SMALL LETTER E plus COMBINING GRAVE ACCENT
153.fi
154.PP
155The same rules apply to tags but in addition leading and trailing whitespace is
156disregarded and all whitespace sequences are treated as equal when they appear
157as internal whitespace.
158.PP
159Where several tags are listed, for instance the tags preference for a track,
160the tags are separated by commas. Therefore tags may not contain commas.
460b9539 161.SH "CONFIGURATION FILE"
162.SS "General Syntax"
163Lines are split into fields separated by whitespace (space, tab, line
164feed, carriage return, form feed). Comments are started by the number
165sign ("#").
166.PP
167Fields may be unquoted (in which case they may not contain spaces and
168may not start with a quotation mark or apostrophe) or quoted by either
169quotation marks or apostrophes. Inside quoted fields every character
170stands for itself, except that a backslash can only appear as part of
171one of the following escape sequences:
172.TP
173.B \e\e
174Backslash
175.TP
176.B \e"
177Quotation mark
178.\" "
179.TP
180.B \e'
181Apostrophe
182.TP
183.B \en
184Line feed
185.PP
186No other escape sequences are allowed.
187.PP
188Within any line the first field is a configuration command and any
189further fields are parameters. Lines with no fields are ignored.
190.PP
191After editing the config file use \fBdisorder reconfigure\fR to make
192it re-read it. If there is anything wrong with it the daemon will
193record a log message and ignore the new config file. (You should fix
194it before next terminating and restarting the daemon, as it cannot
195start up without a valid config file.)
eb5dc014
RK
196.SS "Configuration Files"
197Configuration files are read in the following order:
198.TP
199.I pkgconfdir/config
200.TP
201.I pkgconfdir/config.private
202Should be readable only by the jukebox group. Not really useful any more and
203may be abolished in future.
204.TP
205.I pkgconfdir/config.\fRUSER
206Per-user system-controlled client configuration. Optional but if it
207exists must be readable only by the relevant user. Would normally
208contain a \fBpassword\fR directive.
209.TP
210.I ~\fRUSER\fI/.disorder/passwd
211Per-user client configuration. Optional but if it exists must be
212readable only by the relevant user. Would normally contain a
213\fBpassword\fR directive.
460b9539 214.SS "Global Configuration"
215.TP
216.B home \fIDIRECTORY\fR
217The home directory for state files. Defaults to
218.IR pkgstatedir .
659d87e8 219The server will create this directory on startup if it does not exist.
460b9539 220.TP
0c6bcae0 221.B plugins \fIPATH\fR
460b9539 222Adds a directory to the plugin path. (This is also used by the web
223interface.)
224.IP
225Plugins are opened the first time they are required and never after,
226so after changing a plugin you must restart the server before it is
227guaranteed to take effect.
40c30921
RK
228.IP
229If
230.B plugins
231is used without arguments the plugin path is cleared.
460b9539 232.SS "Server Configuration"
233.TP
234.B alias \fIPATTERN\fR
235Defines the pattern use construct virtual filenames from \fBtrackname_\fR
236preferences.
237.IP
238Most characters stand for themselves, the exception being \fB{\fR which is used
239to insert a track name part in the form \fB{\fIname\fB}\fR or
240\fB{/\fIname\fB}\fR.
241.IP
242The difference is that the first form just inserts the name part while the
243second prefixes it with a \fB/\fR if it is nonempty.
244.IP
245The pattern should not attempt to include the collection root, which is
246automatically included, but should include the proper extension.
247.IP
248The default is \fB{/artist}{/album}{/title}{ext}\fR.
249.TP
25ca855b 250.B authorization_algorithm \fIALGORITHM\fR
637fdea3
RK
251Defines the algorithm used to authenticate clients. The valid options
252are sha1 (the default), sha256, sha384 and sha512. See
253.BR disorder_protocol (5)
254for more details.
255.TP
30ad4dab 256.B broadcast \fIADDRESS\fR \fIPORT\fR
257Transmit sound data to \fIADDRESS\fR using UDP port \fIPORT\fR. This implies
29573477 258\fBspeaker_backend network\fR.
61941295
RK
259.IP
260See also \fBmulticast_loop\fR and \fBmulticast_ttl\fR.
30ad4dab 261.TP
262.B broadcast_from \fIADDRESS\fR \fIPORT\fR
263Sets the (local) source address used by \fBbroadcast\fR.
264.TP
460b9539 265.B channel \fICHANNEL\fR
266The mixer channel that the volume control should use. Valid names depend on
267your operating system and hardware, but some standard ones that might be useful
268are:
269.RS
270.TP 8
271.B pcm
25ca855b
RK
272Output level for the audio device. This is probably what you want and is the
273default.
460b9539 274.TP
275.B speaker
276Output level for the PC speaker, if that is connected to the sound card.
277.TP
278.B pcm2
279Output level for alternative codec device.
280.TP
281.B vol
282Master output level. The OSS documentation recommends against using this, as
283it affects all output devices.
284.RE
285.IP
25ca855b
RK
286You can also specify channels by number, if you know the right value. NB that
287volume setting only works on OSS systems (including ALSA, via emulation).
460b9539 288.TP
289.B collection \fIMODULE\fR \fIENCODING\fR \fIROOT\fR
290Define a collection of tracks.
291.IP
292\fIMODULE\fR defines which plugin module should be used for this
293collection. Use the supplied \fBfs\fR module for tracks that exists
294as ordinary files in the filesystem.
295.IP
296\fIENCODING\fR defines the encoding of filenames in this collection.
297For \fBfs\fR this would be the encoding you use for filenames.
298Examples might be \fBiso-8859-1\fR or \fButf-8\fR.
299.IP
300\fIROOT\fR is the root in the filesystem of the filenames and is
301passed to the plugin module.
302.TP
303.B device \fINAME\fR
304ALSA device to play raw-format audio. Default is \fBdefault\fR, i.e. to use
305the whatever the ALSA configured default is.
306.TP
307.B gap \fISECONDS\fR
308Specifies the number of seconds to leave between tracks. The default
309is 2.
310.TP
311.B history \fIINTEGER\fR
312Specifies the number of recently played tracks to remember (including
313failed tracks and scratches).
314.TP
315.B listen \fR[\fIHOST\fR] \fISERVICE\fR
316Listen for connections on the address specified by \fIHOST\fR and port
317specified by \fISERVICE\fR. If \fIHOST\fR is omitted then listens on all
318local addresses.
319.IP
320Normally the server only listens on a UNIX domain socket.
321.TP
322.B lock yes\fR|\fBno
323Determines whether the server locks against concurrent operation. Default is
25ca855b
RK
324\fByes\fR. There is no good reason to set this to \fBno\fR and the option will
325probably be removed in a future version.
460b9539 326.TP
327.B mixer \fIPATH\fR
328The path to the mixer device, if you want access to the volume control,
25ca855b 329e.g. \fB/dev/mixer\fR (the default).
460b9539 330.TP
61941295
RK
331.B multicast_loop yes\fR|\fBno
332Determines whether multicast packets are loop backed to the sending host. The
333default is \fByes\fR. This only applies if
334\fBspeaker_backend\fR is set to \fBnetwork\fR and \fBbroadcast\fR is actually a
335multicast address.
336.TP
23205f9c 337.B multicast_ttl \fIHOPS\fR
61941295 338Set the maximum number of hops to send multicast packets. This only applies if
23205f9c 339\fBspeaker_backend\fR is set to \fBnetwork\fR and \fBbroadcast\fR is actually a
25ca855b 340multicast address. The default is 1.
23205f9c 341.TP
460b9539 342.B namepart \fIPART\fR \fIREGEXP\fR \fISUBST\fR [\fICONTEXT\fR [\fIREFLAGS\fR]]
343Determines how to extract trackname part \fIPART\fR from a
344track name (with the collection root part removed).
345Used in \fB@recent@\fR, \fB@playing@\fR and \fB@search@\fR.
346.IP
347Track names can be different in different contexts. For instance the sort
348string might include an initial track number, but this would be stripped for
349the display string. \fICONTEXT\fR should be a glob pattern matching the
350contexts in which this directive will be used.
351.IP
352Valid contexts are \fBsort\fR and \fBdisplay\fR.
353.IP
354All the \fBnamepart\fR directives are considered in order. The
355first directive for the right part, that matches the desired context,
356and with a \fIREGEXP\fR that
357matches the track is used, and the value chosen is constructed from
358\fISUBST\fR according to the substitution rules below.
359.IP
360Note that searches use the raw track name and \fBtrackname_\fR preferences but
361not (currently) the results of \fBnamepart\fR, so generating words via this option
362that aren't in the original track name will lead to confusing results.
363.IP
364If you supply no \fBnamepart\fR directives at all then a default set will be
365supplied automatically. But if you supply even one then you must supply all of
25ca855b
RK
366them. The defaults are equivalent to:
367.PP
368.nf
369namepart title "/([0-9]+ *[-:] *)?([^/]+)\\.[a-zA-Z0-9]+$" $2 display
370namepart title "/([^/]+)\\.[a-zA-Z0-9]+$" $1 sort
371namepart album "/([^/]+)/[^/]+$" $1 *
372namepart artist "/([^/]+)/[^/]+/[^/]+$" $1 *
373namepart ext "(\\.[a-zA-Z0-9]+)$" $1 *
374.fi
460b9539 375.TP
376.B nice_rescan \fIPRIORITY\fR
377Set the recan subprocess priority. The default is 10.
378.IP
379(Note that higher values mean the process gets less CPU time; UNIX priority
04e42396 380values are backwards.)
460b9539 381.TP
382.B nice_server \fIPRIORITY\fR
383Set the server priority. This is applied to the server at startup time (and
384not when you reload configuration). The server does not use much CPU itself
385but this value is inherited by programs it executes. If you have limited CPU
386then it might help to set this to a small negative value. The default is 0.
387.TP
388.B nice_speaker \fIPRIORITY\fR
389Set the speaker process priority. This is applied to the speaker process at
390startup time (and not when you reload the configuration). The speaker process
391is not massively CPU intensive by today's standards but depends on reasonably
392timely scheduling. If you have limited CPU then it might help to set this to a
393small negative value. The default is 0.
394.TP
2a10b70b
RK
395.B noticed_history
396The maximum days that a track can survive in the database of newly added
397tracks. The default is 31.
398.TP
460b9539 399.B player \fIPATTERN\fR \fIMODULE\fR [\fIOPTIONS.. [\fB--\fR]] \fIARGS\fR...
400Specifies the player for files matching the glob \fIPATTERN\fR. \fIMODULE\fR
401specifies which plugin module to use.
402.IP
403The following options are supported:
404.RS
405.TP
406.B --wait-for-device\fR[\fB=\fIDEVICE\fR]
407Waits (for up to a couple of seconds) for the default, or specified, libao
408device to become openable.
409.TP
410.B --
411Defines the end of the list of options. Needed if the first argument to the
412plugin starts with a "-".
413.RE
414.IP
415The following are the standard modules:
416.RS
417.TP
418.B exec \fICOMMAND\fR \fIARGS\fR...
419The command is executed via \fBexecvp\fR(3), not via the shell.
420The \fBPATH\fR environment variable is searched for the executable if it is not
421an absolute path.
422The command is expected to know how to open its own sound device.
423.TP
424.B execraw \fICOMMAND\fR \fIARGS\fR...
425Identical to the \fBexec\fR except that the player is expected to use the
ce6c36be 426DisOrder raw player protocol.
427.BR disorder-decode (8)
428can decode several common audio file formats to this format. If your favourite
429format is not supported, but you have a player which uses libao, there is also
430a libao driver which supports this format; see below for more information about
431this.
460b9539 432.TP
433.B shell \fR[\fISHELL\fR] \fICOMMAND\fR
434The command is executed using the shell. If \fISHELL\fR is specified then that
435is used, otherwise \fBsh\fR will be used. In either case the \fBPATH\fR
436environment variable is searched for the shell executable if it is not an
437absolute path. The track name is stored in the environment variable
438\fBTRACK\fR.
439.IP
440Be careful of the interaction between the configuration file quoting rules and
441the shell quoting rules.
442.RE
443.IP
444If multiple player commands match a track then the first match is used.
62dc3748
RK
445.IP
446For the server to be able to calculate track lengths, there should be a
447.B tracklength
448command corresponding to each
449.B player
450command.
40c30921
RK
451.IP
452If
453.B player
454is used without arguments, the list of players is cleared.
460b9539 455.TP
456.B prefsync \fISECONDS\fR
457The interval at which the preferences log file will be synchronised. Defaults
458to 3600, i.e. one hour.
459.TP
459d4402 460.B queue_pad \fICOUNT\fR
461The target size of the queue. If random play is enabled then randomly picked
25ca855b 462tracks will be added until the queue is at least this big. The default is 10.
459d4402 463.TP
405fea4e 464.B sample_format \fIBITS\fB/\fIRATE\fB/\fICHANNELS
465Describes the sample format expected by the \fBspeaker_command\fR (below). The
466components of the format specification are as follows:
467.RS
468.TP 10
469.I BITS
470The number of bits per sample. Optionally, may be suffixed by \fBb\fR or
471\fBl\fR for big-endian and little-endian words. If neither is used the native
472byte order is assumed.
473.TP
474.I RATE
475The number of samples per second.
476.TP
477.I CHANNELS
478The number of channels.
479.PP
480The default is
481.BR 16/44100/2 .
937be4c0
RK
482.PP
483With the
484.B network
485backend the sample format is forced to
e99d42b1 486.B 16b/44100/2
937be4c0
RK
487and with the
488.B coreaudio
489backend it is forced to
490.BR 16/44100/2 ,
491in both cases regardless of what is specified in the configuration file.
405fea4e 492.RE
493.TP
460b9539 494.B signal \fINAME\fR
495Defines the signal to be sent to track player process groups when tracks are
496scratched. The default is \fBSIGKILL\fR.
497.IP
498Signals are specified by their full C name, i.e. \fBSIGINT\fR and not \fBINT\fR
499or \fBInterrupted\fR or whatever.
500.TP
29573477 501.B speaker_backend \fINAME\fR
502Selects the backend use by the speaker process. The following options are
503available:
504.RS
505.TP
506.B alsa
507Use the ALSA API. This is only available on Linux systems, on which it is the
508default.
509.TP
937be4c0
RK
510.B coreaudio
511Use Apple Core Audio. This only available on OS X systems, on which it is the
512default.
513.TP
e99d42b1 514.B oss
25ca855b 515Use the OSS (/dev/dsp) API. Not available on all platforms.
e99d42b1 516.TP
29573477 517.B command
518Execute a command. This is the default if
519.B speaker_command
937be4c0 520is specified, or if no native is available.
29573477 521.TP
522.B network
523Transmit audio over the network. This is the default if
803f6e52 524\fBbroadcast\fR is specified. You can use
525.BR disorder-playrtp (1)
526to receive and play the resulting stream on Linux and OS X.
29573477 527.RE
528.TP
5330d674 529.B sox_generation \fB0\fR|\fB1
530Determines whether calls to \fBsox\fR(1) should use \fB-b\fR, \fB-x\fR, etc (if
25ca855b
RK
531the generation is 0) or \fB-\fIbits\fR, \fB-L\fR etc (if it is 1). See the
532documentation for your installed copy of \fBsox\fR to determine which you need.
533The default is 0.
5330d674 534.TP
405fea4e 535.B speaker_command \fICOMMAND
536Causes the speaker subprocess to pipe audio data into shell command
537\fICOMMAND\fR, rather than writing to a local sound card. The sample format is
538determine by
539.B sample_format
540above.
77cfc7a2 541.IP
542Note that if the sample format is wrong then
543.BR sox (1)
544is invoked to translate it. If
545.B sox
546is not installed then this will not work.
405fea4e 547.TP
460b9539 548.B scratch \fIPATH\fR
549Specifies a scratch. When a track is scratched, a scratch track is
550played at random.
551Scratches are played using the same logic as other tracks.
552.IP
553At least for the time being, path names of scratches must be encoded using
554UTF-8 (which means that ASCII will do).
40c30921
RK
555.IP
556If \fBscratch\fR is used without arguments then the list of scratches is
557cleared.
460b9539 558.TP
559.B stopword \fIWORD\fR ...
560Specifies one or more stopwords that should not take part in searches
561over track names.
40c30921
RK
562.IP
563If \fBstopword\fR is used without arguments then the list of stopwords is
564cleared.
62dc3748
RK
565.TP
566.B tracklength \fIPATTERN\fR \fIMODULE\fR
567Specifies the module used to calculate the length of files matching
568\fIPATTERN\fR. \fIMODULE\fR specifies which plugin module to use.
40c30921
RK
569.IP
570If \fBtracklength\fR is used without arguments then the list of modules is
571cleared.
eb5dc014
RK
572.TP
573.B user \fIUSER\fR
574Specifies the user to run as. Only makes sense if invoked as root (or
575the target user).
460b9539 576.SS "Client Configuration"
577.TP
ccf0aafa 578.B connect \fIHOST SERVICE\fR
460b9539 579Connect to the address specified by \fIHOST\fR and port specified by
ccf0aafa 580\fISERVICE\fR.
460b9539 581.SS "Web Interface Configuration"
582.TP
583.B refresh \fISECONDS\fR
584Specifies the maximum refresh period in seconds. Default 15.
585.TP
61507e3c
RK
586.B short_display \fICHARACTERS\fR
587Defines the maximum number of characters to include in a \fBshort\fR name
588part. Default 30.
589.TP
460b9539 590.B templates \fIPATH\fR ...
591Specifies the directory containing templates used by the web
592interface. If a template appears in more than one template directory
593then the one in the earliest directory specified is chosen.
594.IP
595See below for further details.
40c30921
RK
596.IP
597If \fBtemplates\fR is used without arguments then the template path is cleared.
460b9539 598.TP
599.B transform \fITYPE\fR \fIREGEXP\fR \fISUBST\fR [\fICONTEXT\fR [\fIREFLAGS\fR]]
600Determines how names are sorted and displayed in track choice displays.
601.IP
602\fITYPE\fR is the type of transformation; usually \fBtrack\fR or
603\fBdir\fR but you can define your own.
604.IP
605\fICONTEXT\fR is a glob pattern matching the context. Standard contexts are
606\fBsort\fR (which determines how directory names are sorted) and \fBdisplay\fR
607(which determines how they are displayed). Again, you can define your
608own.
609.IP
610All the \fBtransform\fR directives are considered in order. If
611the \fITYPE\fR, \fIREGEXP\fR and the \fICONTEXT\fR match
612then a new track name is constructed from
613\fISUBST\fR according to the substitution rules below. If several
614match then each is executed in order.
615.IP
616If you supply no \fBtransform\fR directives at all then a default set will be
617supplied automatically. But if you supply even one then you must supply all of
25ca855b
RK
618them. The defaults are:
619.PP
620.nf
621transform track "^.*/([0-9]+ *[-:] *)?([^/]+)\\.[a-zA-Z0-9]+$" $2 display
622transform track "^.*/([^/]+)\\.[a-zA-Z0-9]+$" $1 sort
623transform dir "^.*/([^/]+)$" $1 *
624transform dir "^(the) ([^/]*)" "$2 $1" sort i
625transform dir "[[:punct:]]" "" sort g
626.fi
460b9539 627.TP
628.B url \fIURL\fR
629Specifies the URL of the web interface. This URL will be used in
630generated web pages.
631.IP
632This must be the full URL, e.g. \fBhttp://myhost/cgi-bin/jukebox\fR and not
633\fB/cgi-bin/jukebox\fR.
634.SS "Authentication Configuration"
eb5dc014
RK
635These options would normally be used in \fI~\fRUSER\fI/.disorder/passwd\fR or
636\fIpkgconfdir/config.\fRUSER.
460b9539 637.TP
460b9539 638.B password \fIPASSWORD\fR
639Specify password.
640.TP
460b9539 641.B username \fIUSERNAME\fR
642Specify username. The default is taken from the environment variable
643\fBLOGNAME\fR.
460b9539 644.SH "GLOBAL PREFERENCES"
645These are the values set with \fBset-global\fR.
646.TP
647.B required-tags
648If this is set an nonempty then randomly played tracks will always have at
649least one of the listed tags.
460b9539 650.TP
651.B prohibited-tags
652If this is set an nonempty then randomly played tracks will never have any of
653the listed tags.
654.TP
655.B playing
656If unset or \fByes\fR then play is enabled. Otherwise it is disabled. Use
657\fBdisable\fR rather than setting it directly.
658.TP
659.B random-play
660If unset or \fByes\fR then random play is enabled. Otherwise it is disabled.
661Use \fBdisable\fR rather than setting it directly.
f9635e06
RK
662.PP
663Global preferences starting '_' are read-only (in the sense that you cannot
664modify them; the server may modify them as part of its normal operation). They
665are:
666.TP
667.B _dbversion
668The database version string. This is used by DisOrder to detect when it must
669modify the database after an upgrade.
460b9539 670.SH "LIBAO DRIVER"
671.SS "Raw Protocol Players"
672Raw protocol players are expected to use the \fBdisorder\fR libao driver.
673Programs that use libao generally have command line options to select the
674driver and pass options to it.
675.SS "Driver Options"
676The known driver options are:
677.TP
678.B fd
679The file descriptor to write to. If this is not specified then the driver
680looks like the environment variable \fBDISORDER_RAW_FD\fR. If that is not set
681then the default is 1 (i.e. standard output).
682.TP
683.B fragile
684If this is set to a nonzero value then the driver will call \fB_exit\fR(2) if a
685write to the output file descriptor fails. This is a workaround for buggy
686players such as \fBogg123\fR that ignore write errors.
687.SH "WEB TEMPLATES"
688When \fBdisorder.cgi\fR wants to generate a page for an action it searches the
689directories specified with \fBtemplates\fR for a matching file. It is
690suggested that you leave the distributed templates unchanged and put
691any customisations in an earlier entry in the template path.
692.PP
693The supplied templates are:
694.TP
695.B about.html
696Display information about DisOrder.
697.TP
698.B choose.html
699Navigates through the track database to choose a track to play. The
700\fBdir\fR argument gives the directory to look in; if it is missing
701then the root directory is used.
702.TP
703.B choosealpha.html
704Provides a front end to \fBchoose.html\fR which allows subsets of the top level
705directories to be selected by initial letter.
706.TP
d5b6ffd7
RK
707.B new.html
708Lists newly added tracks.
709.TP
460b9539 710.B playing.html
711The "front page", which usually shows the currently playing tracks and
712the queue.
713Gets an HTTP \fBRefresh\fR header.
714.IP
715If the \fBmgmt\fR CGI argument is set to \fBtrue\fR then we include extra
716buttons for moving tracks up and down in the queue. There is some logic in
717\fBdisorder.cgi\fR to ensure that \fBmgmt=true\fR is preserved across refreshes
718and redirects back into itself, but URLs embedded in web pages must include it
719explicitly.
720.TP
721.B prefs.html
722Views preferences. If the \fBfile\fR, \fBname\fR and \fBvalue\fR arguments are
723all set then that preference is modified; if \fBfile\fR and \fBname\fR are set
724but not \fBvalue\fR then the preference is deleted.
725.TP
726.B recent.html
727Lists recently played tracks.
728.TP
729.B search.html
730Presents search results.
731.TP
732.B volume.html
733Primitive volume control.
734.PP
735Additionally, other standard files are included by these:
736.TP
737.B credits.html
738Included at the end of the main content \fB<DIV>\fR element.
739.TP
d5b6ffd7
RK
740.B topbar.html
741Included at the start of the \fB<BODY>\fR element. (This supplants
742\fBsidebar.html\fR, though the latter is still available; override label
743\fBmenu\fR to choose between them.)
460b9539 744.TP
745.B stdhead.html
746Included in the \fB<HEAD>\fR element.
747.TP
748.B stylesheet.html
749Contains the default DisOrder stylesheet. You can override this by editing the
750CSS or by replacing it all with a \fB<LINK>\fR to an external stylesheet.
751.PP
752Templates are ASCII files containing HTML documents, with an expansion
753syntax to enable data supplied by the implementation to be inserted.
754.PP
755If you want to use characters outside the ASCII range, use either the
756appropriate HTML entity, e.g. \fB&eacute;\fR, or an SGML numeric
757character reference, e.g. \fB&#253;\fR. Use \fB&#64;\fR to insert a
758literal \fB@\fR without falling foul of the expansion syntax.
759.SS "Expansion Syntax"
760Expansions are surrounded by at ("@") symbols take the form of a keyword
761followed by zero or more arguments. Arguments may either be quoted by curly
762brackets ("{" and "}") or separated by colons (":"). Both kinds may be mixed
763in a single expansion, though doing so seems likely to cause confusion.
764The descriptions below contain suggested forms for each
765expansion.
766.PP
767Leading and trailing whitespace in unquoted arguments is ignored, as is
768whitespace (including newlines) following a close bracket ("}").
769.PP
770Arguments are recursively expanded before being interpreted, except for
771\fITEMPLATE\fR arguments. These are expanded (possibly more than once) to
772produce the final expansion.
773(More than once means the same argument being expanded more than once
774for different tracks or whatever, not the result of the first
775expansion itself being re-expanded.)
776.PP
777Strings constructed by expansions (i.e. not literally copied from the template
778text) are SGML-quoted: any character which does not stand for itself in #PCDATA
779or a quoted attribute value is replaced by the appropriate numeric character
780reference.
781.PP
782The exception to this is that such strings are \fInot\fR quoted when they are
783generated in the expansion of a parameter.
784.PP
785In the descriptions below, the current track means the one set by
786\fB@playing@\fR, \fB@recent@\fR or \fB@queue@\fR, not the one that is playing.
787If none of these expansions are in force then there is no current track.
788\fIBOOL\fR should always be either \fBtrue\fR or \fBfalse\fR.
789.SS "Expansions"
790The following expansion keywords are defined:
791.TP
792.B @#{\fICOMMENT\fB}@
793Ignored.
794.TP
795.B @action@
796The current action. This reports
797.B manage
798if the action is really
799.B playing
800but
801.B mgmt=true
802was set.
803.TP
804.B @and{\fIBOOL\fB}{\fIBOOL\fB}\fR...\fB@
805If there are no arguments, or all the arguments are \fBtrue\fB, then expands to
806\fBtrue\fR, otherwise to \fBfalse\fR.
807.TP
808.B @arg:\fINAME\fB@
25ca855b 809Expands to the value of CGI argument \fINAME\fR.
460b9539 810.TP
811.B @basename@
812The basename of the current directory component, in \fB@navigate@\fR.
813.TP
814.B @basename{\fIPATH\fB}@
815The base name part of \fIPATH\fR.
816.TP
817.B @choose{\fIWHAT\fB}{\fITEMPLATE\fB}@
818Expands \fITEMPLATE\fR repeatedly for each file or directory under
819\fB@arg:directory@\fR.
820\fIWHAT\fR should be either \fBfile\fR or \fBdirectory\fR.
821Use \fB@file@\fR to get the display name or filename of the file or
822directory.
823Usually used in \fBchoose.html\fR.
824.TP
825.B @dirname@
826The directory of the current directory component, in \fB@navigate@\fR.
827.TP
828.B @dirname{\fIPATH\fB}@
829The directory part of \fIPATH\fR.
830.TP
831.B @enabled@
832Expands to \fBtrue\fR if play is currently enabled, otherwise to \fBfalse\fR.
833.TP
834.B @eq{\fIA\fB}{\fIB\fB}
835Expands to \fBtrue\fR if \fIA\fR and \fIB\fR are identical, otherwise to
836\fBfalse\fR.
837.TP
838.B @file@
839Expands to the filename of the current file or directory, inside the template
840argument to \fBchoose\fR.
841.TP
842.B @files{\fITEMPLATE\fB}
40c30921 843Expands \fITEMPLATE\fR once for each file indicated by the \fBdirectory\fR CGI
460b9539 844arg if it is present, or otherwise for the list of files counted by \fBfiles\fR
845with names \fB0_file\fR, \fB1_file\fR etc.
846.TP
847.B @fullname@
848The full path of the current directory component, in \fB@navigate@\fR.
849.TP
850.B @id@
851The ID of the current track.
852.TP
853.B @if{\fIBOOL\fB}{\fITRUEPART\fB}{\fIFALSEPART\fB}@
854If \fIBOOL\fR expands to \fBtrue\fR then expands to \fITRUEPART\fR, otherwise
855to \fIFALSEPART\fR (which may be omitted).
856.TP
857.B @include:\fIPATH\fR@
858Include the named file as if it were a template file. If \fIPATH\fR
859starts with a \fB/\fR then it is used as-is; otherwise, ".html" is
860appended and the template path is searched.
861.TP
862.B @index@
863Expands to the index of the current file in \fB@queue@\fR, \fB@recent@\fR or
864\fB@files@\fR.
865.TP
866.B @isdirectories@
867Expands to \fBtrue\fR if there are any directories in \fB@arg:directory@\fR,
868otherwise to \fBfalse\fR.
869.TP
870.B @isfiles@
871Expands to \fBtrue\fR if there are any files in \fB@arg:directory@\fR,
872otherwise to \fBfalse\fR.
873.TP
874.B @isfirst@
875Expands to \fBtrue\fR if this is the first repetition of a \fITEMPLATE\fR
876argument in a loop (\fB@queue\fR or similar), otherwise to \fBfalse\fR.
877.TP
878.B @islast@
879Expands to \fBtrue\fR if this is the last repetition of a \fITEMPLATE\fR in a
880loop, otherwise to \fBfalse\fR.
881.TP
d5b6ffd7
RK
882.B @isnew@
883Expands to \fBtrue\fR if the newly added tracks list has any tracks in it,
884otherwise to \fBfalse\fR.
885.TP
460b9539 886.B @isplaying@
887Expands to \fBtrue\fR if a track is playing, otherwise to \fBfalse\fR.
888.TP
889.B @isqueue@
890Expands to \fBtrue\fR if there are any tracks in the queue, otherwise to
891\fBfalse\fR.
892.TP
893.B @isrecent@
894Expands to \fBtrue\fR if the recently played list has any tracks in it,
895otherwise to \fBfalse\fR.
896.TP
897.B @label:\fINAME\fR\fB@
898Expands to the value of label \fINAME\fR. See the shipped \fIoptions.labels\fR
899file for full documentation of the labels used by the standard templates.
900.TP
901.B @length@
902Expands to the length of the current track.
903.TP
904.B @navigate{\fIDIRECTORY\fB}{\fITEMPLATE\fB}
905Expands \fITEMPLATE\fR for each component of \fIDIRECTORY\fR in turn.
906Use \fB@dirname\fR and \fB@basename@\fR to get the components of the path to
907each component.
908Usually used in \fBchoose.html\fR.
909.TP
910.B @ne{\fIA\fB}{\fIB\fB}
911Expands to \fBtrue\fR if \fIA\fR and \fIB\fR differ, otherwise to \fBfalse\fR.
912.TP
d5b6ffd7
RK
913.B @new{\fITEMPLATE\fB}
914Expands \fITEMPLATE\fR for each track in the newly added tracks list, starting
915with the most recent. Used in \fBnew.html\fR.
916.TP
460b9539 917.B @nfiles@
918Expands to the number of files from \fB@files\fR (above).
919.TP
920.B @nonce@
921Expands to a string including the time and process ID, intended to be
922unique across invocations.
923.TP
924.B @not{\fIBOOL\fB}@
925Expands to \fBfalse\fR if \fIBOOL\fR is \fBtrue\fR, otherwise to
926\fBfalse\fR.
927.TP
928.B @or{\fIBOOL\fB}{\fIBOOL\fB}\fR...\fB@
929If at least one argument is \fBtrue\fB, then expands to \fBtrue\fR, otherwise
930to \fBfalse\fR.
931.TP
932.B @parity@
933Expands to \fBeven\fR or \fBodd\fR depending on whether the current track is at
934an even or odd position in \fB@queue@\fR, \fB@recent@\fR or \fB@files@\fR.
935.TP
936.B @part{\fICONTEXT\fB}{\fIPART\fB}@
937Expands to track name part \fIPART\fR using context \fICONTEXT\fR for the
61507e3c 938current track. The context may be omitted and defaults
460b9539 939to \fBdisplay\fR.
61507e3c
RK
940.IP
941The special context \fBshort\fR is equivalent to \fBdisplay\fR but limited to
942the \fBshort_display\fR limit.
460b9539 943.TP
944.B @part{\fICONTEXT\fB}{\fIPART\fB}{\fITRACK\fB}@
945Expands to track name part \fIPART\fR using context \fICONTEXT\fR for
946\fITRACK\fR. In this usage the context may not be omitted.
61507e3c
RK
947.IP
948The special context \fBshort\fR is equivalent to \fBdisplay\fR but limited to
949the \fBshort_display\fR limit.
460b9539 950.TP
951.B @paused@
952Expands to \fBtrue\fR if the current track is paused, else \fBfalse\fR.
953.TP
954.B @playing{\fITEMPLATE\fB}@
955Expands \fITEMPLATE\fR using the playing track as the current track.
956.TP
957.B @pref{\fITRACK\fB}{\fIKEY\fB}@
958Expand to the track preference, or the empty string if it is not set.
959.TP
960.B @prefname@
961Expands to the name of the current preference, in the template
962argument of \fB@prefs@\fR.
963.TP
964.B @prefs{\fIFILE\fB}{\fITEMPLATE\fB}@
965Expands \fITEMPLATE\fR repeatedly, for each preference of track
966\fIFILE\fR.
967Use \fB@prefname@\fR and \fB@prefvalue@\fR to get the name and value.
968.TP
969.B @prefvalue@
970Expands to the value of the current preference, in the template
971argument of \fB@prefs@\fR.
972.TP
973.B @queue{\fITEMPLATE\fB}@
974Expands \fITEMPLATE\fR repeatedly using the each track on the queue in turn as
975the current track. The track at the head of the queue comes first.
976.TP
977.B @random-enabled@
978Expands to \fBtrue\fR if random play is currently enabled, otherwise to
979\fBfalse\fR.
980.TP
981.B @recent{\fITEMPLATE\fB}@
982Expands \fITEMPLATE\fR repeatedly using the each recently played track in turn
983as the current track. The most recently played track comes first.
984.TP
985.B @resolve{\fITRACK\fB}@
986Resolve aliases for \fITRACK\fR and expands to the result.
987.TP
988.B @search{\fIPART\fB}\fR[\fB{\fICONTEXT\fB}\fR]\fB{\fITEMPLATE\fB}@
989Expands \fITEMPLATE\fR once for each group of search results that have
990a common value of track part \fIPART\fR.
991The groups are sorted by the value of the part.
992.IP
993.B @part@
994and
995.B @file@
996within the template will apply to one of the tracks in the group.
997.IP
998If \fICONTEXT\fR is specified it should be either \fBsort\fR or \fBdisplay\fR,
999and determines the context for \fIPART\fR. The default is \fBsort\fR. Usually
1000you want \fBdisplay\fR for everything except the title and \fBsort\fR for the
1001title. If you use \fBsort\fR for artist and album then you are likely to get
1002strange effects.
1003.TP
1004.B @server-version@
1005Expands to the server's version string.
1006.TP
1007.B @shell{\fICOMMAND\fB}@
1008Expands to the output of \fICOMMAND\fR executed via the shell. \fBsh\fR is
1009searched for using \fBPATH\fR. If the command fails then this is logged but
1010otherwise ignored.
1011.TP
1012.B @state@
1013In \fB@queue@\fR and \fB@recent@\fR, expands to the state of the current
1014track. Otherwise the empty string. Known states are:
1015.RS
1016.TP 12
1017.B failed
1018The player terminated with nonzero status, but not because the track was
1019scratched.
1020.TP
1021.B isscratch
1022A scratch, in the queue.
1023.TP
1024.B no_player
1025No player could be found.
1026.TP
1027.B ok
1028Played successfully.
1029.TP
1030.B random
1031A randomly chosen track, in the queue.
1032.TP
1033.B scratched
1034This track was scratched.
1035.TP
1036.B unplayed
1037An explicitly queued track, in the queue.
1038.RE
1039.IP
1040Some additional states only apply to playing tracks, so will never be seen in
1041the queue or recently-played list:
1042.RS
1043.TP 12
1044.B paused
1045The track has been paused.
1046.TP
1047.B quitting
1048Interrupted because the server is shutting down.
1049.TP
1050.B started
1051This track is currently playing.
1052.RE
1053.TP
1054.B @stats@
1055Expands to the server statistics.
1056.TP
1057.B @thisurl@
1058Expands to the URL of the current page. Typically used in
1059.B back
1060arguments. If there is a
1061.B nonce
1062argument then it is changed to a fresh value.
1063.TP
1064.B @track@
1065The current track.
1066.TP
1067.B @trackstate{\fIPATH\fB}@
1068Expands to the current track state: \fBplaying\fR if the track is actually
1069playing now, \fBqueued\fR if it is queued or the empty string otherwise.
1070.TP
1071.B @transform{\fIPATH\fB}{\fITYPE\fB}{\fICONTEXT\fB}@
1072Transform a path according to \fBtransform\fR (see above).
1073\fIPATH\fR should be a raw filename (of a track or directory).
1074\fITYPE\fR should be the transform type (e.g. \fItrack\fR or \fIdir\fR).
1075\fICONTEXT\fR should be the context, and can be omitted (the default
1076is \fBdisplay\fR).
1077.TP
1078.B @url@
1079Expands to the canonical URL as defined in \fIpkgconfdir/config\fR.
1080.TP
1081.B @urlquote{\fISTRING\fB}@
1082URL-quote \fISTRING\fR.
1083.TP
1084.B @version@
1085Expands to \fBdisorder.cgi\fR's version string.
1086.TP
1087.B @volume:\fISPEAKER\fB@
40c30921 1088The volume on the left or right speaker. \fISPEAKER\fR must be \fBleft\fR or
460b9539 1089\fBright\fR.
1090.TP
1091.B @when@
1092When the current track was played (or when it is expected to be played, if it
1093has not been played yet)
1094.TP
1095.B @who@
1096Who submitted the current track.
1097.SH "WEB OPTIONS"
1098This is a file called \fIoptions\fR, searched for in the same manner
1099as templates. It includes numerous options for the control of the web
1100interface. The general syntax is the same as the main configuration
1101file, except that it should be encoded using UTF-8 (though this might
1102change to the current locale's character encoding; stick to ASCII to
1103be safe).
1104.PP
1105The shipped \fIoptions\fR file includes four standard options files.
1106In order, they are:
1107.TP
1108.I options.labels
1109The default labels file. You wouldn't normally edit this directly - instead
1110supply your own commands in \fIoptions.user\fR. Have a look at the shipped
1111version of the file for documentation of labels used by the standard templates.
1112.TP
1113.I options.user
1114A user options file. Here you should put any overrides for the default
1115labels and any extra labels required by your modified templates.
1116.PP
1117Valid directives are:
1118.TP
1119.B columns \fINAME\fR \fIHEADING\fR...
1120Defines the columns used in \fB@playing@\fR and \fB@recent@\fB. \fINAME\fR
1121must be either \fBplaying\fR, \fBrecent\fR or \fBsearch\fR.
1122\fIHEADING\fR... is a list of
1123heading names. If a column is defined more than once then the last definitions
1124is used.
1125.IP
1126The heading names \fBbutton\fR, \fBlength\fR, \fBwhen\fR and \fBwho\fR
1127are built in.
1128.TP
1129.B include \fIPATH\fR
1130Includes another file. If \fIPATH\fR starts with a \fB/\fR then it is
1131taken as is, otherwise it is searched for in the template path.
1132.TP
1133.B label \fINAME\fR \fIVALUE\fR
1134Define a label. If a label is defined more than once then the last definition
1135is used.
1136.SS Labels
1137Some labels are defined inside \fBdisorder.cgi\fR and others by the
1138default templates. You can define your own labels and use them inside
1139a template.
1140.PP
1141When an undefined label is expanded, if it has a dot in its name then
1142the part after the final dot is used as its value. Otherwise the
1143whole name is used as the value.
1144.PP
1145Labels are no longer documented here, see the shipped \fIoptions.labels\fR file
1146instead.
1147.SH "REGEXP SUBSTITUTION RULES"
1148Regexps are PCRE regexps, as defined in \fBpcrepattern\fR(3). The
1149only option used is \fBPCRE_UTF8\fR. Remember that the configuration
1150file syntax means you have to escape backslashes and quotes inside
1151quoted strings.
1152.PP
1153In a \fISUBST\fR string the following sequences are interpreted
1154specially:
1155.TP
1156.B $1 \fR... \fB$9
1157These expand to the first to ninth bracketed subexpression.
1158.TP
1159.B $&
1160This expands to the matched part of the subject string.
1161.TP
1162.B $$
1163This expands to a single \fB$\fR symbol.
1164.PP
1165All other pairs starting with \fB$\fR are undefined (and might be used
1166for something else in the future, so don't rely on the current
1167behaviour.)
1168.PP
1169If \fBi\fR is present in \fIREFLAGS\fR then the match is case-independent. If
1170\fBg\fR is present then all matches are replaced, otherwise only the first
1171match is replaced.
1172.SH "ACTIONS"
1173What the web interface actually does is terminated by the \fBaction\fR CGI
1174argument. The values listed below are supported.
1175.PP
1176Except as specified, all actions redirect back to the \fBplaying.html\fR
1177template unless the \fBback\fR argument is present, in which case the URL it
1178gives is used instead.
1179.PP
1180Redirection to \fBplaying.html\fR preserves \fBmgmt=true\fR if it is present.
1181.TP 8
1182.B "move"
1183Move track \fBid\fR by offset \fBdelta\fR.
1184.TP
1185.B "play"
1186Play track \fBfile\fR, or if that is missing then play all the tracks in
1187\fBdirectory\fR.
1188.TP
1189.B "playing"
1190Don't change any state, but instead compute a suitable refresh time and include
1191that in an HTTP header. Expands the \fBplaying.html\fR template rather than
1192redirecting.
1193.IP
1194This is the default if \fBaction\fR is missing.
1195.TP
1196.B "random-disable"
1197Disables random play.
1198.TP
1199.B "random-enable"
1200Enables random play.
1201.TP
1202.B "disable"
1203Disables play completely.
1204.TP
1205.B "enable"
1206Enables play.
1207.TP
1208.B "pause"
1209Pauses the current track.
1210.TP
1211.B "remove"
1212Remove track \fBid\fR.
1213.TP
1214.B "resume"
1215Resumes play after a pause.
1216.TP
1217.B "scratch"
1218Scratch the playing track. If \fBid\fR is present it must match the playing
1219track.
1220.TP
1221.B "volume"
1222Change the volume by \fBdelta\fR, or if that is missing then set it to the
1223values of \fBleft\fR and \fBright\fR. Expands to the \fBvolume.html\fR template
1224rather than redirecting.
1225.TP
1226.B "prefs"
1227Adjust preferences from the \fBprefs.html\fR template (which it then expands
1228rather than redirecting).
1229.IP
1230If
1231.B parts
1232is set then the cooked interface is assumed. The value of
1233.B parts
1234is used to determine which trackname preferences are set. By default the
1235.B display
1236context is adjusted but this can be overridden with the
1237.B context
1238argument. Also the
1239.B random
1240argument is checked; if it is set then random play is enabled for that track,
1241otherwise it is disabled.
1242.IP
1243Otherwise if the
1244.B name
1245and
1246.B value
1247arguments are set then they are used to set a single preference.
1248.IP
1249Otherwise if just the
1250.B name
1251argument is set then that preference is deleted.
1252.IP
1253It is recommended that links to the \fBprefs\fR action use \fB@resolve@\fR to
1254enure that the real track name is always used. Otherwise if the preferences
1255page is used to adjust a trackname_ preference, the alias may change, leading
1256to the URL going stale.
1257.TP
1258.B "error"
1259This action is generated automatically when an error occurs connecting to the
1260server. The \fBerror\fR label is set to an indication of what the error is.
1261.SH "TRACK NAME PARTS"
1262The traditional track name parts are \fBartist\fR, \fBalbum\fR and \fBtitle\fR,
1263with the obvious intended meaning. These are controlled by configuration and
1264by \fBtrackname_\fR preferences.
1265.PP
1266In addition there are two built-in parts, \fBpath\fR which is the whole path
1267name and \fBext\fR which is the filename extension, including the initial dot
1268(or the empty string if there is not extension).
1269.SH "SEE ALSO"
77cfc7a2 1270\fBdisorder\fR(1), \fBsox\fR(1), \fBdisorderd\fR(8), \fBdisorder-dump\fR(8),
460b9539 1271\fBpcrepattern\fR(3)
1272.\" Local Variables:
1273.\" mode:nroff
1274.\" fill-column:79
1275.\" End: