[Jprogramming] How get JHS to work on Mac OS X?

Murray Eisenberg murray at math.umass.edu
Thu Sep 26 03:07:57 UTC 2013


On 25 Sep 2013 11:04:33 -0700, Joey K Tuttle <jkt at qued.com> wrote:

Your script works perfectly, with the change for Safari and the bad line break in your listing fixed.

[murray: ~] cat jhs8
#!/bin/bash
(sleep 5; open -a "Safari" http://127.0.0.1:65001/jijx) &
/Volumes/MacHD/Applications/Programming/J/j64-801/bin/jconsole ~addons/ide/jhs/core.ijs -js "init_jhs_'' "

thanks!

> In my (infrequent) use of jhs, I use a script located in /usr/local/bin 
> that when used looks like this:
> 
> iMi7:~ jkt$ cat /usr/local/bin/jhs8
> #!/bin/bash
> (sleep 5; open -a "Google Chrome" http://127.0.0.1:65001/jijx) &
> /Applications/j64-801/bin/jconsole ~addons/ide/jhs/core.ijs -js " 
> init_jhs_'' "
> 
> iMi7:~ jkt$ jhs8 &
> [1] 23263
> iMi7:~ jkt$
> J HTTP Server - init OK
> 
> Requires a modern browser (later than 2005) with Javascript.

---
Murray Eisenberg                                    murray at math.umass.edu
Mathematics & Statistics Dept.       
Lederle Graduate Research Tower            
University of Massachusetts  
710 North Pleasant Street   
Amherst, MA 01003-9305







More information about the Programming mailing list