Skip to content

Commit

Permalink
Tweaked docs {gnats:208}.
Browse files Browse the repository at this point in the history
  • Loading branch information
dun committed Jul 14, 2003
1 parent dc3f8c1 commit 103dba7
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 26 deletions.
6 changes: 5 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
2003-07-11 Chris Dunlap <cdunlap@llnl.gov>
2003-07-13 Chris Dunlap <cdunlap@llnl.gov>

* : Released 0.1.8.5.

* etc/conman.conf, man/conman.conf.5.in: Tweaked docs {gnats:208}.

2003-07-11 Chris Dunlap <cdunlap@llnl.gov>

* common.h, server-conf.c, server-logfile.c, server-obj.c, server.c,
server.h, etc/conman.conf, man/conman.conf.5.in, man/conmand.8.in:
Added support for conversion specifiers {gnats:208}.
Expand Down
4 changes: 2 additions & 2 deletions META
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
##
# $Id: META,v 1.9.2.2 2003/07/12 00:12:24 dun Exp $
# $Id: META,v 1.9.2.3 2003/07/14 06:08:19 dun Exp $
##
# Metadata for RPM/TAR makefile targets
##
Meta: 1
Date: 2003-07-11
Date: 2003-07-13
Name: conman
Version: 0.1.8.5
# Release: 1
8 changes: 4 additions & 4 deletions etc/conman.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##
# ConMan daemon configuration file
##
# $Id: conman.conf,v 1.13.2.1 2003/07/12 00:12:25 dun Exp $
# $Id: conman.conf,v 1.13.2.2 2003/07/14 06:08:20 dun Exp $
##
# - Whitespace is ignored.
# - Comments are ignored (from the pound char to the newline).
Expand Down Expand Up @@ -110,9 +110,9 @@
##
# The global LOG keyword specifies the default log file to use for each
# CONSOLE directive. This string undergoes conversion specifier expansion
# and must contain either the '%N' or '%D' conversion specifier. If an
# absolute pathname is not given, the file's location is relative to LOGDIR
# (assuming it has been previously defined).
# and must contain either '%N' or '%D'. If an absolute pathname is not
# given, the file's location is relative to LOGDIR (assuming it has been
# previously defined).
##
# GLOBAL log="<file>"
##
Expand Down
37 changes: 18 additions & 19 deletions man/conman.conf.5.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.\" $Id: conman.conf.5.in,v 1.5.2.1 2003/07/12 00:12:25 dun Exp $
.\" $Id: conman.conf.5.in,v 1.5.2.2 2003/07/14 06:08:20 dun Exp $

.TH CONMAN.CONF 5 "@DATE@" "@PROJECT@-@VERSION@" "LLNL"

Expand Down Expand Up @@ -82,10 +82,9 @@ following key/value pairs:
\fBlog\fR \fB=\fR "\fIfile\fR"
Specifies the default log file to use for each \fBconsole\fR directive.
This string undergoes conversion specifier expansion (cf, \fBCONVERSION
SPECIFICATIONS\fR) and must contain either the '\fB%N\fR' or '\fB%D\fR'
conversion specifier. If an absolute pathname is not given, the file's
location is relative to \fBlogdir\fR (assuming it has been previously
defined).
SPECIFICATIONS\fR) and must contain either '\fB%N\fR' or '\fB%D\fR'.
If an absolute pathname is not given, the file's location is relative to
\fBlogdir\fR (assuming it has been previously defined).
.TP
\fBlogopts\fR \fB=\fR "(\fBsanitize\fR|\fBnosanitize\fR)"
Specifies global options for the console log files. These options can be
Expand Down Expand Up @@ -151,46 +150,46 @@ A conversion specifier is a two-character sequence beginning with
a '\fB%\fR' character. The second character in the sequence specifies the
type of conversion to be applied. The following specifiers are supported:
.TP
N
\fB%N\fR
The console name (from the \fBname\fR string).
.TP
D
\fB%D\fR
The console device basename (from the \fBdev\fR string),
with leading directory components removed.
.TP
P
\fB%P\fR
The daemon's process identifier.
.TP
Y
\fB%Y\fR
The year as a 4-digit number with the century.
.TP
y
\fB%y\fR
The year as a 2-digit number without the century.
.TP
m
\fB%m\fR
The month as a 2-digit number (01-12).
.TP
d
\fB%d\fR
The day of the month as a 2-digit number (01-31).
.TP
H
\fB%H\fR
The hour as a 2-digit number using a 24-hour clock (00-23).
.TP
M
\fB%M\fR
The minute as a 2-digit number (00-59).
.TP
S
\fB%S\fR
The seconds as a 2-digit number (00-61).
.TP
s
\fB%s\fR
The number of seconds since the Epoch.
.TP
%
\fB%%\fR
A literal '%' character.
.PP
The console name (\fB%N\fR) and device (\fB%D\fR) specifiers are "sanitized"
in that non-printable characters and the '\fB/\fR' character are replaced with
underscores.
in that non-printable characters and the forward-slash (/) character are
replaced with underscores.

.SH FILES
.I @CONMAN_CONF@
Expand Down

0 comments on commit 103dba7

Please sign in to comment.