Bill Allombert on Tue, 19 Sep 2023 16:12:28 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: PariDroid questions
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Tue, 19 Sep 2023 16:07:42 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1695132457; c=relaxed/relaxed; bh=OvqXJm30dkME4etyIdQ/3CKhpdrAxfL41CzAsCTyr+U=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=Tsov7iFdkm0I2rh600hAwNU3yEndp4TNvL+4CMgPpSvH+QrQqQF2TgEZJN19PgMatk9DlltwSteJBmvD7SdfBUGyZPRzqk4+RWjzuA0QVm9Gx8S0p+VKym0sHuFUgj0k1CFvol4yBBKzKDXr57wo9EjsI1dHBDtrIrMRxNPK+waBPmV3OfZtx/8LPh55YPcF2mJKfJ98ocCB8BUYwmbQ2MZNswS86Fri37cmx5L4jWH7GuKEjoHqO9LvZ5XkNXhKdNMCKWqWmhZwMP1CZR51NY+8z00CkkjCR5Tnqb6Hjp1CUuRT0HpIRPd+Z5FsCzx0IExNsK4PXDPhDfPBlyqBCM5EPtj6wT1rbBTTa4rkI7umUQIplet3aP706pgbEqJbq+5Lnsbr5pF5ZQ6jqEME5LgGzWj4a+HZc9hK16bBHITPRLFaWKu62YIUFgPI+A4sDlbPo22PhH+gFEHEUvjioze4+2af3Np9KotlCSvE5IEmiTAtZlX9TfNsyYDl7FN8Nt9dwfhst85V0OlptZv6l0m2hwUemK8v4XxQd3Zltxb4c9N7iWAl498uiUnrX5E3FX51XNeqJxu+7dDR3/wpa2G83WJdfMqUMkuBwUXmE1eMYLACrY2pJIkyJJAQ7FXmqNffPBdXatQZ97hhaHMI+IoadpT+pvYzrEk4Qf367aE=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1695132457; cv=none; b=dvdf+/78v34nI1i3io3n7OhulKxWa7qrro1fcwMDExX2/AzWyzxjBNUw/HNvMC0tVZ/4U7lQkEsLWUGaoDaeK0oSTVaKnEBCDM3+K3NXDCi4xuMaW0C/ARIQzHL/RSPAGwfUPpZRULyT+lLpeDJ4X9gb//JC+V9XaBsb5NlkDN11hXsfq4RIbs5Jiku6Hw60XPJVZy3QpJIGTzdrfiFNbbrPEiPIK01StoY7hbn1z3Ctrb5BPxucmdQN/mECcepQ9ZWlF/GWItVxd9sBAMcWgk+6PBu2yMXVXWsI2M8IpRSGy/guTYBT2ZcZZaF5qQXh0SeDruN8wAmIX48wOY5bLCNhJbepUric5LzPuNdJJiXbY7bt+NiXNjWbqaR3P1ECRN0slh8RAUqPHUnQRCOxF6Yk+iGHG7IG99hOjLqGByiMv7hJd3J6yWu9MDRTXI0+E51yCMBXJgRayAZ3tcfL/hCinFuXjug//5HBj/4ckVDxrBn/CErvZ/7DAaa9DIOndQm3T1PwJafCYrTtoISB9GsAUYf4/bNzllpMyEvRkeqtGuu6Cuo6LeZnwTEWGzOa3BTfRPFqLl9NShAdq+LTWnnDLYPcHbwMw/C3DM6XytUIb+Za65ErwcLXOexdGEtzWcVTTV6XXs7Fp6Nx1oiSwB+JRh3bF5J+MLpdZZnDVrI=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Tue, 19 Sep 2023 16:12:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1695132457; bh=OvqXJm30dkME4etyIdQ/3CKhpdrAxfL41CzAsCTyr+U=; h=Date:From:To:Subject:References:In-Reply-To:From; b=hDwdMSbDmQmqBwxqNd7YjYHzj4ZJPCdpRJ2D4lVo4cF+SXPVqTlxzD6uJ/2GH7G/V e84jp0lLeBeyg6HN6YpXwZOkMJXCDcmL97fJpYV9bZGQhXLF5IBMQYaqLH41Lr49xe 3F11VMJfDXA/tILpV0e5PPjrsPIS7TQfCBcvcjroGvjmBjvMbCPfxKzZPk1gzorRi7 b8/8B5XJuqppnzM7sLjOO7airmdu57xylTvgz+pNy9mRaEXW03qQi1TRXJpR2eGhlG yOW6Ptq8W4CdRh1RPprXjO42FtF8cPE6ZWQeSmFj6ezT6KOSDRPbfP7hXZ0TcCo4x5 tzsHxk8jawoj2qdn3r/hOdvGlJY3Zv18bw7qqzeBH5XdfGwHRykqPgPEPa6ScZyRCg k8oayveqXWljUWlI/geOrEA0QHaNLUF4oL8A/s3m0F+rw0a0tGr/6nV8bSlFe4Hpmp 7elA4I8pX+Q6pNpVmEyUgXO26kvPGq3DRz/pif+86yL23dhIsomzFWc1THRvXcAJtK 1kWjymMUMhhasz10RwZfc4Nwj0vPkrMeUMY3I+v18bmxl8JrSW8owsZ54+1T9HAPLi ZorhDfxInUDIOOkXFAatJzdL5fzBbxMxJYb3pD971Y0iT/0iJd9uMUfoWcZldN46XV BZictfI0VD4cYUHPSu73a918=
- In-reply-to: <eb9f68a9582dddba1d4e97e58ccedf18@stamm-wilbrandt.de>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <eb9f68a9582dddba1d4e97e58ccedf18@stamm-wilbrandt.de>
On Tue, Sep 19, 2023 at 10:52:09AM +0200, hermann@stamm-wilbrandt.de wrote:
> Some questions regarding readvec() and current directory for PariDroid.
>
> I did store
> https://github.com/Hermann-SW/RSA_numbers_factored/blob/main/pari/RSA_numbers_factored.gp
> in DroidVim home directory.
>
> Then I am able to use Menu->Read to read that file into PariDroid and then
> run eg. "RSA.validate()".
>
> One question is, which is the current directory of PariDroid on start?
> Or where I would need to store RSA_numbers_factored.gp on smartphone so that
> I can do readvec("RSA_numbers_factored.gp") in PariDroid?
>
> On Linux I would store RSA_numbers_factored.gp in the directory I started
> "gp".
>
> I found "system()" in GP user guide.
> But system("pwd") returns 0, while system("ls") returns 1 in PariDroid.
> No directory listing for "ls".
>
> I ask because my GP scripts using RSA_numbers_factored.gp just do
> readvec("RSA_numbers_factored.gp") as first command.
> And I would like to work with unchanged scripts in PariDroid and Linux.
If you would like a more Linux-like environment I suggest you try termux, which
has a PARI/GP package. <https://termux.dev/>
Cheers,
Bill