[ 
https://issues.apache.org/jira/browse/KARAF-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638977#comment-13638977
 ] 

Keren Dong commented on KARAF-2069:
-----------------------------------

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!
                
> Provide less command
> --------------------
>
>                 Key: KARAF-2069
>                 URL: https://issues.apache.org/jira/browse/KARAF-2069
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.2, 2.4.0, 3.0.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to