Re: [dev] I wrote a pager

From: Teodoro Santoni <asbrasbra_AT_gmail.com>
Date: Fri, 16 Sep 2016 18:41:20 +0000

Hi,

2016-09-16 17:40 GMT, Evan Gates <evan.gates_AT_gmail.com>:
> On Fri, Sep 16, 2016 at 9:25 AM, <u_AT_netbeisser.de> wrote
>> Thank you Greg for writing such a fantastic pager. I could increase lines
>> however to something more than 22.
>
> char *lines = getenv("LINES");
> int page_size = lines ? atoi(lines) : 24;
>
>

May segfail under rc and dash.
Received on Fri Sep 16 2016 - 20:41:20 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 16 2016 - 20:48:11 CEST