On 31/03/18(Sat) 03:20, Ingo Schwarze wrote: > Paul Irofti wrote on Fri, Mar 30, 2018 at 11:23:54AM +0300: > [...] > > which is EXACTLY what I was looking for! Can it be the default? :) > > I'm neither particularly enthusiastiastic (because it requires > more code, in particular more getenv(3) which i dislike in general, > and because it adds another difference in behaviour depending on > isatty(3)) nor am im categorically rejecting the request.
Don't you already need this logic, getenv(3) + isatty(3), to decide if you use a pager or not? Although I don't understand why getenv(3) is needed, isn't a TIOCGWINSZ ioctl(2) enough?. > If a few developers consider the feature useful, i shall implement > it; if nobody else speaks up, i'm more likely to KISS it. I'd greatly appreciate this default as well.