I've just re-read your feature request, and I missed the main point. Updates to a script you download from iCloud Drive *are* getting saved. Just not back in iCloud. Try looking in j/temp/ .
IMO iOS is an intrinsically user-hostile environment. The developer only has limited scope to make it less hostile for the J user. Especially a user expecting it to behave like a J IDE on 20-cent platforms. The world has become a lot less innocent. On Tue, 22 Feb 2022 at 21:14, Ian Clark <[email protected]> wrote: > Sorry – the iOS app can't update scripts in-place outside its own sandbox. > That violates too many App Store guidelines in too many indefensible ways, > which wasn't worth risking the app getting rejected for. > > Some privileged apps (e.g. Files app) are able to move files into just > about any folder it can see into. That being so, you can easily update a > local copy of the script, then copy it back into its original folder using > Files app. It wasn't worth the aggro to replicate Files.app inside the > Import feature. However the import button does have limited Files.app-like > copying facilities. It's worth trying to see if you can do it: Apple seems > to change the rules at each release of iOS. Touch and hold any given icon, > and you'll be presented with a menu of things you can do to it, e.g. delete > or copy (to various destinations). Sometimes it offers to do a move, but > does a copy instead. > > Apple is trying to square the circle IMO, but I fully concur with their > aims. They're not out to wilfully violate the J user's right to shuffle > files about on their own machine. But they're trying to prevent a user > slipping a malware J script past some unsuspecting 3rd party. So the reason > Files.app can do things that 1!: can't is because Files.app can't be > automated. It can only be used interactively by a responsible user. > > On Tue, 22 Feb 2022 at 20:32, Richard Donovan <[email protected]> > wrote: > >> Yes it can! But if I edit a file and then want to save it, the updates >> don’t get saved. I guess there’s a read-only lock but it would be handy if >> an error/warning message could be shown? Or better, a “save as…” feature to >> create an update chain. >> >> Richard Donovan >> >> > On 22 Feb 2022, at 20:27, Ian Clark <[email protected]> wrote: >> > >> > Thanks Richard. >> > >> > And that tells me something I was keen to find out: can Import fetch >> files >> > out of Dropbox. You're telling me it can. >> > >> >> On Tue, 22 Feb 2022 at 20:13, Richard Donovan <[email protected]> >> wrote: >> >> >> >> Ian - that’s great - I hadn’t noticed that! Pleased to see that I can >> also >> >> pick up Dropbox so I have two new ways of getting all my devices to >> talk to >> >> each other! I’m impressed! >> >> >> >> Richard Donovan >> >> >> >>>> On 22 Feb 2022, at 19:45, Ian Clark <[email protected]> wrote: >> >>> >> >>> Righard Donovan wrote >> >>>> Of course I would be over the moon if J-iOS could pick up *.ijs files >> >>> directly from my Dropbox or iCloud so I could seamlessly share over >> all >> >>> platforms but I guess that’s asking a tad too much! >> >>> >> >>> Not at all. In fact j901 for iOS can already import *.ijs from iCloud >> >>> Drive, via the Import button (top right). Report a bug if it doesn't >> work >> >>> for you. >> >>> >> >>> >> >>> Which j for iOS are you using? j701 or j901? >> >>> >> >>>> On Tue, 22 Feb 2022 at 18:37, Richard Donovan <[email protected] >> > >> >> wrote: >> >>>> >> >>>> Thanks Bill! >> >>>> >> >>>> Of course I would be over the moon if J-iOS could pick up *.ijs files >> >>>> directly from my Dropbox or iCloud so I could seamlessly share over >> all >> >>>> platforms but I guess that’s asking a tad too much! >> >>>> >> >>>> Richard Donovan >> >>>> >> >>>>>> On 21 Feb 2022, at 13:06, bill lam <[email protected]> wrote: >> >>>>> >> >>>>> iOS apps are supposed to run inside sandbox and leaking file system >> >>>> info is >> >>>>> discouraged. Nevertheless you can hack using the HOME environment >> >>>> variable. >> >>>>> try the following >> >>>>> >> >>>>> 2!:5'HOME' >> >>>>> 1!:0 (2!:5'HOME'),'/*' >> >>>>> 1!:0 (2!:5'HOME'),'/Documents/*' >> >>>>> 1!:0 (2!:5'HOME'),'/Documents/j/*' >> >>>>> >> >>>>> >> >>>>>> On Mon, 21 Feb 2022 at 8:11 PM Richard Donovan < >> [email protected] >> >>> >> >>>>>> wrote: >> >>>>>> >> >>>>>> On my iPhone… >> >>>>>> >> >>>>>> jpath'~install' >> >>>>>> ~install >> >>>>>> >> >>>>>> Which isn’t much help’ >> >>>>>> ________________________________ >> >>>>>> From: General <[email protected]> on behalf of >> >> bill >> >>>>>> lam <[email protected]> >> >>>>>> Sent: Monday, February 21, 2022 4:37:15 AM >> >>>>>> To: [email protected] <[email protected]> >> >>>>>> Subject: Re: [Jgeneral] J903 on Pixel 6 Pro (Android) >> >>>>>> >> >>>>>> the install folder on any platform can be found by >> >>>>>> jpath'~install' >> >>>>>> on android it is >> >>>>>> /storage/emulated/0/Android/data/com.jsoftware.j.android/files >> >>>>>> >> >>>>>>>> On 20 Feb 2022, at 1:58 AM, J. Patrick Harrington <[email protected]> >> >>>> wrote: >> >>>>>>> >> >>>>>>> I just recently replaced my old iPhone (a 6 Plus) with a new >> Google >> >>>>>> Pixel 6 Pro. >> >>>>>>> >> >>>>>>> It seems to be an impressive phone with a great camera. One of my >> >>>>>> motivations for not getting a newer iPhone was my desire to escape >> the >> >>>>>> increasingly locked-down Apple philosophy. I had problems moving >> files >> >>>> back >> >>>>>> and forth between my linux computer and the phone. I'm glad to >> report >> >>>> that >> >>>>>> I had no particular difficulty installing J903 on the Pixel 6. The >> >> file >> >>>>>> locations are cumbersome; you need something like >> >>>>>>> >> >>>>>>> Apath=: >> >>>>>> '/storage/emulated/0/Android/data/com.jsoftware.j.android/files/' >> >>>>>>> >> >>>>>>> in your startup profile. But the good news is that you just need a >> >> USB >> >>>> C >> >>>>>> cable between your Pixel and computer and you just drag and drop >> files >> >>>> to >> >>>>>> transfer them back and forth. I used to test the speed of J on >> phones >> >> by >> >>>>>> inverting a 500 x 500 matrix -- on my old iPhone it took 0.5 sec, >> but >> >> on >> >>>>>> this Pixel it's down to 0.046 sec. (Need to use a larger matrix, >> e.g. >> >>>> 1000 >> >>>>>> x 1000 -> 0.37 sec.) It took a bit of fussing to install the Dykman >> >>>>>> keyboard but now its there and works great. I noticed there was a >> 2nd >> >>>>>> keyboard available but I haven't tried it. How does it differ? I >> must >> >>>> say >> >>>>>> that though I ran J programs on the iPhone, I seldom developed >> >> anything >> >>>> on >> >>>>>> it. But J903 on this Pixel 6 is so smooth that I've started writing >> >>>> (short) >> >>>>>> routines on it and copying them back to the laptop. >> >>>>>>> >> >>>>>>> My real reason for writing this report is ask for pointers to any >> >>>>>> discussions regarding J on android phones. The android OS is >> >> completely >> >>>> new >> >>>>>> to me. One glitch I encountered was when I modified a J routine >> with a >> >>>> text >> >>>>>> editor I'd installed on the Pixel. I got a strange file read >> error. It >> >>>>>> looked like the editor did something invisible to the file that >> ruined >> >>>> the >> >>>>>> J session -- all my definitions were gone and I had to kill J and >> >>>> restart. >> >>>>>> But if I made the file changes on the laptop and ported the file >> over, >> >>>> it >> >>>>>> was fine. Any suggestions for a good text editor for android? (I'm >> an >> >>>> old >> >>>>>> school vi guy, but I've not found a good plane vi.) >> >>>>>>> >> >>>>>>> Anyway, I appreciate any pointers of discussions of J on >> android... >> >>>>>>> >> >>>>>>> Patrick >> >>>>>>> >> >>>>>>> >> >> ---------------------------------------------------------------------- >> >>>>>>> For information about J forums see >> >> http://www.jsoftware.com/forums.htm >> >>>>>> >> >>>>>> >> ---------------------------------------------------------------------- >> >>>>>> For information about J forums see >> >> http://www.jsoftware.com/forums.htm >> >>>>>> >> ---------------------------------------------------------------------- >> >>>>>> For information about J forums see >> >> http://www.jsoftware.com/forums.htm >> >>>>>> >> >>>>> >> ---------------------------------------------------------------------- >> >>>>> For information about J forums see >> http://www.jsoftware.com/forums.htm >> >>>> >> ---------------------------------------------------------------------- >> >>>> For information about J forums see >> http://www.jsoftware.com/forums.htm >> >>>> >> >>> ---------------------------------------------------------------------- >> >>> For information about J forums see >> http://www.jsoftware.com/forums.htm >> >> ---------------------------------------------------------------------- >> >> For information about J forums see http://www.jsoftware.com/forums.htm >> >> >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
