You can create your own ijx window from the the jijs class. This assumes you
have loaded all (or most) of the standard profile, but requested it to not
create an ijx window. Or you could tweak profile to create the jijx window
and make it invisible and then have a way of showing and hiding it. There
are infinite possibilities, but they require digging in and modifying the
behavior of the standard profile. You might also consider having your
logging/debugging write to a file rather than to the screen. Not sure how
noisy display fits with a locked script. Keep clarifying your requirements
as you pursue the various ideas people have presented.
----- Original Message -----
From: "Thomas Costigliola" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Friday, March 31, 2006 4:48 PM
Subject: Re: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
I can see wdstatus writes a string to the status window. So, one thing I
could do is read a script in as a file and execute it sentence by sentence
formatting the result as a string and put it in the status window.
But my problem is different. Consider the script I want to run is encrypted.
It is a blackbox. But with various (1!:2) calls at certain points the
sentence. I want to see the output of those on the screen in a window that I
created, not using the standard J session. Additionally I want to see the
output of each sentence in the script as if I did a noisy 0!:0.
From: =?ISO8859-1?Q?Bj=F6rn_Helgason?= <[EMAIL PROTECTED]>
Date: Fri Mar 31 15:13:26 CST 2006
To: Programming forum <[email protected]>
Subject: Re: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
It is
I was using it now
2006/3/31, David Vincent-Jones <[EMAIL PROTECTED]>:
not sure that wdstatus is implemented in the beta at this time ..
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Björn Helgason
Sent: Friday, March 31, 2006 11:39 AM
To: Programming forum
Subject: Re: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
you may want to look at wdstatus
2006/3/31, Thomas Costigliola <[EMAIL PROTECTED]>:
>
> I am bulding a stand-alone program (running with "-jprofile
> myprogram.ijs"). Can this be used to write the output of running a
> script to an ijx window I create myself? I have been looking at
> jijs.ijs but I cuold not figure out how the sessions knows that
> (1!:2)&2 should write to the ijx window. Is this hard coded? If so
> how, how exectly is the ijx window identified by internally?
>
>
>
> >From: "Miller, Raul D" <[EMAIL PROTECTED]>
> >Date: Fri Mar 31 12:43:46 CST 2006
> >To: Programming forum <[email protected]>
> >Subject: RE: [Jprogramming] (1!:2)&2 i.e. "Screen"
>
> >Thomas Costigliola wrote:
> >> What exactly is the "screen"?
> >
> >stdout on a console session, or the ijx window in a windowed session.
> >
> >--
> >Raul
> >
> >---------------------------------------------------------------------
> >-
> >For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23,
Skype: gosiminn, gsm: +3546985532
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) |
(`-. '--.)
`. )----'
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23,
Skype: gosiminn, gsm: +3546985532
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) |
(`-. '--.)
`. )----'
----------------------------------------------------------------------
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