/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugins.d/password-prompt.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-08-29 05:53:59 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080829055359-wkdasnyxtylmnxus
* mandos.xml (EXAMPLE): Replaced all occurences of command name with
                        "&COMMANDNAME;".

* plugins.d/password-prompt.c (main): Improved some documentation
                                      strings.  Do perror() of
                                      tcgetattr() fails.  Add debug
                                      output if interrupted by signal.
                                      Loop over write() instead of
                                      using fwrite() when outputting
                                      password.  Add debug output if
                                      getline() returns 0, unless it
                                      was caused by a signal.  Add
                                      exit status code to debug
                                      output.

* plugins.d/password-prompt.xml: Changed all single quotes to double
                                 quotes for consistency.  Removed
                                 <?xml-stylesheet>.
  (ENTITY TIMESTAMP): New.  Automatically updated by Emacs time-stamp
                      by using Emacs local variables.
  (/refentry/refentryinfo/title): Changed to "Mandos Manual".
  (/refentry/refentryinfo/productname): Changed to "Mandos".
  (/refentry/refentryinfo/date): New; set to "&TIMESTAMP;".
  (/refentry/refentryinfo/copyright): Split copyright holders.
  (/refentry/refnamediv/refpurpose): Improved wording.
  (SYNOPSIS): Fix to use correct markup.  Add short options.
  (DESCRIPTION, OPTIONS): Improved wording.
  (OPTIONS): Improved wording.  Use more correct markup.  Document
             short options.
  (EXIT STATUS): Add text.
  (ENVIRONMENT): Document use of "cryptsource" and "crypttarget".
  (FILES): REMOVED.
  (BUGS): Add text.
  (EXAMPLE): Added some examples.
  (SECURITY): Added text.
  (SEE ALSO): Remove reference to mandos(8).  Add reference to
              crypttab(5).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY VERSION "1.0">
5
5
<!ENTITY COMMANDNAME "password-prompt">
6
 
<!ENTITY TIMESTAMP "2008-08-31">
 
6
<!ENTITY TIMESTAMP "2008-08-29">
7
7
]>
8
8
 
9
9
<refentry>
73
73
    <cmdsynopsis>
74
74
      <command>&COMMANDNAME;</command>
75
75
      <group choice="opt">
76
 
        <arg choice="plain"><option>--prefix <replaceable
 
76
        <arg choice="plain"><option>-p <replaceable
77
77
        >PREFIX</replaceable></option></arg>
78
 
        <arg choice="plain"><option>-p </option><replaceable
 
78
        <arg choice="plain"><option>--prefix </option><replaceable
79
79
        >PREFIX</replaceable></arg>
80
80
      </group>
81
 
      <sbr/>
82
81
      <arg choice="opt"><option>--debug</option></arg>
83
82
    </cmdsynopsis>
84
83
    <cmdsynopsis>
85
84
      <command>&COMMANDNAME;</command>
86
85
      <group choice="req">
 
86
        <arg choice="plain"><option>-?</option></arg>
87
87
        <arg choice="plain"><option>--help</option></arg>
88
 
        <arg choice="plain"><option>-?</option></arg>
89
88
      </group>
90
89
    </cmdsynopsis>
91
90
    <cmdsynopsis>
95
94
    <cmdsynopsis>
96
95
      <command>&COMMANDNAME;</command>
97
96
      <group choice="req">
 
97
        <arg choice="plain"><option>-V</option></arg>
98
98
        <arg choice="plain"><option>--version</option></arg>
99
 
        <arg choice="plain"><option>-V</option></arg>
100
99
      </group>
101
 
    </cmdsynopsis>
 
100
    </cmdsynopsis>    
102
101
  </refsynopsisdiv>
103
102
  
104
103
  <refsect1 id="description">
134
133
    
135
134
    <variablelist>
136
135
      <varlistentry>
137
 
        <term><option>--prefix=<replaceable
138
 
        >PREFIX</replaceable></option></term>
139
 
        <term><option>-p
140
 
        <replaceable>PREFIX</replaceable></option></term>
 
136
        <term><option>-p</option> <replaceable>PREFIX</replaceable
 
137
        ></term>
 
138
        <term><option>--prefix=</option><replaceable
 
139
        >PREFIX</replaceable></term>
141
140
        <listitem>
142
141
          <para>
143
142
            Prefix string shown before the password prompt.
157
156
      </varlistentry>
158
157
      
159
158
      <varlistentry>
 
159
        <term><option>-?</option></term>
160
160
        <term><option>--help</option></term>
161
 
        <term><option>-?</option></term>
162
161
        <listitem>
163
162
          <para>
164
163
            Gives a help message about options and their meanings.
176
175
      </varlistentry>
177
176
      
178
177
      <varlistentry>
 
178
        <term><option>-V</option></term>
179
179
        <term><option>--version</option></term>
180
 
        <term><option>-V</option></term>
181
180
        <listitem>
182
181
          <para>
183
182
            Prints the program version.
184
183
          </para>
185
184
        </listitem>
186
 
      </varlistentry>
 
185
      </varlistentry>            
187
186
    </variablelist>
188
187
  </refsect1>
189
188
  
240
239
    <para>
241
240
      None are known at this time.
242
241
    </para>
243
 
  </refsect1>
 
242
  </refsect1>  
244
243
  
245
244
  <refsect1 id="example">
246
245
    <title>EXAMPLE</title>