On Sun, Feb 15, 2015 at 07:48:58PM +0100, k...@shike2.com wrote: > > On Sun, 15 Feb 2015 19:35:51 +0100 > > k...@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.