[jboss-jira] [JBoss JIRA] (WFCORE-1019) History browsing in CLI (using the up arrow) works strangely

Ladislav Thon (JIRA) issues at jboss.org
Tue Sep 29 12:00:01 EDT 2015


Ladislav Thon created WFCORE-1019:
-------------------------------------

             Summary: History browsing in CLI (using the up arrow) works strangely
                 Key: WFCORE-1019
                 URL: https://issues.jboss.org/browse/WFCORE-1019
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
            Reporter: Ladislav Thon
            Assignee: Alexey Loubyansky


I tend to rely on history browsing in the CLI a lot, but it got broken in EAP 7.0.0.DR10 (I'd guess that the cause is the AESH upgrade). Let's see:

{code}
rm ~/.jboss-cli-history # let's start with clean slate
./jboss-eap-7.0/bin/standalone.sh
# the following is in second console
./jboss-eap-7.0/bin/jboss-cli.sh -c
:read-resource
:whoami
[up arrow shows :whoami, so press Enter to run it]
[and repeat, up arrow shows :whoami]
{code}

OK, that's expected. Repeat the process with EAP 7.0.0.DR10 and you'll find out that the second \[up arrow\] shows {{:read-resource}}. This is IMHO highly wrong and it confused me _a lot_ when I first encoutered this bad behavior.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list