The name of break file is pid of J process, you can acheive the same effect
of clicking the yellow icon by sending an int signal to J, eg.
kill -2 18887

assuming J has the chance to process that signal. What J saw is an execution 
error which can be trapped by try. catch., eg

t1=: 3 : 0
try.
while. do. a=. 1 end.
catch.
smoutput 'break'
end.
''
)


Сбт, 09 Апр 2011, Ian Clark писал(а):
> Cunning! The J prompt. Of course...
> 
> I'm going to poll the jbreak file in my duty-cycle first. If the
> overhead is excessive, I'll try seeding immex instead.
> 
> On Sat, Apr 9, 2011 at 6:54 PM, Raul Miller <[email protected]> wrote:
> > On Sat, Apr 9, 2011 at 1:48 PM, Ian Clark <[email protected]> wrote:
> >> Sorry, I don't see how immex helps me detect jbreak...?
> >
> > Immex runs right before J prompts.
> >
> > J prompts when your routine ends, or from jbreak.
> >
> > --
> > Raul
> >
> ----------------------------------------------------------------------
> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to