fldigi-shell(1)

fldigi-shell1

Program for controlling fldigi

Usage

fldigi-shell [OPTIONS] [FILE]

Overview

The fldigi-shell program controls fldigi(1) over HTTP via XML-encoded remote procedure calls (XML-RPC). It can call any XML-RPC method exported by fldigi, and also defines some useful commands of its own.

Options

-d

Enable debug output.

-u URL

Use URL to access the server. Defaults to “http://localhost:7362/RPC2”, which corresponds to fldigi’s default listen address and port.

-c COMMAND

Execute command COMMAND and exit.

Commands

Note

The “x:yz” notation refers to the return type and argument type(s). They are: “n” (nil), “i” (integer), and “s” (string).

debug (n:n:)

Toggle debug output.

eval (s:s)

Evaluate Perl code.

exit (n:n)

Exit the shell.

help (n:n)

Print help for server (fldigi) methods and shell commands.

history (s:n)

Print command history.

modems (s:n)

List all modem names.

poll (s:i)

Poll for new received text every i seconds. Defaults to 1.

pskrqsy (n:si)

QSY to ith best frequency for grid s. The list of frequencies is retrieved from the PSK Reporter website; see RESOURCES. The grid square string may be left empty, and the index argument defaults to 0 (first frequency).

recvtext (s:n)

Get all received text.

reinit (n:n)

Fetch commands from the server and rebuild command list.

send (n:s)

Send text interactively, one line at a time.

sendchar (n:s)

Send text interactively, one character at a time.

sendfile (n:s)

Send text read from file s.

sendstr (n:s)

Send string s.

source (n:s)

Read commands from file s.

time (s:s)

Time a command.

wait (n:s)

Wait for server TRX state to become s.

Extended description

The shell has three modes of operation:

1. Interactive mode with history, tab completion and command line editing. This is the default mode when fldigi-shell is run without arguments.

2. Batch mode for a single command with the -c option.

3. Batch mode to “source” a file containing Perl code. Fldigi-shell commands can be called using “execute("COMMAND [ARG ...]")” calls.

Files

$HOME/.fldigi/shell-history

Contains the fldigi-shell command history.

Examples

while :; do fldigi-shell -c pskrqsy; sleep 900; done

Change to the “best frequency” (see PSK Reporter) every fifteen minutes.

Resources

Fldigi web site: http://www.w1hkj.com/Fldigi.html

The PSK Automatic Propagation Reporter site can be found at http://www.pskreporter.info/

The GNU Readline Library: http://directory.fsf.org/project/readline/

XML-RPC home page: http://www.xmlrpc.com/

Copying

License GPLv2+: GNU GPL version 2 or later.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

-c since Debian 7 (Wheezy); -d since Debian 7 (Wheezy); -u since Debian 7 (Wheezy).

Bugs

• Some additional command wrappers are needed.

• Command completion should be enabled for the arguments of some commands.

• The XML-RPC handling code should probably go in a separate module.

• It should be possible to pass multiple -c CMD arguments.

Author

Fldigi-shell and this manual page were written by Stelios Bounanos, M0GLD <sb[at]enotty(dot)net>.

From fldigi 3.22.01-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.