Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Misc. Carbon MacForth help?

5 views
Skip to first unread message

Charles Turner

unread,
Jul 10, 2007, 10:26:36 AM7/10/07
to
Hey ho all-

Two simple questions that maybe someone can help with:

1) Roelf had mentioned a while back about OLD.WINDOW.BEHAVIOR set to
OFF as part of a SYS.WINDOW solution to keep it from QUIT-ing when it
loses focus. I read the bit in the manual about window behavior, but
I'm stumped concerning which include file the SYS.WINDOW event
handling code is located in. Any pointers?

2) I find it an irritation that the initial Sibley window is tucked a
few pixels under the menubar and I'd like to lower it. The suggestions
(EDITOR.BOUNDS) in one of the README files led to some weird behavior.
I looked at the Editor code and it seems there are a number of likely
places to begin fiddling. But before I do, does anyone know exactly
where I should be looking?

Best to everyone out there! Charles

Roelf Toxopeus

unread,
Jul 11, 2007, 5:16:36 AM7/11/07
to
In article <1184077596.1...@57g2000hsv.googlegroups.com>,
Charles Turner <vze2...@optonline.net> wrote:

hi Charles,

1. It's in the root with all the other default event stuff.
AFAIK not in a separate include file.

2. This doesn't happen on my systems, what are you using?
BTW does anyone happen to know how I can turn the 'automatic
open a Sibley window on launch' off?

Charles Turner

unread,
Jul 12, 2007, 4:27:31 PM7/12/07
to
Roelf Toxopeus wrote:

> 1. It's in the root with all the other default event stuff.
> AFAIK not in a separate include file.

OK, but I'm confused. If I want to have my SYS.WINDOW not to QUIT when
it loses focus, I have to set OLD.WINDOW.BEHAVIOR to OFF. But there
must be more, as this does nothing for me.

> 2. This doesn't happen on my systems, what are you using?
> BTW does anyone happen to know how I can turn the 'automatic
> open a Sibley window on launch' off?

I fixed it: found the place in the Editor file. It was off by 2
pixels, like this:

<http://www.propheticdesire.us/sibley.png>

Looked around for the "auto launch" but so far no luck...

Thanks! Charles

Roelf Toxopeus

unread,
Jul 12, 2007, 7:48:22 PM7/12/07
to
In article <1184272051.8...@k79g2000hse.googlegroups.com>,
Charles Turner <vze2...@optonline.net> wrote:

> Roelf Toxopeus wrote:
>
> > 1. It's in the root with all the other default event stuff.
> > AFAIK not in a separate include file.
>
> OK, but I'm confused. If I want to have my SYS.WINDOW not to QUIT when
> it loses focus, I have to set OLD.WINDOW.BEHAVIOR to OFF. But there
> must be more, as this does nothing for me.

Sorry, yes, there is more. This was just for starters :-)
My code to do this is on the MF board snippets section, I'll send you
the latest version.

>
> > 2. This doesn't happen on my systems, what are you using?
> > BTW does anyone happen to know how I can turn the 'automatic
> > open a Sibley window on launch' off?
>
> I fixed it: found the place in the Editor file. It was off by 2
> pixels, like this:
>
> <http://www.propheticdesire.us/sibley.png>

Aaaah, yes I see. I have the same, hadn't noticed it before you showed
this. Now I want to have this fixed of course.
Where in Editor (it's huge)?

Charles Turner

unread,
Jul 15, 2007, 2:49:18 PM7/15/07
to
Roelf Toxopeus wrote on 7/12/07 at 8:04 PM

>Aaaah, yes I see. I have the same, hadn't noticed it before you showed
>this. Now I want to have this fixed of course.
>Where in Editor (it's huge)?

Sorry! I get the comp.lang.forth.mac in digest form so there's a
lag...

Look in the "Editor" file around line 324:

>>dY dX
>> _GetMBarHeight 40 min 22 + \ initial TOP value
>> left \ arrange: dY\dX\T\L
>> howHigh howWide

I changed the value 20 to 22.

Best, Charles


0 new messages