FRR should have bracketed paste forcibly turned off in the next release, thanks for bringing this to our attention.

Quentin

From: frog <frog-bounces@lists.frrouting.org> on behalf of Mark Kamichoff <prox@prolixium.com>
Sent: Saturday, February 6, 2021 9:38 PM
To: mike tancsa <mike@sentex.net>
Cc: frog@lists.frrouting.org <frog@lists.frrouting.org>
Subject: Re: [FROG] readline 8.1 and bracketed pasting in vtysh
 
External email: Use caution opening links or attachments


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@prolixium.com
https://www.prolixium.com/

_______________________________________________
frog mailing list
frog@lists.frrouting.org
https://lists.frrouting.org/listinfo/frog