Karim BELABAS on Tue, 10 Sep 2002 21:27:30 +0200 (MEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: stderr not consistently colored


On Tue, 10 Sep 2002, Bill Allombert wrote:

> On Tue, Sep 10, 2002 at 03:39:21PM +0200, Karim BELABAS wrote:
> > On Tue, 10 Sep 2002, Bill Allombert wrote:
> > > ? \g4
> > > ? default(colors,"1, 5, 3, 5, 6, 2, 3")
> > >    colors = "1, 5, 3, 5, 6, 2, 3"
> > > ? factor(2^64+1,0)
> > [...]
> > > IFAC is not consistently colored.
> > 2) or flush stdout after the input loop.
> >
> > I've chosen 2). Can you try the following patch ?
>
> This seems to work perfectly.

I've committed the patch.

> PS: Is there a way to change stderr color inside GP?

No. Only error messages.  [ err, well, you can write to a C file with system
commands, compile, install(), and hack pariErr. All from withing GP, but
doesn't qualify I think... ]

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas/
--
PARI/GP Home Page: http://www.parigp-home.de/