Up: Interactive Mode   [Contents][Index]

7.2.1 Smapc Command Summary

This subsection lists all available smapc commands along with their short description and a reference to the part of this manual where they are described in detail. The command names are given without prefix.

smapc: annotate [bool]

Without arguments, displays current status of annotations (see annotation). If bool is true, enables annotations. If it is false, disables it.

Allowed values for true are: true, t , yes, on. Allowed values for false are: false, nil, no, off.

smapc: close

Close previously opened connection.

smapc: debug spec

Sets the debug level. See debugging, for a description of spec.

smapc: help

Display short command usage summary.

smapc: history

Prints the history of recently issued commands.

smapc: nomap

Clear the default map name. After this command, map names must be given explicitly with each query. See nomap.

smapc: map [name]

Set the default map name. Without arguments, print the name of the map currently in use. See smapc-defmap.

smapc: open url

Open connection to socket map server at the given url. See smapc-open.

smapc: server

Show URL of the currently opened connection.

smapc: source [ip]

With argument, sets the source address for outgoing queries. Without argument, displays currently used source address.

smapc: prefix [char]

If char is given, sets it as the command prefix. If called without arguments, displays the currently selected command prefix.

smapc: prompt [string]

Redefines the command prompt. Without arguments, prints the current prompt.

smapc: quit

Quits interactive mode.

smapc: quiet bool

This command command toggles the display of smapc startup banner. When started, smapc prints a short list of information useful for beginning users: the program version and warranty conditions and a command to get help, e.g.:

smapc (smap) 2.1
Copyright (C) 2010 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Type ? for help summary

(smapc) _

If you find this output superfluous and useless, you can suppress it by setting

quiet yes

in your initialization file.

smapc: version

Displays the package name and version number.

smapc: warranty

Displays the copyright statement.

Up: Interactive Mode   [Contents][Index]