Brian,

Perhaps the instruction in jwiki assumed you had already
launched a jhs session. I think that if you need to use the
verb open for edit, you have to either run a jhs or a jqt
session.

If you run a jhs session, the first line (load'jhs') is not
needed.

I think jhs should run out-of-box in a fresh install without
any customization.  To further customization, you can start
a jhs sessin and follow steps in jwiki (changed to shortcut 'jhs').

If you want to edit files inside jconsole, then first define the
external editor, eg. 

Editor_j_=: 'vi'  NB. assume vi is avaiable and in PATH
xedit jpath f

That said, the open verb in jqt or jhs is more user frendly.

Чт, 31 авг 2017, Brian Schott написал(а):
> Bill,
> 
> I tried the 3 lines you suggested (load, load, shortcut' and got no errors.
> The error came with the open command. So what do I do then? See my session
> below.
> 
>    load'jhs'
>    load'~addons/ide/jhs/installer.ijs'
>    shortcut 0
> |domain error: shortcut
> |   e=.'create ',y    ,' launch icon failed'
>    shortcut 'jhs'
>    f=: '~config/any65002.cfg'
>       f fcopynew '~addons/ide/jhs/config/jhs.cfg'
> 1 342
>    open f
> |value error: open
> |       open f
> 
> 
> On Thu, Aug 31, 2017 at 7:40 PM, bill lam <[email protected]> wrote:
> 
> >    shortcut
> > 3 : 0
> > e=. 'create ',y,' launch icon failed'
> > if. 2~:ftype jpath'~/Desktop' do. echo e,' - no Desktop folder' return.
> > end.
> > try. ".UNAME,'_jinstaller_ y' catchd. echo e end.
> > )
> >
> > Therefore I think you can try,
> >
> > load 'jhs'
> >
> >  load'~addons/ide/jhs/installer.ijs'
> >
> > shortcut 'jhs'
> >
> > The verb open should be defined in jhs or jqt front-end , but not in the
> > base library.
> >
> >
> > --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to