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

From: Ralph Eastwood <>
Date: Sun, 15 Feb 2015 18:02:28 +0000

On 15 February 2015 at 16:50, <> wrote:
> You can trust the value of COLUMNS. I think this is the correct way
> programs must detect the size of the terminal.

Unfortunately, this is the first thing I tried - and I found that the
variable isn't actually exported.
So short of running export COLUMNS; ls -C; This wouldn't work -
cheers though, life would be more convenient if it were!

Tai Chi Minh Ralph Eastwood
Received on Sun Feb 15 2015 - 19:02:28 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 15 2015 - 19:12:07 CET