.TH "pcontrol" "1" "" "" "" .SH "NAME" pcontrol \- Send commands to running pproxy or pserv .SH "SYNOPSIS" .B "pcontrol" [\-c \fBCMD\fR, --command=\fBCMD\fR] [\-s \fBFILE\fR, --socket=\fBFILE\fR] [\-p \fBPRG\fR, --program=\fBPRG\fR] [\-q, --quiet] [\-v, --verbose] [\-i, --ignore-errors] [\--help] [\--version] FILE\&.\&.\&. .SH "DESCRIPTION" .PP With \fBpcontrol\fR commands can be send to the running \fBpproxy\fR or \fBpserv\fR server\&. If no files are given on the command line and the --command option is not used, commands are read interactively from the terminal\&. If GNU readline support is compiled in, it will be used\&. .PP If one or more filenames are given on the command line, these files are read in order and all lines are send to the server\&. Lines beginning with \&'#\&' are ignored\&. \&'-\&' can be used to read from STDIN\&. .PP If the --command option is used, the command after --command is send to the server\&. .PP If neither the --program nor the --socket option is given, the program will look for the socket of a running \fBpproxy\fR and if that is not found for the socket of a running \fBpserv\fR\&. .PP Start the program in interactive mode and type \&'/h\&' for more information about possible commands, parameters and return codes\&. .SH "OPTIONS" .TP -c \fBCMD\fR, --command=\fBCMD\fR Send CMD to server instead of reading them from the named files\&. .TP -s \fBFILE\fR, --socket=\fBFILE\fR Open FILE as control socket to server\&. This option can not be used together with --program\&. .TP -p \fBPRG\fR, --program=\fBPRG\fR Open control socket to program PRG\&. The corresponding socket in \fB/var/run/popular\fR will be used\&. This option can not be used together witch --socket\&. .TP -q, --quiet Don\&'t print answer messages from server\&. .TP -v, --verbose Print messages as they are sent to the server\&. .TP -i, --ignore-errors Ignore errors from server\&. Without this option the program is terminated after the first error and a corresponding return code is set\&. .TP --help Print short help screen\&. .TP --version Print version information\&. .SH "SEE ALSO" .PP pcheck(1), pcheckd(8), pclean(8), pdeliver(1), pproxy(8), pserv(8), pstatus(1), ptestpdm(1), The POPular Manual .SH "AUTHOR" .PP Jochen Topf jochen@remote\&.org .PP \fB http://www\&.remote\&.org/jochen/mail/popular/ \fR .SH "COPYRIGHT" .PP The POPular suite is copyright (C) 1999-2002 by Jochen Topf jochen@remote\&.org\&. .PP This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&. .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License for more details\&. .PP You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc\&., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA