I may be misreading your message, but want to point out that there can be (just as on all other platforms) multiple J processes on the Mac.

Start a terminal window and run < jw & > two times to get two J sessions.

Alternatively start 2 terminal windows, run jw in each, and you get two J sessions (processes).

Normally clicking a dock icon just activates an app if it is already running. Mac dock icons give menu options if you click them with the control key down. Click the terminal icon with the control key pressed and you get a menu oprtion for New Shell to start a second terminal window. The current J dock icon doesn't have this option so you need to start a second J session more manually. If someone knows how to add a New J menu item to the dock icon we will be happy to include the improvement it in the next release.

----- Original Message ----- From: "Oleg Kobchenko" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Tuesday, October 17, 2006 9:55 PM
Subject: Re: [Jprogramming] Mac OS X; closing the ijx window


The IJX window is the session log.
There can be only one session per instance of J process,
and by default on Mac this means single J process ever.
Thus there can be only one IJX window.

However, it should be possible to achieve the behavior
you are seeking: on closing the window, not disposing it
but hiding. E.g. having also an IJS window open

  wdforms''
+----+---+-+----+-+-----------------------------------+
|jijs|100|0|jijx|3|1.ijx - /Users/user/j601/temp/1.ijx|
+----+---+-+----+-+-----------------------------------+
|jijs|102|1|jijs|2|1.ijs - /Users/user/j601/temp/1.ijs|
+----+---+-+----+-+-----------------------------------+

  wd'psel 100;pshow sw_hide'   NB. 100 from 2nd column

Then from IJS Window menu, select Froms and activate IJX.
Now it's restored again. So it is possible to associate
clearing the log on such re-activation. One problem is
that if IJX is the last window, there is no menu or other
means to handle event, as they are form based.

In practical terms you need to add a shortcut key just
to clear the session. While my favorite key combination,
that is already defined is Cmd+A Del Enter.




--- Mike Powell <[EMAIL PROTECTED]> wrote:

I'm learning J and find it helpful to work with 3 windows open
together. I have the 1.ijx window, a .ijs script I'm working on and
the Help window in Safari (the Apple browser). As I write in the .ijs
window, I usually save and then switch to the .ijx window where I
load and play around with my coding efforts. After a while doing this
the .ijx can become quite messy. There comes a time when I seek the
easy way out and go to close the .ijx window. On the Mac, the usual
behaviour is that pressing the red button at top-left closes the
window, but leaves the application running. To my disappointment,
pressing red gets me the "Do I want to close" prompt. If I select
that, the entire J application closes down. Why can't I close
the .ijx session without quitting the J application? Which menu
option gets me a new .ijx session?

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



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
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