|author||Yasufumi Ogawa <email@example.com>||2019-08-12 16:12:42 +0900|
|committer||Yasufumi Ogawa <firstname.lastname@example.org>||2019-08-13 17:08:08 +0900|
cli: revise description for imgcat
This update is to revise how to setup 3rd party tool `imgcat` for iTerm2 on MacOS. Signed-off-by: Yasufumi Ogawa <email@example.com>
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/guides/commands/experimental.rst b/docs/guides/commands/experimental.rst
index 576d11e..c328c73 100644
@@ -27,7 +27,7 @@ Support four types of output.
This command uses `graphviz
-gfor generating topology file.
+for generating topology file.
You can also generate a dot formatted file or image files supported by
@@ -40,8 +40,9 @@ to output in a terminal.
-MacOS is also supported optionally for using SPP CLI runs on a remote host.
-In this case, iTerm2 and imgcat are required.
+MacOS is also supported optionally for using topo runs on a remote host.
+In this case, iTerm2 and imgcat are required as described in the next
To output in browser with ``topo http`` command, install required packages
by using ``requirements.txt`` as described in
@@ -62,16 +63,18 @@ Output an image of network configuration in terminal.
spp > topo term
-There are few terminal applications to output image with ``topo``.
+There are few terminal applications supporting to output image with ``topo``.
You can use mlterm, xterm or other terminals supported by `img2sixel
You can also use `iTerm2
<https://iterm2.com/index.html>`_ on MacOS.
-If you use iTerm2, you have to get a shell script
+If you use iTerm2, you need to downloada a shell script
``imgcat`` from `iTerm2's displaying support site
and save this script as
+``src/controller/3rd_party/imgcat`` with permission ``775``.
+``topo`` command tries to ``img2sixel`` first, then ``imgcat``
+in the ``3rd_party`` directory.