Thanks, Ian. I've just tried closing the edit tabs again. The last remaining tab showed <READFAIL>, but this time, I got the warning message when I attempted to close it. No idea what's changed! So it seems you're ok there.
I'll private message you with those verbs; I was getting round to the idea of a stack overflow, but guidance would be welcome on how to set a memory limit; is there a global we can set? Infinite recursion is unlikely; I'll put a counter into the recursion on the laptop to give us some idea of the depths of successful and failing calls. (ie, failing when in jios.) This cr/lf mess has been around for decades! I do of course realise that manual intervention can remove gratuitous extra blanks replacing redundant CRs; let's hope you manage to correct this tedious "bug". While I remember, I was getting annoyed when transferring many ijs scripts from Windows to iCloud using the laptop, and then "moving" them to ~user because their time stamps kept disappearing. I've discovered a DOS utility called robocopy which does preserve attributes ignored by other mechanisms. (xcopy might have done the trick, if I'd found the right switches.) A simple batch file worked for me. Thanks again for all the hard work. Mike Sent from my iPad > On 16 Nov 2022, at 16:53, Ian Clark <[email protected]> wrote: > @ Mike > > Please give me more precise instructions on how to reproduce the crashes > you are experiencing. > > The editor needs at least one script before it can appear. Trying to close > the last tab will show a warning alert, not a crash. If you've been able to > defeat the protections against this happening, I'd like to know how. > > Your maze verbs are unlikely to be crashing due to running out of memory, > but out of stack. An infinite recursion will crash jios instead of giving > |stack error as it should. The fix will be to upgrade JE. > > Where can I see your dfmaze / dfmazel verbs? Without them I don't have > enough information to reproduce the bug. > > If a script terminates its lines with CRLF instead of LF (as it will if > imported from Windows) then the redundant CR will be converted into a > space. I believe the system verbs: load, open, fread automatically convert > CRLF to LF in all versions of J IDE. The jios editor does not, because it > reads scripts directly and does not ask JE to help it. I shall treat this > as a bug, and fix it in the next release. Meanwhile a workaround is to > re-save the offending script having deleted the unwanted whitespace (CR). > > Ian > > On Wed, 16 Nov 2022 at 15:47, Ian Clark <[email protected]> wrote: > >> @ Marv >> >> Try: >> NO_BEEPS_i_ =: 1 >> >> Locale 'i' has several "watched nouns" you can reset this way. Their names >> give you a clue what they do. >> >> Having a dot-command to toggle beeps is a good idea. I'll try it out. >> >> On Wed, 16 Nov 2022 at 12:44, Mark Shaw < >> [email protected]> wrote: >> >>> Hi Ian >>> Thank you for your hard work on the iOS version of J903, which runs fairly >>> nicely on my iPhone 7+. >>> The only problem I have at the moment is that occasionally I need the app >>> to be completely silent. Neither turning down the iPhone's volume nor >>> switching to silent mode were unable to silence all noise. Before the >>> update, I found a programmatic way of doing this using the config file, >>> which I cannot now recall. (I forgot about this issue and so the automatic >>> update overwrote my file before I could back-up my solution!) >>> Are you able to recommend a solution? Or a way or better - consider adding >>> a 'dot' command to set a 'slient-mode' flag, which allows 'silent >>> running'. >>> Many thanks >>> Marv >>> On Fri, 11 Nov 2022 at 23:03, Ian Clark <[email protected]> wrote: >>>> Release 1.1 of j901 for iOS/iPadOS (version was 1.0) has been accepted >>> by >>>> Apple and is now available on App Store. If you have automatic updates >>> set, >>>> it will auto-update your installed app. Otherwise you need to >>> re-install it >>>> to get the latest version. >>>> For safety's sake, copy the whole of the j/ folder in "On My iPad" to >>>> iCloud Drive, to serve as a backup for lost/regressed files. >>>> Subject to the limits of my ability to test it, it ought not to lose any >>>> files in j/user or j/config you've created / updated. However it will >>> erase >>>> and replace the whole of '~addons' and '~system'. >>>> Note that '~addons' now contains the latest JAL (aka pacman) addons. >>> This >>>> is not to guarantee they will run. Specifically: >>>> ++ no dylibs are bundled with the product. You can try putting these >>> back, >>>> but you need arm64 versions of these binaries. >>>> ++ App Store rejected some addons/api scripts when I submitted the new >>>> bundle. >>>> ++ Windows Driver (wd) is not supported – and that includes GL2 >>>> There are known issues with the app, especially ones that have surfaced >>> in >>>> the last 2 months. It was considered essential to get the tested update >>>> into App Store, and proceed by small steps, rather than indefinitely >>> delay >>>> releasing the first update. It will be easier to negotiate with Apple >>>> Review if a given update fixes one and only one issue per release. E.g >>> a JE >>>> upgrade or updating to the latest JAL. >>>> For a list of the main fixes/new features, see the app's page on App >>> Store. >>>> I will update Guides/iOS in due course. I hadn't expected the Apple >>> review >>>> to go through so quickly. >>>> Ian Clark >>>> On Mon, 7 Nov 2022 at 01:32, Ian Clark <[email protected]> wrote: >>>>> Release 1.1 of j901 for iOS/iPadOS (current version is 1.0) has been >>>>> submitted to Apple App Store for review. If it passes review, it will >>> be >>>>> immediately available on App Store. >>>>> I'm announcing it now to give you time to switch off automatic >>> updates, >>>> if >>>>> you'd rather download the new version yourself from App Store at a >>> time >>>> of >>>>> your own choosing. Once you download the update (1.1), the old version >>>> 1.0 >>>>> cannot be re-installed. >>>>> I shall announce Apple's decision when they give me it. >>>>> The App Store entry will summarise changes. Essentially this is a >>>> bug-fix, >>>>> plus optional syntax coloring in the Editor. Apart from that, the >>>>> look-and-feel is basically unchanged. >>>>> Ian Clark >>>> ---------------------------------------------------------------------- >>>> 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
