On Thu, Mar 03, 2005 at 04:34:56PM +0100, Danilo Piazzalunga wrote:
On Thursday 03 March 2005 11:21, Martin Quinson wrote:
> > >He said that if the wrap would obey to the COLUMNS env variable, it
> > > would be enough. This is still to be done, but that's not a big deal.
> > > Jordi, are you on it or may I do it?
> >
> > I haven't used env variables in perl, so maybe you could get it faster ;)
>
> Done (google is sooo cool).
Er... I can't make it work, neither with po4a nor with a small test script
(see the attached 'wraptest' file).
It looks like that the COLUMNS env variable isn't passed to perl (see the
attached 'columnstest' file), unless it is explicitly set from the shell
(i.e. COLUMNS=$COLUMNS perl ./columnstest).
If it's not set explicitly from the env, you have to play the Term::ReadKey
I did.
Erm, not exactly. Give me 5mn, and I'll commit a *tested* version of that
crap. Sorry.
Again, this is only a cosmetic issue. Don't worry too much about
it :-)
If we can get it right, let's do it.
Thanks for your patience,
Mt.