In ~config,

Cheers,

Mike

Sent from my iPad

> On 21 Nov 2022, at 08:06, bill lam <[email protected]> wrote:
> 
> Where is the startup.ijs that I can save my utilities verbs and run
> automatically when J boots up?
> 
>> On Mon, 21 Nov 2022 at 7:59 AM Ian Clark <[email protected]> wrote:
>> 
>> @ Bill
>> pm-ed you with the scripts.
>> 
>> Ian Clark
>> 
>>> On Sun, 20 Nov 2022 at 14:03, bill lam <[email protected]> wrote:
>>> 
>>> Ian, can you attach the updated ios.ijs as text attachment here? I want
>> to
>>> try copy and paste.
>>> 
>>>> On Sun, 20 Nov 2022 at 6:16 PM Ian Clark <[email protected]> wrote:
>>>> 
>>>> @ jerome
>>>> 
>>>> You have an out-of-date version of: j/system/ios/ios.ijs
>>>> 
>>>> 
>>>> The app bundle has an up-to-date copy, but the recent App Store update
>>> has
>>>> not replaced your old copy. I have logged this as a bug.
>>>> 
>>>> 
>>>> Workaround
>>>> 
>>>> 
>>>> [1] Use Files app to copy the entire j/ folder from your sandbox to
>> your
>>>> iCloud Drive (for restoring lost files)
>>>> 
>>>> [2] Remove app: jios 903.1 from your device entirely
>>>> 
>>>> [3] Reinstall jios 903.1 from App Store
>>>> 
>>>> If unsure how to do these things, ask me.
>>>> 
>>>> 
>>>> Observations
>>>> 
>>>> 
>>>> Some users don't want an App Store update to overwrite sandbox scripts
>>> they
>>>> have edited. But some new features don't work unless (some) existing
>>>> (system) scripts are replaced.
>>>> 
>>>> 
>>>> The app already has ways to address the issue without reinstalling, but
>>>> they are unreliable, tricky to use and need a deep knowledge of both
>> iOS
>>>> and App Store. Basically you must force jios to do a "maiden run".
>>>> 
>>>> 
>>>> On other platforms, pacman addresses this issue. But App Store
>> prohibits
>>>> pacman for security reasons. At present the only reliable way to
>> release
>>> an
>>>> upgraded addon or system script is to ship a new release.
>>>> 
>>>> 
>>>> Apple provides a better way, viz. a "public database". I am
>> investigating
>>>> it.
>>>> 
>>>> 
>>>> Ian Clark
>>>> 
>>>> On Sat, 19 Nov 2022 at 14:53, jerome fontaine <
>> [email protected]
>>>> 
>>>> wrote:
>>>> 
>>>>> Hello from France
>>>>> Jios 903.1    iOS 15.6.1  and. 15.7.1
>>>>> Edit panel displays a message in lite Gray
>>>>> value error: monadspaced
>>>>> not possible to write anything
>>>>> Home/term  loadd ok
>>>>> I can work with samba Network to modify my files
>>>>> J901 Was ok
>>>>> 
>>>>> Le mer. 16 nov. 2022 à 19:55, 'Mike Day' via General <
>>>>> [email protected]>
>>>>> a écrit :
>>>>> 
>>>>>> 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
>>>>>> 
>>>>> 
>> ----------------------------------------------------------------------
>>>>> 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

Reply via email to