[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting up forth on samsung 7lite android tablet: .config/gforthrc ?
From: |
Bernd Paysan |
Subject: |
Re: getting up forth on samsung 7lite android tablet: .config/gforthrc ??? |
Date: |
Fri, 26 Nov 2021 20:55:09 +0100 |
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
Description: This is a digitally signed message part.