commit | 126b0e7c2915fb7ec3e5f72e625433a83568c7d6 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Fri Nov 18 14:40:41 2016 +0000 |
committer | Paul Jakma <paul@quagga.net> | Mon Jan 23 17:20:51 2017 +0000 |
tree | c864b9af705854b133a96a417057b5605ff4b37d | |
parent | f5a4488a0dda521f19e96f2615f4a8b134c5878b [diff] |
vty: Add ctrl-v <literal> to allow, e.g., '?' to be input for regex * Support the standard ctrl-v <literal> control sequence. Otherwise there is no way to do this from the venerable telnet vty. vtysh supports this (configurably) via readline. * lib/vty.c: (VTY_ESC_LITERAL) New mode, for ctrl-v. (vty_read) Additional mode to go ctrl-v -> VTY_ESC_LITERAL, and always insert next char. Acked-by: Vincent.Jardin@6wind.com