Add a (small) banner to the Debug and Telnet CLI 70/870/3
authorChris Luke <chrisy@flirble.org>
Mon, 25 Apr 2016 17:49:07 +0000 (13:49 -0400)
committerDave Barach <openvpp@barachs.net>
Wed, 27 Apr 2016 13:32:48 +0000 (13:32 +0000)
commit572d81213a216fd8e86f17e0b8a6bb72479c893f
tree4cdabe54b6e8957057294b04e0a4ad9f80829fd7
parent0aca5eb1b88524fc8e988deb6488d14c092b0137
Add a (small) banner to the Debug and Telnet CLI

    _______    _        _   _____  ___
 __/ __/ _ \  (_)__    | | / / _ \/ _ \
 _/ _// // / / / _ \   | |/ / ___/ ___/
 /_/ /____(_)_/\___/   |___/_/  /_/

- For terminals that look like they support ANSI output the FD.io
  part is colored red.
- This is only shown at the start of a debug CLI or a telnet CLI
  session.
- This banner can be disabled with "cli-no-banner" in the "unix"
  section of the startup config file.

Change-Id: I085b3780dcca3eae546859dbde6c1c34c8258b9f
Signed-off-by: Chris Luke <chrisy@flirble.org>
vlib/vlib/unix/cli.c
vlib/vlib/unix/main.c
vlib/vlib/unix/unix.h