[2778] | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35. |
---|
| 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.24alpha15_unofficial |
---|
| 5 | .SH DESCRIPTION |
---|
| 6 | pknotify v1.24alpha15_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com |
---|
| 7 | .PP |
---|
| 8 | Notifies or ask questions to end users who launched the PyKotIcon application. |
---|
| 9 | .PP |
---|
| 10 | command line usage : |
---|
| 11 | .TP |
---|
| 12 | pknotify |
---|
| 13 | [options] [arguments] |
---|
| 14 | .PP |
---|
| 15 | options : |
---|
| 16 | .TP |
---|
| 17 | \fB\-v\fR | \fB\-\-version\fR |
---|
| 18 | Prints pkbanner's version number then exits. |
---|
| 19 | .TP |
---|
| 20 | \fB\-h\fR | \fB\-\-help\fR |
---|
| 21 | Prints this message then exits. |
---|
[2779] | 22 | .TP |
---|
| 23 | \fB\-d\fR | \fB\-\-destination\fR h[:p] |
---|
| 24 | Sets the destination hostname and optional |
---|
| 25 | port onto which contact the remote PyKotIcon |
---|
| 26 | application. This option is mandatory. |
---|
| 27 | When not specified, the port defaults to 7654. |
---|
| 28 | .TP |
---|
| 29 | \fB\-a\fR | \fB\-\-ask\fR |
---|
| 30 | Tells pknotify to ask something to the end |
---|
| 31 | user. Then pknotify will output the result. |
---|
| 32 | .TP |
---|
| 33 | \fB\-c\fR | \fB\-\-confirm\fR |
---|
| 34 | Tells pknotify to ask for either a confirmation |
---|
| 35 | or abortion. |
---|
| 36 | .TP |
---|
| 37 | \fB\-n\fR | \fB\-\-notify\fR |
---|
| 38 | Tells pknotify to send an informational message |
---|
| 39 | message to the end user. |
---|
| 40 | .TP |
---|
| 41 | \fB\-q\fR | \fB\-\-quit\fR |
---|
| 42 | Tells pknotify to send a message asking the |
---|
| 43 | PyKotIcon application to exit. This option can |
---|
| 44 | be combined with the other ones to make PyKotIcon |
---|
| 45 | exit after having sent the answer from the dialog. |
---|
| 46 | .IP |
---|
| 47 | You MUST specify either \fB\-\-ask\fR, \fB\-\-confirm\fR, \fB\-\-notify\fR or \fB\-\-quit\fR. |
---|
| 48 | .IP |
---|
| 49 | arguments : |
---|
| 50 | .HP |
---|
| 51 | \fB\-a\fR | \fB\-\-ask\fR : Several arguments are accepted, or the form |
---|
| 52 | .IP |
---|
| 53 | "label:varname:defaultvalue". The result will |
---|
| 54 | be printed to stdout in the following format : |
---|
| 55 | VAR1NAME=VAR1VALUE |
---|
| 56 | VAR2NAME=VAR2VALUE |
---|
| 57 | \&... |
---|
| 58 | If the dialog was cancelled, nothing will be |
---|
| 59 | printed. If one of the varname is 'password' |
---|
| 60 | then this field is asked as a password (you won't |
---|
| 61 | see what you type in). |
---|
| 62 | .TP |
---|
| 63 | \fB\-c\fR | \fB\-\-confirm\fR : A single argument is expected, representing the |
---|
| 64 | message to display. If the dialog is confirmed |
---|
| 65 | then pknotify will print OK, else CANCEL. |
---|
| 66 | .TP |
---|
| 67 | \fB\-n\fR | \fB\-\-notify\fR : A single argument is expected, representing the |
---|
| 68 | message to display. In this case pknotify will |
---|
| 69 | always print OK. |
---|
[2778] | 70 | .PP |
---|
[2779] | 71 | examples : |
---|
| 72 | .IP |
---|
| 73 | pknotify \fB\-d\fR client:7654 \fB\-\-confirm\fR "This job costs : |
---|
| 74 | .PP |
---|
| 75 | 10 credits !" |
---|
| 76 | .IP |
---|
| 77 | would display the cost of a print job and asks for confirmation. |
---|
| 78 | .PP |
---|
[2778] | 79 | This program is free software; you can redistribute it and/or modify |
---|
| 80 | it under the terms of the GNU General Public License as published by |
---|
| 81 | the Free Software Foundation; either version 2 of the License, or |
---|
| 82 | (at your option) any later version. |
---|
| 83 | .PP |
---|
| 84 | This program is distributed in the hope that it will be useful, |
---|
| 85 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 86 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 87 | GNU General Public License for more details. |
---|
| 88 | .PP |
---|
| 89 | You should have received a copy of the GNU General Public License |
---|
| 90 | along with this program; if not, write to the Free Software |
---|
| 91 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301, USA. |
---|
| 92 | .PP |
---|
| 93 | V�igen rapportera buggar till : Jerome Alet \- alet@librelogiciel.com |
---|