aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nngcat.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-03-13 21:15:40 -0700
committerGarrett D'Amore <garrett@damore.org>2018-03-13 21:15:40 -0700
commit7092fa31f447d1750dc560cea49052b3e4f57620 (patch)
tree91c3db0254defa7d4756065b8d25963a7e5a3ae0 /docs/man/nngcat.adoc
parente51a97112ff7744aff81764e63e07db0c1fb68a2 (diff)
downloadnng-7092fa31f447d1750dc560cea49052b3e4f57620.tar.gz
nng-7092fa31f447d1750dc560cea49052b3e4f57620.tar.bz2
nng-7092fa31f447d1750dc560cea49052b3e4f57620.zip
Introduce nng_options, nng_setopt, nng_getopt manual pages.
This starts a new section 5 for generic topics, and sets up some links for things like nng_duration and nng_socket types. There will some day be an nng_errors(5) page as well. Some initial work towards indexing terms for these pages is done now too. (Indexing will mostly be useful when generating book forms of this documentation.)
Diffstat (limited to 'docs/man/nngcat.adoc')
-rw-r--r--docs/man/nngcat.adoc16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/man/nngcat.adoc b/docs/man/nngcat.adoc
index 4b5de355..18b4c359 100644
--- a/docs/man/nngcat.adoc
+++ b/docs/man/nngcat.adoc
@@ -23,7 +23,7 @@ nngcat - command line access to Scalabity Protocols
== DESCRIPTION
-The _nngcat_ utility provides command line access to the Scalability
+The ((_nngcat_)) utility provides command line access to the Scalability
Protocols, making it possible to write shell scripts that interact
with other peers in a Scalability Protocols topology, by both sending and
receiving messages.
@@ -61,7 +61,8 @@ each option must be presented as a separate argument to the program.
*-q, --silent*::
Select silent operation.
*--compat*::
- Compatible mode. This cause _nngcat_ to behave more like the legacy
+ Compatible mode. (((compatible mode)))
+ This cause _nngcat_ to behave more like the legacy
_nanocat_ application. In this mode connections are made asynchronously,
and the *--pair* option selects version 0 of the <<nng_pair#,nng_pair(7)>>
protocol instead of version 1.
@@ -173,14 +174,16 @@ options can only be specified when using a protocol that receives messages.
`raw`:::
Raw output, every byte received is sent to standard output.
`ascii`:::
- ASCII safe, printable ASCII is emitted verbatim, with other bytes
+ ((ASCII)) safe, printable ASCII is emitted verbatim, with other bytes
substituted with `.` (period).
`quoted`:::
- Messages are printed as quoted strings, using C language conventions.
+ Messages are printed as ((quoted)) strings, using C language conventions.
`hex`:::
- Messages are printed as quoted strings, with every byte appearing as
- an escaped hexadecimal value, such as `\x2E`.
+ (((hex))) Messages are printed as quoted strings, with every byte appearing
+ as an escaped hexadecimal value, such as `\x2E`.
`msgpack`:::
+ (((msgpack)))
+ (((MessagePack)))
Messages are emitted as https://msgpack.org[MessagePack] "bin format"
(byte arrays).
@@ -280,6 +283,7 @@ $ nngcat --sub --dial=${addr} --quoted &
== SEE ALSO
+[.text-left]
<<libnng#,libnng(3)>>,
<<nng#,nng(7)>>,
<<nng_bus#,nng_bus(7)>>,