[Toybox] Fwd: [landley/toybox] Simple implementation of less (#39)

2016-07-27 Thread dmccunney
On Wed, Jul 27, 2016 at 11:32 PM, David Seikel wrote: > On Wed, 27 Jul 2016 17:39:25 -0500 Rob Landley wrote: > >> > When you scroll the screen in less/vi it can have a huge impact on the >> > speed >> > if you're on 9600 or slower. >> >> Does that come up much these days? <...> > Other than t

Re: [Toybox] [landley/toybox] Simple implementation of less (#39)

2016-07-27 Thread Toni Spets
On Thu, Jul 28, 2016 at 1:39 AM, Rob Landley wrote: > On 07/26/2016 11:42 PM, Toni Spets wrote: > > On Wed, Jul 27, 2016 at 12:47 AM, Rob Landley > > wrote: > > > > On 07/26/2016 02:22 AM, Toni Spets wrote: > > > @hifi pushed 1 commit. >

Re: [Toybox] [landley/toybox] Simple implementation of less (#39)

2016-07-27 Thread David Seikel
On Wed, 27 Jul 2016 17:39:25 -0500 Rob Landley wrote: > > When you > > scroll the screen in less/vi it can have a huge impact on the speed > > if you're on 9600 or slower. > > Does that come up much these days? Yep, you raise it as an objection to my boxes editor / less thingy. Then you sugge

Re: [Toybox] dd.test spaces in numbers?

2016-07-27 Thread scsijon
Subject: Re: [Toybox] dd.test spaces in numbers? Message-ID: Content-Type: text/plain; charset="utf-8" both BSD and GNU dd ignore leading whitespace, which is why i didn't simplify that when i was adding hex support (which only GNU has). but i don't know whether anyone is relying on th

Re: [Toybox] [landley/toybox] Simple implementation of less (#39)

2016-07-27 Thread Rob Landley
On 07/26/2016 11:42 PM, Toni Spets wrote: > On Wed, Jul 27, 2016 at 12:47 AM, Rob Landley > wrote: > > On 07/26/2016 02:22 AM, Toni Spets wrote: > > @hifi pushed 1 commit. > > > > * 79ca172

Re: [Toybox] [landley/toybox] Simple implementation of less (#39)

2016-07-27 Thread Toni Spets
On Wed, Jul 27, 2016 at 12:47 AM, Rob Landley wrote: > On 07/26/2016 02:22 AM, Toni Spets wrote: > > @hifi pushed 1 commit. > > > > * 79ca172 Less > > magic, more printf > > It is so weird that github shows that co

Re: [Toybox] dd.test spaces in numbers?

2016-07-27 Thread enh
both BSD and GNU dd ignore leading whitespace, which is why i didn't simplify that when i was adding hex support (which only GNU has). but i don't know whether anyone is relying on this. On Wed, Jul 27, 2016 at 4:44 AM, Rob Landley wrote: > Does anybody know why tests/dd.test is checking for spa

[Toybox] dd.test spaces in numbers?

2016-07-27 Thread Rob Landley
Does anybody know why tests/dd.test is checking for spaces before numbers? ('count= 2' on line 15, for example?) Was this an issue for somebody? Is it in a spec somewhere? Why is this a behavior that needs to be preserved in a new implementation? Just wondering where that came from, Rob

Re: [Toybox] [landley/toybox] Simple implementation of less (#39)

2016-07-27 Thread Toni Spets
In response to the feedback, an alternative implementation of scr_* that doesn't pre-allocate too much and all redraw optimizations have been removed except complete lines. On Wed, Jul 27, 2016 at 7:42 AM, Toni Spets wrote: > On Wed, Jul 27, 2016 at 12:47 AM, Rob Landley wrote: > >> On 07/26/20