Re: [dev] [sbase] [PATCH] ls fallback if ioctl does not work

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Sun, 15 Feb 2015 19:34:20 +0000

On Sun, Feb 15, 2015 at 07:48:58PM +0100, k0ga_AT_shike2.com wrote:
> > On Sun, 15 Feb 2015 19:35:51 +0100
> > k0ga_AT_shike2.com wrote:
> >
> >> I like your solution, but I think COLUMNS should have a bigger
> >> priority, because in this case user can define a different value of
> >> the current width.
> >
> > Okay, then do 3 fallbacks
> >
> > ioctl -> getenv -> fixed width
> >
>
> Ups, I didn't explain it correctly. My idea was
>
> getenv -> ioctl -> fixed width

Yes the environment should override everything else.
Received on Sun Feb 15 2015 - 20:34:20 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 15 2015 - 20:36:17 CET