On 25 Sep 2013 11:04:33 -0700, Joey K Tuttle <[email protected]> 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                                    [email protected]
Mathematics & Statistics Dept.       
Lederle Graduate Research Tower            
University of Massachusetts  
710 North Pleasant Street   
Amherst, MA 01003-9305





----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to