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é [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
