The instructions are windows centric and won't work on osx or linux. It is
not easy to edit launch icon properties on osx and linux.

Here is a sketch of the steps required on osx:

right click icon
 click show package contents
  click contents
   click MacOS
    right click apprun
     click other
       scroll down and click textedit

This should get you an edit window on the shell script that will start jhs.
Edit the relevant part ~addons/... to be ~config/any65002.cfg

I hadn't fully realized how cumbersome this is and it will be simliarly
awkward on linux.

I will change shortcut.ijs to be able to easily create new icons with new
parameters. Meanwhile, I hope the above tedious steps help.

On Wed, Feb 22, 2017 at 4:46 PM, Brian Schott <[email protected]>
wrote:

> I am attempting to follow the instructions at the following link in order
> to construct a new config file that can allow me to access JHS from my iPad
> on my home LAN.
>
> I am using a Mac.
>
> http://code.jsoftware.com/wiki/Guides/JHS/Server#Custom_Config
>
> ​I think my main question is the following.
>
> "edit any65002>properties>target from ~addons/... to be
> ~config/any65002.cfg"​
>
> How do I
> ​do
>  the
> ​above
>  instruction. On my Mac I cannot find a menu or whatever that produces the
> "any65002>properties>target".
>
> ​B
> elow is my recollection of the steps I took to get me to need to do this
> step which I am calling my main question.
>
> ​I attempted to open jconsole and follow the first instructions but got
> stumped because `open f` failed as I show below.
>
> server:~ brian$ /Applications/j64-805/bin/jconsole ; exit;
>    f=: '~config/any65002.cfg'
>    f fcopynew '~addons/ide/jhs/config/jhs.cfg'
> 1 329
>    open f
> |value error: open
> |       open f
>
> ​So I manually duplicated jhs.cfg and renamed the copy any65002.cfg in the
> same directory as jhs.cfg.​
>
>
> Now, at the above link I am attempting to follow the following instructions
> which I assume are meant to follow the failed ones above, even if the
> failure was a success. If I am wrong then I think the instructions should
> say that the two groups of instructions are alternatives and not a
> continuing sequence.​
>
> On your desktop:
>
> copy/paste the jhs805 launch icon
> rename the copy to be any65002
> edit any65002>properties>target from ~addons/... to be ~config/any65002.cfg
>
> ​In MacVim the file
> /Applications/j64-805/addons/ide/jhs/config/any65002.cfg
> is as follows.
>
> NB. start JHS - run jconsole and load this (or other cfg) script
> NB. create other cfg - copy this file, rename, and edit
> NB. see configdefault_jhs_ for config options
>
> config_jhs_=: 3 : 0
> NB. add/edit config options here
>
> PORT=: 65002 NB. serve port 65001
> BIND=: 'any'
>
> NB. do not edit after here
> )
> load'~addons/ide/jhs/core.ijs'
> init_jhs_''
>
>
> In terminal I see the following.
>
> server:~ brian$ ls -l
> /Applications/j64-805/addons/ide/jhs/config/any65002.cfg
> -rw-r--r--  1 brian  staff  342 Feb 22 15:58
> /Applications/j64-805/addons/ide/jhs/config/any65002.cfg
> server:~ brian$​
>
>
> --
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> 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