root / pykota / trunk / man / pknotify.1 @ 2804

Revision 2779, 3.1 kB (checked in by jerome, 18 years ago)

pknotify now works just fine with PyKotIcon? and is 100% generic.

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