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