In case you are not aware, it is possible to launch jqt through command line 
with command line parameters that start functions.  If you are doing this for 
websockets, then you can use sockets or websockets for ongoing inter-process 
communications.  Perhaps there is a way to return something to the command line 
too on exit, but odds are you want ongoing communications rather than a 
blocking process that returns something.

jqt takes in the neighbourhood of 10MB of memory.


----- Original Message -----
From: Devon McCormick <[email protected]>
To: J-programming forum <[email protected]>
Cc: 
Sent: Wednesday, July 9, 2014 9:13:33 AM
Subject: Re: [Jprogramming] Qt under jconsole?

The thing I find annoying is that with the gtk graphics, I could call
graphical things from the console.  Qt breaks attempting to define "wd":

   load 'd:\users\devonmcc\j64-802\addons\ide\qt\qt.ijs'
|domain error: wd1
|wd1[0]
      13!:1''
|domain error
*wd1[0]
|   'r c l p n'=.    wd1(,y);(#,y);(,2);(,0)
|wd[0]
|   ver=.    wd'version'
|checkjqtversion[1]
|       checkjqtversion''
|[-248] d:\users\devonmcc\j64-802\addons\ide\qt\qt.ijs
|       0!:0 y[4!:55<'y'
|script[0]
|fn[0]
|       fn fl
|load[:7]
|   0     load y
|load[0]
|       load'd:\users\devonmcc\j64-802\addons\ide\qt\qt.ijs'
      wd1
'"libjqt" wd + i *c i * *i'&(15!:0)


On Wed, Jul 9, 2014 at 8:18 AM, Jan-Pieter Jacobs <
[email protected]> wrote:

> Well I think this is a broader problem ... jconsole is a sort of
> second-rank citizen, while it comes in really handy when GUI's are
> inaccessible or clumsy to tackle. Eg. I might be working in jconsole, but
> do want plots to work as expected.
>
> Summarised: it would be great to have simple console access to J, without
> having to use the IDE. Whether or not windows have to pop up could be
> assessed looking at the $DISPLAY environment variable (or whatever is
> equivalent in other OS's).
>
> Jan-Pieter
> On 9 Jul 2014 12:43, "Dan Bron" <[email protected]> wrote:
>
> > If you're using emacs and not the Qt frontend, there's no (appreciable)
> > difference between J8, J7, and J6.
> >
> > Though they have different version numbers, the only significant
> > difference between them is the default development environment, which is
> > irrelevant to you.
> >
> > In other words, keep using J7+Emacs; you're not missing out on anything
> in
> > J8.
> >
> > -Dan
> >
> > Please excuse typos; sent from a phone.
> >
> > > On Jul 9, 2014, at 6:33 AM, Devon McCormick <[email protected]>
> wrote:
> > >
> > > Is this something to do with the Qt implementation under Windows?
> > >
> > > It's very frustrating for me as it means I have to choose between J8
> and
> > > emacs - and, for now, emacs wins.
> > >
> > >
> > >> On Wed, Jul 9, 2014 at 6:20 AM, bill lam <[email protected]> wrote:
> > >>
> > >> I suspect this cannot be done.
> > >>> On Jul 9, 2014 6:12 PM, "Devon McCormick" <[email protected]>
> wrote:
> > >>>
> > >>> Is there any way to run Qt-related things under the jconsole?  In
> J7, I
> > >>> could run gtk image fns from my jconsole but the Qt things I want to
> > run
> > >>> seem to blow up on the definition of "wd".
> > >>>
> > >>> I really just want a way to run a system timer in the background
> from a
> > >>> console session.
> > >>>
> > >>> Has anyone done anything like this in J8?
> > >>>
> > >>> Thanks,
> > >>>
> > >>> Devon
> > >>> --
> > >>> Devon McCormick, CFA
> > >>>
> ----------------------------------------------------------------------
> > >>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >
> > >
> > >
> > > --
> > > Devon McCormick, CFA
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm



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



-- 
Devon McCormick, CFA
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to