CLI command history


Userlevel 1
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

11 replies

Userlevel 6
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
Userlevel 1
OscarK wrote:

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

Do you do CTRL-U on bash?
Userlevel 6
OscarK wrote:

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

No, just in the normal EXOS prompt.
Userlevel 1
OscarK wrote:

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

thank you, that was my point
Userlevel 7
OscarK wrote:

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

Hi Antonio,

I believe ctrl-u is valid for bash editing too.
Userlevel 1
OscarK wrote:

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

hi stephane,

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

--
antonio
Userlevel 7
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.
Userlevel 7
Drew C. wrote:

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.

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!
Userlevel 7
Drew C. wrote:

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.

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!
Userlevel 7
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."
Userlevel 7
Drew C. wrote:

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."

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/

Reply