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