can't read "env(COLUMNS)": no such variable

Brandon Allbery allbery.b at gmail.com
Mon Jun 16 16:40:45 PDT 2014


On Mon, Jun 16, 2014 at 7:35 PM, Clemens Lang <cal at macports.org> wrote:

> Yes, I know why this happens. What I don't understand is why your
> environment
> doesn't contain the columns variable. Which shell do you use? My bash
> exports
> both the COLUMNS and the LINES variables.
>

That is a bash-ism. zsh, at least, doesn't set it --- and really, curl
should be falling back to termios for it.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140616/2c1b2b32/attachment.html>


More information about the macports-users mailing list