I have recently started using gtk and jhs from the same directory and it is
quite convenient.
It also makes keeping the upgrades in line.
I am looking at tthe demos in jhs and working with the scripts in the gtk
window.
It may well be easy to do the editing in the jhs but I have not got the hang
of it yet.
I am more comfortable with the gtk tools for handling editing and working
with the scripts
I thus now have two command prompt windows hanging.
One serving the gtk part and one the server.
So I have three bat files one to start the JHS server and now the browser
too.
One starting gtk and one only starting the browser if the JHS is already
started.
I was doing some experiments with starting two JHS servers to have two
different jijx windows but it got a bit confusing and probably not worth the
effort.

2011/1/7 Eric Iverson <[email protected]>

> There are many ways to customize your JHS. I'm not sure the approach you
> suggest is the best. If one uses J a lot then it might be best to start JHS
> once and just leave it running so it is always ready to serve. If one uses
> J
> rarely, then special steps probably aren't warranted.
>
> What I have found works for me is to have JHS started when the system
> starts. In windows this can be done by putting in a link to jhs.bat in your
> startup folder. There are equivalents in other hosts.
>
> I find that having a jijx bookmark in the browser is sufficiently
> convenient
> and haven't bothered making an icon that launches a browser with jijx.
>
> 2011/1/7 Björn Helgason <[email protected]>
>
> > I have up to just now used either two bat files or just the jhs bat and
> > copied the server entry by hand from the command window to the browser.
> >
> > I now added the browser start entry into the jhs bat file and it works
> > nice.
> >
> > Important to put the browser start on a line before the call to J because
> > the J server line hangs and waits for J to end
> >
> > ----------------- new jhs.bat
> >
> >  C:\Users\bjorn\AppData\Local\Google\Chrome\Application\chrome.exe
> > http://127.0.0.1:65001/jijx
> >
> >
> > %~dp0jconsole ~addons/ide/jhs/core.ijs -js " init_jhs_ 65001  0 "
> >
> > ...
> >
> > rest of old jhs.bat
> >
> > ---------------------- end of jhs.bat
> >
> >
> > So depending how quickly the server and the browser start
> >
> > If the jhs server is there before the browser is up it is ok.
> >
> > If the browser is there first then it is just a question of refreshing
> the
> > browser page after the server is up.
> >
> >
> > --
> > Björn Helgason, Verkfræðingur
> > Fornustekkum II
> > 781 Hornafirði,
> > t-póst: [email protected]
> > gsm: +3546985532
> > sími: +3544781286
> > http://groups.google.com/group/J-Programming
> >
> >
> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> >
> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >          /|_      .-----------------------------------.
> >         ,'  .\  /  | Með léttri lund verður        |
> >     ,--'    _,'   | Dagurinn í dag                     |
> >    /       /       | Enn betri en gærdagurinn  |
> >   (   -.  |        `-----------------------------------'
> >   |     ) |         (\_ _/)
> >  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
> >   `. )----'        (")_(") ☃☠
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm




-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to