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

From: <k0ga_AT_shike2.com>
Date: Sun, 15 Feb 2015 19:35:51 +0100

> The ioctl() can be assumed to be present on all systems, but in case
> TIOCGWINSZ doesn't exist, we fall back to the fixed value. This is the
> best of both worlds.
>

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.

Regards,
Received on Sun Feb 15 2015 - 19:35:51 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 15 2015 - 19:48:03 CET