[FROG] readline 8.1 and bracketed pasting in vtysh
Mark Kamichoff
prox at prolixium.com
Sun Feb 7 02:38:48 UTC 2021
On Fri, Feb 05, 2021 at 04:29:24PM -0500, mike tancsa wrote:
> On FreeBSD at least, for the port (devel/readline) I added
>
> CONFIGURE_ARGS= --disable-bracketed-paste-default
>
> to disable it by default.
This seems like a good workaround but I also found another one. Add
this to your ~/.inputrc:
set enable-bracketed-paste Off
Then start vtysh again. Pasting should work properly. However, if
you're using sudo you will have to start vtysh using sudo -E because
without the -E your user's ~/.inputrc won't be read (this threw me off
initially).
I opened up a bug because I don't think bracketed paste will ever be
suitable for folks using vtysh to interact with FRR:
https://github.com/FRRouting/frr/issues/8029
- Mark
--
Mark Kamichoff
prox at prolixium.com
https://www.prolixium.com/
More information about the frog
mailing list