> From: bill lam
> On Mon, 13 Jul 2009, Sherlock Ric wrote:
> > * rather than try and improve the cross-platform utility of jtask
> > so that it can be used to build cross-platform solutions, it
> > implies that individual developers should come up with their own
> > solutions.
>
> But I think that jtask is window specific. For example its LAUNCH verb
>
> LAUNCH=: ('gnome-open';'open';'start') {::~ ('Linux';'Darwin')i.<UNAME
>
> does not work well in linux because it depends on gnome desktop and
> not work for other such as kde. Even when gnome is used, a program
> can be launch in various ways,
I agree that task.ijs probably started off as a Windows script to provide the
sort of functionality that 2!:x are supposed to provide on Linux. However all
the verbs contain some sort of solution for Linux. Earlier in this thread I've
proposed some improvements to some of the current definitions.
My preference would be to improve the Linux handling in the script and attempt
to make it useful for cross-platform work. I think that would be a valuable
resource for the base library.
I think the idea of the launch verb is to open a document without specifying
what application should be used. i.e. launch 'my.pdf' should open the document
in the application specified in the shell as being associated with that
document type.
Can you suggest a better way of handling or extending the verb "launch" so that
it works for Linux running KDE too?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm