karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: [HEADS UP] New less page in Karaf
Date Sat, 17 May 2014 05:14:15 GMT
Hi Guillaume,

thanks for the update. It's something that I planned to do for a long time.

I will give a try on different VMs.

Regards
JB

On 05/16/2014 09:37 AM, Guillaume Nodet wrote:
> I've just pushed a new pager command which works like the less unix command
> in master.
> Supported features are:
>    * line numbering
>    * auto-quit at eof
>    * line wrapping
>    * horizontal and vertical movements
>    * pattern searching / highlighting with movement
>    * auto-adjustement with the terminal size
>    * runtime change of options
>
> It's far from a full less clone (missing customized prompt, line editing,
> support for non printable chars, multiple files, etc...), but it provides
> useful features.
>
> The only real important thing missing is imho the buffering part: the input
> is fully buffered and there's no special behavior difference between
> standard input and files.  This means that if the file or standard input is
> huge, it will end up being fully loaded in memory.
>
> If anyone want to try it (or add features), especially on non-mac platforms
> in order to make sure things work correctly, they're more than welcomed !
>
> Cheers,
> Guillaume
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message