cino hilliard on Thu, 09 Apr 2009 21:54:19 +0200


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

v 2.4.2 echos \r file


Hi,
I installed the windows sell-extractor v 2.4.2 
 
c:\pari\gpfiles>c:\pari2\gp.exe

Reading GPRC: .gprc ...Done.
         GP/PARI CALCULATOR Version 2.4.2 (development CHANGES-1.1971)
           i686 running cygwin (ix86/GMP-4.2.1 kernel) 32-bit version
 compiled: Dec 23 2007, gcc-3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
                 (readline v5.2 enabled, extended help enabled)
                     Copyright (C) 2000-2006 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 4000000, primelimit = 10000000
 
When I read script in with the \r, I get some kind of a -> code with the script.
 
(14:05:01) gp > \r rg
%2 = (x)->local(n=1,L,s=1,r);L=r=log(x);while(s<10^30*r,s=s+r/(zeta(n+1)*n);n=n+
1;r=r*L/n);(s)
(14:05:25) gp > riemgram(100)
%3 = 25.66163326692418259322679793
(14:05:41) gp > kill(riemgram)
(14:07:30) gp > read(rg)
%4 = (x)->local(n=1,L,s=1,r);L=r=log(x);while(s<10^30*r,s=s+r/(zeta(n+1)*n);n=n+
1;r=r*L/n);(s)
(14:07:48) gp > riemgram(100)
%5 = 25.66163326692418259322679793
(14:07:52) gp > 
 
Cino
 
PS:
Installing the latest cygwin (when I finally found a mirror that did not error out)
stops the ~ (tilde) character when you hit the delete key and deletes the char
at the cursor. This works for the last few versions and verifies the FAQ entry
on this.