[BusyBox] Re: [PATCH] less applet

Pat Riehecky jcpunk at gmail.com
Mon May 16 14:49:33 UTC 2005


while it does add to the config options a bit, perhaps something like
[ ]more
   [ ]allow more to use up arrow, page up, page down
   [ ]less

that way there can be a small addition to more allowing the
functionality that most people miss from less, and by nesting less
under more the less code could be made dependent on more (which could
rocket the patch out of alpha as reading from stdin as well as column
resizing to fit the terminal is already supported by this code, thus,
fewer lines of duplicated code and a central place to do optimization
)

I would deeply love to see less implemented inside of bb, as the
searching flexibility is of the biggest reasons I use less.  RegEx
searching has often times saved me from my own stupidity....

I think that by breaking the 'big feature' (up) up and the allowing it
to be only attached to more, that people who really don't want less's
bigger feature set don't need it.

I for one vote for adding less in its entirety..

On 5/16/05, olivier.delouya at takimaging.com
<olivier.delouya at takimaging.com> wrote:
>  
> My own two cents, if I may. 
>  
> if it is to bring 'less' to busybox, which I would enjoy, 
> bring it with its whole UI, else, 'more' already does the job quite
> acceptably.. 
>  
> Bye 
>  
> Olivier 
>  
>  
>  
>  Tito <farmatito at tiscali.it> 
> Sent by: busybox-bounces at mail.codepoet.org 
> 
> 16/05/2005 14:03 
>  
> To Rob Sullivan <cogito.ergo.cogito at gmail.com> 
>  
> cc busybox at mail.codepoet.org 
>  
> Subject Re: [BusyBox] Re: [PATCH] less applet 
>  
>  
>  
>  
>  
> On Monday 16 May 2005 11:28, Rob Sullivan wrote:
>  > Nobody interested?
>  Hi,
>  I just looked it at and it seems to me that there is some work to
>  do to optimize size  (using libbb funcs etc).
>  I'm also wondering if we need all this command line flags and
>  keystroke sequences.
>  I admit i'm not a less expert, but the few times I use it i don't
>  need more then  arrows, PageUp, PageDown and Quit.
>  Wouldn't it be easier to do a fully new version with just this few
>  commands, something like an enhanced more command?
>  
>  Just my 2 eurocents :-).
>  
>  If it gets merged I'will help in optimization.
>  
>  BTW: it seems to me that unlike the real one it doesn't read from stdin:
>  dmesg  | ./busybox less
>  Missing filename ("less -?" for help)
>  
>  Ciao,
>  Tito
>  > Rob
>  > _______________________________________________
>  > busybox mailing list
>  > busybox at mail.busybox.net
>  > http://busybox.net/mailman/listinfo/busybox
>  > 
>  > 
>  _______________________________________________
>  busybox mailing list
>  busybox at mail.busybox.net
>  http://busybox.net/mailman/listinfo/busybox
>  
>  
>  
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
> 
> 
> 


-- 
The lines which your eye falls on first here were written last.
Their purpose is to make yet another attempt to force into 
the form of a letter the detailed investigation which is sent to
you herewith.  These lines correspond, then, with the last
lines and together they form an envelope, thus indicating
in an external way what internal proofs in many ways will 
convince you of, that this is a letter you are reading.
~Kierkegaard



More information about the busybox mailing list