sendcommand(8)

sendcommand8

Command sending utility for citadel

Usage

sendcommand [remotehost [remoteport]] Citadelcommand

Overview

Sendcommand connects to the given citserver, identifies itself as an internal programm [/doku.php/documentation:appproto:connection#ipgm.identify.as.an.internal.program] , and sends the Citadel Protocol Command you specified.

Options

SwitchResult
-w

Change the default watch dog timeout. Takes an integer argument. EG. -w50 will set the watchdog to 50 seconds

remotehost

if the citserver lives on another box, its name / ip; else the path to the unix-domain-socket. Defaults to the compiled in unix domain socket

remoteport

If you want to connect to citserver via TCP specify its port here

Citadelcommand

see http://www.citadel.org/doku.php/documentation:appproto:start [http://www.citadel.org/doku.php/documentation:appproto:start] for more details

Defaults

By default userlist connects to a citadel server located at 127.0.0.1 port 504

Examples

A call to sendcommand could look like that: .nf sendcommand IGAB sendcommand: started (pid=3021) running in citadel Attaching to server... Sample Citadel server ready. Authenticated as an internal program. IGAB 200 Directory has been rebuilt. sendcommand: processing ended. 200 Directory has been rebuilt. Youcanalsouseittoexport/importyourdatabase:.nf sendcommand ARTV export > /tmp/my_database.dump sendcommand ARTV import < /tmp/my_database.dump need to restore it to a Citserver of the same version)

Releases

Unchanged in 6 releases since Debian 5.0 (Lenny).

  1. 5.0–10

History

1987 - Now the Uncensored Communications Group

From citadel-server 917-2+b1 in Debian 10 (Buster). Parsed by carta from the page's man source.