From patchwork Sun Jan 12 16:33:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 239489 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Sun, 12 Jan 2020 17:33:37 +0100 Subject: [PATCH 0/2] cli: allow verbatim character entry with CTRL-v Message-ID: <20200112163339.218205-1-xypron.glpk@gmx.de> Up to now the U-Boot console does not allow to add a control character to the line buffer. In Bash and Vim we can use CTRL-v for this purpose. Add support for CTRL-v for verbatim entry of characters. Heinrich Schuchardt (2): cli: allow verbatim character entry with CTRL-v test: verbatim character entry with CTRL-V common/cli_readline.c | 38 ++++++++++- test/dm/Makefile | 2 +- test/dm/usb_console.c | 151 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 187 insertions(+), 4 deletions(-) create mode 100644 test/dm/usb_console.c --- 2.24.1