[j-nsp] Junos 21+ Killing Finger Muscle Memory...
Jake Khuon
khuon at neebu.net
Thu Jul 27 02:36:40 EDT 2023
On July 26, 2023 7:15:55 PM PDT, Chris Lee via juniper-nsp <juniper-nsp at puck.nether.net> wrote:
>Hi Jeff,
>
>Any chance the CLI could make use of repeated presses of the TAB key to
>cycle through the completion options ?
>
>For instance in the newer 21.x release for EX switches I note a
>"synchronous-ethernet" option under the show level, and my muscle memory
>for "show system" was reduced down to "show sy" - so could the CLI say show
>the "sy is ambiguous" option upon the first TAB press, but when you press
>TAB again it then autocompletes "synchronous-ethernet" and another TAB
>press to autocomplete "system" ?
>
>root> show sy
> ^
>'sy' is ambiguous.
>Possible completions:
> synchronous-ethernet Show synchronous ethernet related information
> system Show system information
>{master:0}
>root>
>
>Regards,
>Chris
>
>On Wed, Jul 12, 2023 at 11:45 PM Jeff Haas via juniper-nsp <
>juniper-nsp at puck.nether.net> wrote:
>
>> You don't need to tell my fingers that. __
>>
>> With the infrastructure as it is, the only "solution" is we stop adding
>> things. Good luck with that.
>>
>> The general here is the explosion of keywords. I have about 15 features
>> sitting in my backlog that are small things to do to bgp policy. The
>> policy stanza is already a mess.
>>
>> ... and that's not including the work to let users match on flowspec
>> filter components.
>>
>> The CLI could be taught to not include certain auto-completions as a
>> user-profile, locally, with hints from TACACS, etc... but it means we get
>> into an inconsistent user experience.
>>
>> Feel free to spend some collective thinking time on what a "this would
>> suck less" solution would look like. I suspect that the competing opinions
>> on what to do will eventually involve a cage fight match.
>>
>> -- Jeff
>>
>>
>> On 7/12/23, 9:39 AM, "juniper-nsp on behalf of Chris Wopat via
>> juniper-nsp" <juniper-nsp-bounces at puck.nether.net <mailto:
>> juniper-nsp-bounces at puck.nether.net> on behalf of
>> juniper-nsp at puck.nether.net <mailto:juniper-nsp at puck.nether.net>> wrote:
>>
>>
>> [External Email. Be cautious of content]
>>
>>
>>
>>
>> Another offender in 21. `protocols bgp` doesn't autocomplete as it did
>> since `bgpmcast` was added.
>>
>>
>> me at r-mx304-lab-re1# set protocols bgp?
>> Possible completions:
>> > bgp BGP options
>> > bgpmcast BGP multicast options
>>
>>
>>
>>
>>
>> https://www.juniper.net/documentation/us/en/software/junos/multicast/topics/ref/statement/bgpmcast.html
>> <
>> https://www.juniper.net/documentation/us/en/software/junos/multicast/topics/ref/statement/bgpmcast.html
>> >
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net <mailto:
>> juniper-nsp at puck.nether.net>
>>
>> https://urldefense.com/v3/__https://puck.nether.net/mailman/listinfo/juniper-nsp__;!!NEt6yMaO-gk!GRWZYDw9dknfYLkcYhOG-D5DqdTOx4pztouooXch-W7lRlj5lUC_M0CkQf0rZBK0JIiXkU_l-ETb8ikzbZEKXVg$
>> <
>> https://urldefense.com/v3/__https://puck.nether.net/mailman/listinfo/juniper-nsp__;!!NEt6yMaO-gk!GRWZYDw9dknfYLkcYhOG-D5DqdTOx4pztouooXch-W7lRlj5lUC_M0CkQf0rZBK0JIiXkU_l-ETb8ikzbZEKXVg$
>> >
>>
>>
>>
>>
>> Juniper Business Use Only
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>>
>_______________________________________________
>juniper-nsp mailing list juniper-nsp at puck.nether.net
>https://puck.nether.net/mailman/listinfo/juniper-nsp
I love this proposal. I would also love it if shift-tab would cycle backwards.
--
Typo'ed on a glorified Speak&Spell...
More information about the juniper-nsp
mailing list