| Bill Allombert on Sat, 28 Jan 2023 16:25:49 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: pari-2.15.2 released / readline |
On Fri, Jan 27, 2023 at 06:56:21PM +0100, Bill Allombert wrote: > On Fri, Jan 27, 2023 at 05:32:37PM +0100, Jürgen Borries wrote: > > I stil use the old version Pari/Gp 2.13.4 in windows 10 (64 bit) because it > > is the last published precompiled version without readline. > > Hi Jürgen, > > We still provide binaries without readline, see > > https://pari.math.u-bordeaux.fr/pub/pari/windows/ > > Furthermore you should be able to disable readline with > default(readline,0) > or > readline = 0 > in your file gprc.txt. > > Which version of Windows do you use ? I need to give a bit of background: The default Windows terminal is not ANSI-compliant. PARI/GP for Windows include code to convert ANSI sequences to Windows API call. This is everything but pleasant. For reason unclear to me readline do not work well with it Windows >= 10 terminal has an option to switch to ANSI mode. This is needed for the Windows Subsystem for Linux (which we recommend to use, see https://pari.math.u-bordeaux.fr/PDF/PARIwithWindows.pdf) But due to the conversion code, the native PARI windows binaries probably do not work well when such option is enabled (though I did not test). I could probably build PARI binaries for Windows without the conversion code but they would only work with Windows 10 with ANSI mode. In any case if you have Windows >= 10, my advice is to use the Windows Subsystem for Linux and set thet the terminal to ANSI, this will gives you the best experience. Cheers, Bill.