Re: getting up forth on samsung 7lite android tablet: .config/gforthrc ???

Bernd Paysan <[email protected]> Fri, 26 Nov 2021 20:55:09 +0100
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <2085155.zsaQZV51oI@liubei>
Am Freitag, 26. November 2021, 01:32:15 CET schrieb etienne delacroix:
> after install in the Forth app on my samsung A7 lite android tablet I have
> difficulties matching the  indicated repertory
>     /sdcard/gforth/site-forth/
> 
> on my tablet. the forth app. is installed at
>  /storage/emulated/0/Android/data/gnu.forth/files

Essentially, your Android version decided that the place which was /sdcard in 
earlier Android versions is called /storage/emulated/0/Android/data/gnu.forth/
files.

> in there there are two folders. arm64. and gforth
> 
> that forth repertory has  4 folders in it
>     arm64.     current.   home    and    site-forth
> 
> in site forth.  I find the start.fs.  file that seems to be executed on
> startup....
> 
> where should I put some. .gforthrc.  or gforthrc. file so that forth loads
> my custom commands when it boots?

Put it in ~/.config/gforthrc, "~" is whatever

s" HOME" getenv type

in Gforth will tell you what Gforth sees as its home directory.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmGhO50ACgkQ9y2Uk5Mt
oGf/ABAAjji2jqIL6PzgaAIhyzYfTu9ID3U/tQF7NWcB9UCOaffkW1p6KXBVHO5y
0ZNHrFb2/4pKia7iK5ZixyaRtIvoaxEHQulUgXVe70kw0ZZDnEt4Unnf06QkwWId
4Ws49ldDlEmxkWqqXYbkA8U2B51N6m0/utmAUNL8LzWgcgswXNWelvedy9sfpPh6
lghCWbBuRarc2QLHf4SrWYZTdmqqcyCdwvetyToodL17PJ3rbMT3SBptFh0kDzIR
jxqNbVoPwhbryRre5zD9L8o6IJc0JBbEiO5GJnvv/zj82Cra+6qaLxOYUoA9/I7H
aW6WZZ6n5h8NitSszvh3WlurVtHx+c2roIHdxC73W3XX+016579OnCQ42ossBKXE
7GIn6YdEq3Xz2zanWcteVpzPyueW8tRfOtOyeALgEl6tE4uPHg4kMcPtyRZmRoJz
axnJ5kuJSX5ZFs/GDzvM6UcQkmZ5PEDbHiQguz4D/Llon6mr8EPvbkEg/Jy1epMR
KIVi+OtfhRgF4cCKAdyNcxkE8cvSEB7gd+WmdP5siz/nml/AeSRDhoqsM7vSKumb
S8Cnghg9tift0bcv2uD0Bd3lvmOVU1ydjhdqMJRzUpbDXw3f2p0H8ijNvZ9qfHfz
lhXfljEFco2rX6HF6WwMyhg8gjnsZcB7BoQLBwBkU+I4qfIG2m0=
=be/V
-----END PGP SIGNATURE-----