[FROG] readline 8.1 and bracketed pasting in vtysh
mike tancsa
mike at sentex.net
Tue Feb 2 16:51:18 UTC 2021
On 2/1/2021 10:27 PM, Mark Kamichoff wrote:
> tl;dr readline 8.1 turns on bracketed paste and appears to break
> multi-line pasting in vtysh
>
Actually, it seems more broken than that for me. If I do something
simple like
127{testrouter-2021}# vtysh
Hello, this is FRRouting (version 7.5).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
testrouter-2021# sh run
Building configuration...
Current configuration:
!
frr version 7.5
frr defaults traditional
hostname testrouter-2021
service integrated-vtysh-config
!
line vty
!
end
testrouter-2021# wr
Note: this version of vtysh never writes vtysh.conf
Warning: attempting direct configuration write without watchfrr.
File permissions and ownership may be incorrect, or write may fail.
Building Configuration...
Integrated configuration saved to /usr/local/etc/frr/frr.conf
[OK]
testrouter-2021# conf t
testrouter-2021(config)# router bgp 65666
testrouter-2021(config-router)# nei 192.168.1.1 remote-as 65667
testrouter-2021(config-router)# address-family ipv4 unicast
testrouter-2021(config-router-af)# nei 192.168.1.1 route-map TESTOUT out
The route-map 'TESTOUT' does not exist.
testrouter-2021(config-router-af)# exit
testrouter-2021(config-router)# exit
testrouter-2021(config)# route-map TESTOUT permit 10
testrouter-2021(config-route-map)# set as-path prepend 65666
testrouter-2021(config-route-map)# exit
testrouter-2021(config)# router bgp 65666
testrouter-2021(config-router)# address-family ipv4 unicast
testrouter-2021(config-router-af)# nei 192.168.1.1 route-map TESTOUT out
testrouter-2021# wr
Note: this version of vtysh never writes vtysh.conf
Warning: attempting direct configuration write without watchfrr.
File permissions and ownership may be incorrect, or write may fail.
Building Configuration...
Integrated configuration saved to /usr/local/etc/frr/frr.conf
[OK]
testrouter-2021# exit
0{testrouter-2021}# /usr/local/etc/rc.d/frr stop
Stopping bgpd.
Waiting for PIDS: 6135.
Stopping staticd.
Waiting for PIDS: 6130.
Stopping zebra.
Waiting for PIDS: 6125.
0{testrouter-2021}# /usr/local/etc/rc.d/frr start
Checking intergrated config...
Checking vtysh.conf
OK
Starting zebra.
2021/02/02 11:48:37 ZEBRA: [EC 4043309111] Disabling MPLS support (no
kernel support)
Starting staticd.
Starting bgpd.
Booting for integrated-vtysh-config...
The route-map 'TESTOUT' does not exist.
0{testrouter-2021}#
0{testrouter-2021}# vtysh
Hello, this is FRRouting (version 7.5).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
testrouter-2021# sh run
Building configuration...
Current configuration:
!
frr version 7.5
frr defaults traditional
hostname testrouter-2021
service integrated-vtysh-config
!
router bgp 65666
neighbor 192.168.1.1 remote-as 65667
!
address-family ipv4 unicast
neighbor 192.168.1.1 route-map TESTOUT out
exit-address-family
!
route-map TESTOUT permit 10
set as-path prepend 65666
!
line vty
!
end
testrouter-2021#
0{testrouter-2021}# pkg info | grep -i readline
readline-8.0.4_1 Library for editing command lines as they
are typed
0{testrouter-2021}#
More information about the frog
mailing list