[ 
https://issues.apache.org/jira/browse/FELIX-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated FELIX-3341:
-----------------------------------

    Comment: was deleted

(was: Could you please change your commit so that the console keeps compatible ?
I was investigating a release, but a constructor has been removed and the 
History is not optional anymore.  Karaf provides its own support for history so 
I think we should remain compatible.)

> Simple csh-like Command History
> -------------------------------
>
>                 Key: FELIX-3341
>                 URL: https://issues.apache.org/jira/browse/FELIX-3341
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo Shell
>    Affects Versions: gogo.shell-0.10.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: gogo.shell-0.12.0
>
>         Attachments: FELIX-3341.patch
>
>
> Suggest to add a simple csh like command line history.
> * A new command "history" is added to the Shell class listing the command 
> history
> * A new History class is added to manage a bounded, in-memory-only command 
> history
> * Commands can be reused from the history using commands following this 
> simple syntax:
>          command = ( '!' spec ) | ( '^' subst ) .
>          spec = '!' event [ ':' [ 'a' | 'g' ] 's' regex ] .
>          event = ( '!' | idx | '?' find | string )
>          idx = [ '-' ] { 0..9 } .
>          find = string ( '?' | EOL ) .
>          subst = pat '^' repl '^' EOL .
>          regex = str pat str repl str EOL .



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to