Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3743

Allow to search in the CLI multi-page output

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Alpha3
    • None
    • CLI
    • None

      It would be nice to allow search of patterns in the CLI multi-page output. Something similar as it is done by "less" command. A very good start point for implementation of this is the "less" implementation in aesh-extensions [1].

      List of keys and actions for the search:

      • SLASH : switch to a search mode input
        • ANY KEY : adding the char into search pattern
        • ENTER : search the document for the pattern
        • UP : move up in the search history
        • DOWN : move down in the search history
      • 'n' : go to next match (if no more matches in the direction say "Pattern not found (press RETURN)")
      • 'N' : go to prev. match (if no more matches in the direction say "Pattern not found (press RETURN)")
      • HOME / 'g' : go to start of the document
      • END / 'G' : go to end of the document

      [1] https://github.com/aeshell/aesh-extensions/tree/master/aesh/src/main/java/org/aesh/extensions/less

              jdenise@redhat.com Jean Francois Denise
              mmarusic Marek Marusic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: