CLI command history

  • 1
  • Idea
  • Updated 3 years ago
  • Implemented
  • (Edited)
Hi,

when entering the command history with arrow keys, I find that the CLI never returns back to a blank line but it sticks to the last command issued.

It's annoying because to issue a new command you must first delete that command displayed.

thank you
--
antonio
Photo of Antonio Prado

Antonio Prado

  • 610 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of OscarK

OscarK, ESE

  • 7,912 Points 5k badge 2x thumb
Hit CTRL-U and the line is cleared completely.
For a complete list of shortcuts, see this link from the concepts guide.
http://documentation.extremenetworks.com/exos/EXOS_All/Command_Overview/r_lineediting-keys.shtml
(Edited)
Photo of Antonio Prado

Antonio Prado

  • 610 Points 500 badge 2x thumb
Do you do CTRL-U on bash?
Photo of OscarK

OscarK, ESE

  • 7,912 Points 5k badge 2x thumb
No, just in the normal EXOS prompt.
Photo of Antonio Prado

Antonio Prado

  • 610 Points 500 badge 2x thumb
thank you, that was my point
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,262 Points 10k badge 2x thumb
Hi Antonio,

I believe ctrl-u is valid for bash editing too.
Photo of Antonio Prado

Antonio Prado

  • 610 Points 500 badge 2x thumb
hi stephane,

I agree, but you wouldn't bother typing CTRL-U every time you want to explore your bash history, right?

--
antonio
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
Hi Antonio,
I agree, you should be able to use the down arrow to return to a blank line and not get stuck on the last command - like bash.  I'm going to send this over to the User Experience guys to take a look at implementing.
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
Update: I've opened a feature request for tracking this internally.  When there's more information available, I'll come back and update this thread.
Thanks for calling this out!
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
Update 2:  I just saw where one of our developers has written the "fix" and checked-in his code to a set of upcoming releases.  Once I see it in a beta build and test it, I'll be able to come back and say a little bit more.  Stay tuned!
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
I just tested and verified that this enhancement made it into EXOS 16.1.2 (scheduled for release in early Fall) and will be in EXOS 16.2 when it releases.  Unfortunately, I can't discuss timeline for 16.2.
I'm going to go ahead and mark this Idea as "Implemented."
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
Update: EXOS v16.1.2 was released on 10/9/2015 and this feature is included.
Please see this article for information on how to upgrade: https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-Obtain-and-Upgrade-EXOS/