[FROG] readline 8.1 and bracketed pasting in vtysh

Quentin Young qlyoung at nvidia.com
Mon Feb 8 19:24:57 UTC 2021


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

Quentin
________________________________
From: frog <frog-bounces at lists.frrouting.org> on behalf of Mark Kamichoff <prox at prolixium.com>
Sent: Saturday, February 6, 2021 9:38 PM
To: mike tancsa <mike at sentex.net>
Cc: frog at lists.frrouting.org <frog at 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 at prolixium.com
https://www.prolixium.com/

_______________________________________________
frog mailing list
frog at lists.frrouting.org
https://lists.frrouting.org/listinfo/frog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20210208/f3ca3529/attachment.htm>


More information about the frog mailing list