root / pykota / trunk / man / fr / pknotify.1 @ 2823

Revision 2823, 4.8 kB (checked in by jerome, 18 years ago)

Fixed pknotify's documentation again

Line 
1.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
2.TH PKNOTIFY "1" "mars 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"
3.SH NOM
4pknotify \- page de manuel de pknotify 1.24beta_unofficial
5.SH DESCRIPTION
6pknotify v1.24beta_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com
7.PP
8Notifie ou pose des questions aux utilisateurs finaux qui ont lanc�'application PyKotIcon.
9.PP
10ligne de commande :
11.TP
12pknotify
13[options]  [arguments]
14.PP
15options :
16.TP
17\fB\-v\fR | \fB\-\-version\fR
18Affiche le num� de version de pknotify et quitte.
19.TP
20\fB\-h\fR | \fB\-\-help\fR
21Affiche ce message et quitte.
22.TP
23\fB\-d\fR | \fB\-\-destination\fR h[:p]
24Indique l'h�destination et le port optionel
25sur lesquels contacter l'application distante
26PyKotIcon. Cette option est obligatoire.
27S'il n'est pas sp�fi�le port par d�ut
28est 7654.
29.TP
30\fB\-a\fR | \fB\-\-ask\fR
31Indique �knotify de demander quelque chose �'utilisateur distant. Ensuite pknotify va
32afficher le r�ltat.
33.TP
34\fB\-C\fR | \fB\-\-checkauth\fR
35Quand \fB\-\-ask\fR est utilis�t qu'�a fois un
36champ 'username' et un champ 'password' sont
37demand��'utilisateur final, alors pkotify
38tentera d'authentifier l'utilisateur avec
39PAM. Si l'authentification r�sit, ce programme
40affichera "AUTH=YES", sinon "AUTH=NO".
41Si un champ manque, "AUTH=IMPOSSIBLE" sera
42affich�Si l'utilisateur est authentifi�alors
43"USERNAME=xxxx" sera �lement affich�.TP
44\fB\-c\fR | \fB\-\-confirm\fR
45Indique �knotify de demander si l'utilisateur
46veut confirmer ou annuler.
47.TP
48\fB\-D\fR | \fB\-\-denyafter\fR N
49Avec l'option \fB\-\-checkauth\fR ci\-dessus, indique �knotify de faire jusqu'� tentatives tant que
50le mot de passe est incorrect.
51Apr�avoir atteint la limite, "DENY" sera
52affich�ce qui rejettera en fait le travail.
53La valeur par d�ut de N est 1, qui indique
54que le travail sera rejet��la premi�
55tentative infructueuse.
56.TP
57\fB\-n\fR | \fB\-\-notify\fR
58Indique �knotify d'envoyer un message
59d'information �'utilisateur final.
60.TP
61\fB\-q\fR | \fB\-\-quit\fR
62Tells pknotify to send a message asking the
63PyKotIcon application to exit. This option can
64be combined with the other ones to make PyKotIcon
65exit after having sent the answer from the dialog.
66.TP
67\fB\-t\fR | \fB\-\-timeout\fR T
68Tells pknotify to ignore the end user's answer if
69it comes pas T seconds after the dialog box being
70opened. The default value is 0 seconds, which
71tells pknotify to wait indefinitely.
72Use this option to avoid having an user who
73leaved his computer stall a whole print queue.
74.IP
75You MUST specify either \fB\-\-ask\fR, \fB\-\-confirm\fR, \fB\-\-notify\fR or \fB\-\-quit\fR.
76.IP
77arguments :
78.HP
79\fB\-a\fR | \fB\-\-ask\fR : Several arguments are accepted, or the form
80.IP
81"label:varname:defaultvalue". The result will
82be printed to stdout in the following format :
83VAR1NAME=VAR1VALUE
84VAR2NAME=VAR2VALUE
85\&...
86If the dialog was cancelled, nothing will be
87printed. If one of the varname is 'password'
88then this field is asked as a password (you won't
89see what you type in), and is NOT printed. Although
90it is not printed, it will be used to check if
91authentication is valid if you specify \fB\-\-checkauth\fR.
92.TP
93\fB\-c\fR | \fB\-\-confirm\fR : A single argument is expected, representing the
94message to display. If the dialog is confirmed
95then pknotify will print OK, else CANCEL.
96.TP
97\fB\-n\fR | \fB\-\-notify\fR : A single argument is expected, representing the
98message to display. In this case pknotify will
99always print OK.
100.PP
101examples :
102.IP
103pknotify \fB\-d\fR client:7654 \fB\-\-confirm\fR "This job costs :
104.PP
10510 credits !"
106.IP
107Would display the cost of a print job and asks for confirmation.
108.IP
109pknotify \fB\-\-destination\fR $PYKOTAJOBORIGINATINGHOSTNAME:7654 \e
110.IP
111\fB\-\-checkauth\fR \fB\-\-ask\fR "Your name:username:" "Your password:password:"
112.IP
113Asks an username and password, and checks if they are valid.
114NB : The PYKOTAJOBORIGINATINGHOSTNAME environment variable is
115only set if you launch pknotify from cupspykota through a directive
116in ~pykota/pykota.conf
117.IP
118The TCP port you'll use must be reachable on the client from the
119print server.
120.PP
121This program is free software; you can redistribute it and/or modify
122it under the terms of the GNU General Public License as published by
123the Free Software Foundation; either version 2 of the License, or
124(at your option) any later version.
125.PP
126This program is distributed in the hope that it will be useful,
127but WITHOUT ANY WARRANTY; without even the implied warranty of
128MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
129GNU General Public License for more details.
130.PP
131You should have received a copy of the GNU General Public License
132along with this program; if not, write to the Free Software
133Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301, USA.
134.PP
135Merci d'envoyer les rapports de bugs � Jerome Alet \- alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.