Right. So my Bash has the two variables set and exported, but they do not
propagate over to Picolisp, i.e. when I evaluate (sys "LINES"), i get NIL.
Any way to force pil to grab those variables?

Cheers,
Wojtek

wt., 30 lip 2019 o 12:57 Alexander Burger <a...@software-lab.de> napisał(a):

> On Tue, Jul 30, 2019 at 12:33:15PM +0200, Wojciech Gac wrote:
> > I know, but the invocation I mentioned worked for me before. The
> invocation
> > from your email doesn't work either. Same error as before.
>
> I see from
>
> > > > [/usr/local/bin/vip:6] !? (need X (chop (next)) " ")
>
> that it happens in 'align'. The only place where @lib/vip.l calls 'align'
> is in
> 'status' (that's why you get the inverse video):
>
>    (need (- *Columns (length A) (length Z)) " ")
>
>
> So it looks like *Columns is not set.
>
> Vip fetches it with
>
>    (setq
>       *Columns (format (sys "COLUMNS"))
>       *Lines (format (sys "LINES")) )
>
> I think in your environment these variables are not set or not exported.
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>

Reply via email to