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

Revision 2824, 5.0 kB (checked in by jerome, 18 years ago)

Fixed pknotify's documentation again. I think I'm tired...

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
62Indique �knotify d'envoyer un message demandant
63�'application PyKotIcon de quitter. Cette option
64peut �e combin�avec les autres pour faire en
65sort que PyKotIcon quitte apr�avoir renvoy�a
66r�nse de la boite de dialogue.
67.TP
68\fB\-t\fR | \fB\-\-timeout\fR T
69Indique �knotify d'ignorer la r�nse venant de
70l'utilisateur s'il a mis plus de T secondes ��ndre apr�que la boite de dialogue ait �
71ouverte. La valeur par d�ut est 0 seconde, qui
72indique �knotify d'attendre ind�niment.
73Utilisez cette option pour �ter qu'un
74utilisateur qui a quitt�on ordinateur ne
75bloque inutilement la file d'impression.
76.IP
77You MUST specify either \fB\-\-ask\fR, \fB\-\-confirm\fR, \fB\-\-notify\fR or \fB\-\-quit\fR.
78.IP
79arguments :
80.HP
81\fB\-a\fR | \fB\-\-ask\fR : Several arguments are accepted, or the form
82.IP
83"label:varname:defaultvalue". The result will
84be printed to stdout in the following format :
85VAR1NAME=VAR1VALUE
86VAR2NAME=VAR2VALUE
87\&...
88If the dialog was cancelled, nothing will be
89printed. If one of the varname is 'password'
90then this field is asked as a password (you won't
91see what you type in), and is NOT printed. Although
92it is not printed, it will be used to check if
93authentication is valid if you specify \fB\-\-checkauth\fR.
94.TP
95\fB\-c\fR | \fB\-\-confirm\fR : A single argument is expected, representing the
96message to display. If the dialog is confirmed
97then pknotify will print OK, else CANCEL.
98.TP
99\fB\-n\fR | \fB\-\-notify\fR : A single argument is expected, representing the
100message to display. In this case pknotify will
101always print OK.
102.PP
103examples :
104.IP
105pknotify \fB\-d\fR client:7654 \fB\-\-confirm\fR "This job costs :
106.PP
10710 credits !"
108.IP
109Would display the cost of a print job and asks for confirmation.
110.IP
111pknotify \fB\-\-destination\fR $PYKOTAJOBORIGINATINGHOSTNAME:7654 \e
112.IP
113\fB\-\-checkauth\fR \fB\-\-ask\fR "Your name:username:" "Your password:password:"
114.IP
115Asks an username and password, and checks if they are valid.
116NB : The PYKOTAJOBORIGINATINGHOSTNAME environment variable is
117only set if you launch pknotify from cupspykota through a directive
118in ~pykota/pykota.conf
119.IP
120The TCP port you'll use must be reachable on the client from the
121print server.
122.PP
123This program is free software; you can redistribute it and/or modify
124it under the terms of the GNU General Public License as published by
125the Free Software Foundation; either version 2 of the License, or
126(at your option) any later version.
127.PP
128This program is distributed in the hope that it will be useful,
129but WITHOUT ANY WARRANTY; without even the implied warranty of
130MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
131GNU General Public License for more details.
132.PP
133You should have received a copy of the GNU General Public License
134along with this program; if not, write to the Free Software
135Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301, USA.
136.PP
137Merci d'envoyer les rapports de bugs � Jerome Alet \- alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.