This is how I understand it:
The instructions in ~addons/ide/jhs/config/jhs_default.ijs read as follows:

NB. JHS initialization loads 3 files in turn (if they exist)
NB.  ~addons/ide/jhs/config/jhs_default.ijs
NB.  ~addons/ide/jhs/config/jhs.ijs
NB.  ~config/ide/jhs/config/jhs.ijs

If you want to change the default settings you can create a file called jhs.ijs 
located in ~addons/ide/jhs/config/ (note this file doesn't exist yet and won't 
be overwritten by newer versions of the ide/jhs addon). I imagine that settings 
defined in this file are intended to change the default settings for all users 
of a J installation.

Alternatively you could change the default settings for a specific user by 
creating a file jhs.ijs in the folder ~config/ide/jhs/config/  (note that this 
folder and file don't exist yet), the ~config folder will normally be under 
your ~user folder, mine is:
   jpath '~config'
c:/users/rsherloc/j701-user/config

The latest version of the ide/jhs addon is 1.0.14 and should be downloadable 
using the package manager. You can check the version number you have by 
clicking on the "installed" button. Remember that you will need to restart your 
jhs instance to access the updates.

> From: Joey K Tuttle
> Sent: Tuesday, 10 August 2010 08:05
> 
> I'm still wandering around confused...
> 
> When I install the system from the current dowload shell file, I see
> that directory j64-701/addons/ide/jhs contains files dated in in
> early June. But there is no "config" directory - it is in this state
> that I can edit ~bin/jhs changing the 0 to 1, and get a session in my
> browser.
> 
> There things work OK and if go to JAL and update and get ide jhs,
> back in the jijx screen I see:
> 
> Updating server catalog...
> Updating server catalog...
> Installing 1 package
> Downloading ide/jhs...
> Installing ide/jhs...
> Done.
> 
> Now on the server there are several new files dated 8/4 including a
> new jhelp.ijs file (which is 40 bytes smaller than the older one) and
> directory "config" which contains only file jhs_default.ijs - reading
> that file, I decided to make an edited copy in ide/jhs (which the
> default file says will be read) but that didn't guide me out of my
> confusion.
> 
> So - i ignored the direction in jhs_default.ijs to not edit it, and
> put "any" in  place of "localhost" - that does let me start jhs and
> see it from a browser on another machine.
> 
> Now at least I can have a jsession and see the newer browser
> presentation. The labs work OK for the first one, but bomb on chapter
> 2, maybe loading more packages will help that. However, I still can't
> try the new lineplot or pieplot...
> 
> Anyway, a little progress - thanks for your helps, I'll be
> patient/quiet waiting for some more filling in of blanks in the next
> distribution. Presumably I'm now able to use "Package Manager" to
> pick up new stuff.
> 
> - joey
> 
> 
> 
> At 12:30  -0400 2010/08/09, Eric Iverson wrote:
> >A more careful reading of your message and I realize you are caught by
> >changes in conffig between releases.
> >
> >If/when you got the new version running somewhere you would see in the
> help
> >that the way config is done has changed. After you get the update
> installed
> >on your server you should read ~addons/ide/jhs/jhs_default.ijs and
> follow
> >the instructions for changing things to allow remote access.
> >
> >On Mon, Aug 9, 2010 at 9:05 AM, Eric Iverson
> <[email protected]>wrote:
> >
> >>  Sounds like somewhere along the way I've messed up the remote
> access/login
> >>  stuff. I'll try to sort it by the end of tomorrow.
> >>
> >>
> >>  On Sun, Aug 8, 2010 at 8:12 PM, Joey K Tuttle <[email protected]> wrote:
> >>
> >>>  I'm lost in the swamp... I decided it was time to update my beta
> >>>  stuff and try some of the big deal stuff on my own machines. So, I
> >>>  started on the Linux 64 bit installation and got stuck in the mud
> -
> >>>  then went to my 32 bit server and got to the same dead end...
> >>>
> >>>  In both cases, the first time I tried running jhs I got the
> following
> >>>  output:
> >>>
> >>>  ~~~
> >>>   ./jhs
> >>>
> >>>  J HTTP Server - init OK
> >>>
> >>>  Edit startup to change 65001 or access/noaccess from other
> machines.
> >>>  Default startup is: /usr/local/lib/j701/bin/jhs
> >>>
> >>>  Requires a modern browser (later than 2004) with Javascript.
> >>>
> >>>  A : separates ip address from port. Numeric form ip can be faster
> than
> >>>  name.
> >>>
> >  >> Access from another machine:
> >>>     http://10.1.2.10:65001/jijx
> >>>
> >>>  Start a web browser on this machine and enter URL:
> >>>     http://127.0.0.1:65001/jijx
> >>>
> >>>  ~~~
> >>>
> >>>  (this after editing jhs to replace the 0 (local machine) with 1
> >>>  (other machines) - required because the servers don't have
> browsers
> >>>  etc. In both cases I was able to get to the jal screen and install
> >>>  updates. I was trying to get to run the examples below and when I
> >>>  looked at JAL "Installed" it said I was IDE JHS version 1.0.14
> >>>
> >  >> But then - when I tried to kill and restart the server task, it
> >>>  refuses to connect to an outside machine and the bit in the above
> >>>  about "Access from another machine:" is missing .... and no more
> am I
> >>>  able to have a browser connect to the server.
> >>>
> >>>  The only way I have found to remedy this is to delete all of the
> J701
> >>>  library, reinstall, edit again the jhs file (for other machine
> >>>  access) - but then I'm down level without the ability to try the
> big
> >  >> deal things ....
> >>>
> >>>  or indeed even    i. 5   :(
> >>>
> >>>  The only consoling news is that jconsole works fine through all of
> this.
> >>>
> >>>  Help?
> >>>
> >>>  - joey
> >>>
> >>>  PS - I also forgot/lost my last password at jsoftware JUM so I
> can't
> >>>  even look at things there  :(  ^2
> >>>
> >>>  (Question - is there a way to start over on that point? Next time
> >>>  I'll tape my password to the wall....)
> >>>
> >>>
> >>>  At 20:06  -0400 2010/07/29, Eric Iverson wrote:
> >>>  >A new JHS update is available. It adds a dozen lines of new J
> code and
> >>>  gives
> >>>  >a hint at what is available through Google Charts.
> >>>  >
> >>>  >An interesting example of the power of
> browser/web/html/javascript and
> >>>  cloud
> >>>  >computing.
> >>>  >
> >>>  >Use JAL (Package Manager) to install version 1.0.12 and then
> restart JHS.
> >>>  >
> >>>  >In jijx try:
> >>>  >    plotlines 'fubar';'abc|def';400 200; 2 10$?20#1000
> >>>  >    plotpie 'fubar';'abc|def|ghi';400 200; 50 24 12
> >>>  >
> >>>  >Look at the dead simple the J code. The functions just pack up
> the info
> >>>  for
> >>>  >the chart you want and request it as a URL from the google charts
> web
> >>>  site
> >>>  >and a png file is sent back in return.
> >>>  >
> >>>  >Amazing, state the art plotting with only a few lines in total of
> J code!
> >>>  >
> >>>  >And normal browser services allow you to save the png file, open
> in a new
> >>>  >tab, etc.
> >>>  >
> >>>  >See google chart on the web for examples and documentation on all
> the
> >>>  >possbilities.
> >>>  >
> >>>  >This exact same stuff is available to users of the JHS server at
> >>>  Jsoftware
> >>>  >jum. You'll have to use jum to kill your task with the older
> version and
> >>>  >restart you task with the new version and then the examples from
> above
> >>>  will
> >>>  >work exactly the same.
> >>>  >
> >  >> >I think this is a big deal!
> ----------------------------------------------------------------------
> 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