Skip to content
Viktor Kertesz edited this page Jul 26, 2018 · 2 revisions

Configuration

You may copy the included example clicol.cfg to your home directory ($HOME or ~) and edit it to fit your needs. All help can be found in the included file.

Usage

Starting clicol

You can start the script in these forms:

 clicol-{telnet|ssh} [--c {colormap regex}] [args]
 clicol-file         [--c {colormap regex}] {inputfile}
 clicol-cmd          [--c {colormap regex}] {command} [args]
 clicol-test         {colormap regex}

colormap regex is like '.*' or 'cisco_if|juniper_if'
'.*' will display all known and read regexes with examples so you can check which is needed and you can specify your own set of regexes you might need. To make your list final, you can configure your regex list in clicol.cfg with regex=.... parameter.

Using clicol

By default clicol will use all default regex list and start by coloring at once.

You can give commands to clicol at runtime with break key CTRL-\

Then this small help will be shown:

CLICOL: q:quit,p:pause,T:highlight,F1-12,SF1-8:shortcuts,h-help

Here a command can be given to clicol:

q: quit clicol
p: pause coloring (turn on/off)
T: highlight regex (empty turns off) - You can specify a regex which will be highlighted. Useful for checking logs, dumps
F1-F12: clicol will send preconfigured text instead of you. See help command to list shortcuts.
h: print more verbose help
Clone this wiki locally