Re: Starting FriCAS not in the $HOME directory

Waldek Hebisch <[email protected]> Sat, 24 May 2025 18:41:39 +0200
Newsgroups gmane.comp.mathematics.algebra.fricas.devel,gmane.lisp.gcl.devel
Message-ID <[email protected]>
On Sat, May 24, 2025 at 06:14:40PM +0200, Gr=C3=A9gory Vanuxem wrote:
> Hi Waldek,
>=20
> Many thanks for this quick response and fix. Just tested on official FriC=
AS
> and the 2 problems you mentioned previously gone away.
>=20
> The .fricas.input file is still not "read" but for my mid-term work it is
> not a big problem, my startup file is just displaying computation times a=
nd
> augmenting line length of output to 110. Maybe this is related to my Kali
> distribution on WSL2, I don't know.
>=20
> The )read command is to blame on my settings:
>=20
> (1) -> )sys pws
>=20
>    >> System error:
>    INTERNAL-SIMPLE-ERROR: The assertion !posix_spawnp(&pid, *p1,
> &file_actions, &attr, (void *)p1, environ) on line 65 of o/unixsys.c in
> function vsystem failed: No such file or directory
>=20
> (1) -> )sys pwd
> /home/greg
> (1) -> )sys ls -l .fricas.input
> -rw-r--r-- 1 greg greg 35 Feb 11 09:42 .fricas.input
> (1) -> )read .fricas.input
>=20
>    The file .fricas.input is needed but does not exist.

AFAICS the problem is due to PATHNAME-TYPE in gcl:

)lisp (PATHNAME-TYPE "/home/hebisch/.fricas.input")

Value =3D "fricas.input"
(1) ->=20

All other Lisp implementations that we use return "input".

--=20
                              Waldek Hebisch

--=20
You received this message because you are subscribed to the Google Groups "=
FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/fricas-deve=
l/aDH2wyrzVDZ-p1yx%40fricas.org.