Awesome, that helps a lot, but it seems I forgot to ask - is there a way to load external files? Something outside of forth's data folders? I'm sure gforth can ask for filesystem permissions somehow.
On Wed, Oct 25, 2023 at 6:02 PM Bernd Paysan <[email protected]> wrote: > Am Mittwoch, 25. Oktober 2023, 07:18:08 CEST schrieb Juraj B: > > Hello! > > > > I have tried installing gforth from the play store onto my tablet which > is > > currently running android 12. > > It worked as expected except for one thing: I tried to edit the .options > > file. I couldn't find it. > > It's not created by default. If you want to put something in there, you > need > to create it. > > > My guess is that it's somewhere in Android/data, > > which has been made impossible to edit from within android, the only way > to > > access it is from a computer, but since I have a samsung tablet, I can't > do > > that in linux, it is only possible with windows. > > You should be able to copy files from your computer using adb push > (Android > debugger). > > But yes, Googles attempt to turn Android into another iOS-like golden cage > is > a real problem. > > > Besides that, even if I > > didn't have this problem, I'd still like to be able to start forth with > the > > options that I want without an external device. > > You can also create that file via Gforth directly: > > s" .options" r/w create-file throw value fd > s" -m64M" fd write-line throw > fd close-file throw > > It's not as comfortable as an editor, though, and I think, I have to add > an > editor sooner or later, because the way Android now cages their apps. > > > I was also unable to start > > any of the examples as I couldn't locate them (again, my hunch is that > > they're somewhere in Android/data). It would be nice to move those files > > somewhere outside that folder, where they can be accessed by external > apps, > > such as file managers and text editors. > > Gforth can locate all these examples fine, use > > .fpath > > to show where it searches. > > It's like > > “First, they came for the headphone jack, and I didn't care, because I > didn't > use one. Then, they came for the SD Card slot, and I didn't care, because > my > new phone has enough memory. But finally, they disabled access to files by > third > party file managers, and then it was too late, because there's no > competition > beyond Google and Apple left“ > > There is some way within the app to open up access to its internal files, > and > I'll try to use that to open up Gforth's directories. It is just too silly. > > -- > 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/ >
