Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.M3
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      Even if we provide the more command, less (in Unix environment) is much handier though if you have a large log entry that you can move up.

      We can "extend" the more command (and create a less alias), or create a "new" less command.

        Activity

        Show
        gnt Guillaume Nodet added a comment - https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=57ec802bcd36caec74d87165e2d700e118ee68d4
        Hide
        jgoodyear Jamie goodyear added a comment -

        Bumping out from 2.3.2 to 2.3.3.

        Show
        jgoodyear Jamie goodyear added a comment - Bumping out from 2.3.2 to 2.3.3.
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Fair enough. I like it.

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fair enough. I like it.
        Hide
        kdong Keren Dong added a comment -

        Ultimately it would be nice to mirror what less does in *nix system. Key is ability to handle very large streams so we can't just keep everything in memory. To start with there some features that will be critical for us:

        'g' / 'G' for beginning and end of data
        'b' page backwards
        'y' line backwards (also using up-key)
        '/' / "?' search forward and backwards with highlighting (possibly 'n' / 'N' for repeating previous search in normal / reverse direction)

        -S or --chop-long-lines Causes lines longer than the screen width to be chopped rather than folded. That is, the portion of a long line that does not fit in the screen width is not shown. The default is to fold long lines; that is, display the remainder on the next line.

        Finally, auto paging would be very nice!

        Show
        kdong Keren Dong added a comment - Ultimately it would be nice to mirror what less does in *nix system. Key is ability to handle very large streams so we can't just keep everything in memory. To start with there some features that will be critical for us: 'g' / 'G' for beginning and end of data 'b' page backwards 'y' line backwards (also using up-key) '/' / "?' search forward and backwards with highlighting (possibly 'n' / 'N' for repeating previous search in normal / reverse direction) -S or --chop-long-lines Causes lines longer than the screen width to be chopped rather than folded. That is, the portion of a long line that does not fit in the screen width is not shown. The default is to fold long lines; that is, display the remainder on the next line. Finally, auto paging would be very nice!
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        +1, same behavior should be present in more IMHO

        Show
        jbonofre Jean-Baptiste Onofré added a comment - +1, same behavior should be present in more IMHO
        Hide
        kdong Keren Dong added a comment -

        It would be nice to be able to:

        1, go backwards
        2, go to the beginning/end of document
        3, search with highlight

        Show
        kdong Keren Dong added a comment - It would be nice to be able to: 1, go backwards 2, go to the beginning/end of document 3, search with highlight
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Agree (and just create a less alias).

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Agree (and just create a less alias).
        Hide
        gnt Guillaume Nodet added a comment -

        I'd think just extending the more command would be sufficient.

        Show
        gnt Guillaume Nodet added a comment - I'd think just extending the more command would be sufficient.

          People

          • Assignee:
            gnt Guillaume Nodet
            Reporter:
            jbonofre Jean-Baptiste Onofré
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development