aboutsummaryrefslogtreecommitdiffstats
path: root/cwmrc.5
diff options
context:
space:
mode:
authorokan2011-06-25 13:12:56 +0000
committerokan2011-06-25 13:12:56 +0000
commit5efa5057eb21ff95198872a1134e296d381f6e76 (patch)
tree95e422cbc8b6178c3056aedcda0eb8b0c7da2dff /cwmrc.5
parent3e6eeaaf087fe881587a1a4a685fb1e460e76914 (diff)
downloadcwm-5efa5057eb21ff95198872a1134e296d381f6e76.tar.gz
Since cwm(1) uses the same parser as others in src, document how
comments and line extensions work. Taken from sthen@'s recent commit in src. ok sthen@
Diffstat (limited to '')
-rw-r--r--cwmrc.518
1 files changed, 15 insertions, 3 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index 24f3e52..f9dd9f5 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwmrc.5,v 1.37 2011/06/24 06:09:26 okan Exp $
+.\" $OpenBSD: cwmrc.5,v 1.38 2011/06/25 13:12:56 okan Exp $
.\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 24 2011 $
+.Dd $Mdocdate: June 25 2011 $
.Dt CWMRC 5
.Os
.Sh NAME
@@ -24,7 +24,19 @@
This manual page describes the
.Xr cwm 1
configuration file.
-The following options are accepted in the configuration file:
+.Pp
+The current line can be extended over multiple lines using a backslash
+.Pq Sq \e .
+Comments can be put anywhere in the file using a hash mark
+.Pq Sq # ,
+and extend to the end of the current line.
+Care should be taken when commenting out multi-line text:
+the comment is effective until the end of the entire block.
+.Pp
+Arguments containing whitespace should be surrounded by double quotes
+.Pq \&" .
+.Pp
+The following options are accepted:
.Pp
.Bl -tag -width Ds -compact
.It Ic autogroup Ar group windowname