Dear Graeme,
On 2-Nov-07, at 11:34 PM, Graeme Prentice wrote:
>
> Hi
>
> Just trying factor for the first time and found a slight problem.
> Running factor-nt.exe (downloaded 1 Nov) on Win XP pro
>
> If I type
> ui help
>
> in the input window, I get a new "Factor workspace" that says
>
> Note: ui not in search path; automatically using ui
>
> Following this, dragging the title bar of the new "factor
> workspace" results
> in continuous creation of new "error windows" - top level windows
> thet have
> "Error" in the title bar and some text - "Generic word world-
> active? does
> not define a method for the POSTPONE f class"
I reproduced this too.
The snippet "ui help" first calls the 'ui' word, then calls the
'help' word. This is almost certainly not what you wanted. The 'ui'
word actually launches the graphical environment together with the
event dispatch thread. This word is called when Factor starts; but
calling it with the UI already running confuses Factor.
So its a case of, "don't do that" :-) In theory, the ui word could do
a sanity check, and bail out if an event dispatch thread is already
running. But this rules out interesting and legitimate applications,
such as having two UI instances running with different UI backends,
or both using the X11 backend, but connected to different displays.
> - when the number of these "Error" windows reached 107 or so
> (Windows
> taskbar icon for factor shows 107), they stop being created. This
> is very
> repeatable on my system so let me know if you want more info.
The event dispatch thread displays an error window if it catches an
error while handling an event. There is a maximum number of OpenGL
windows which can be created. On your system, it appears to be 107.
Hopefully, there should be no reason to have this many windows open
under normal circumstances.
> Anyway, I know it's "help ui" not "ui help" but I was actually
> tring to make
> it crash after it first happened to me, and ui help was what I tried.
I think the command you're looking for is
"ui" about
This displays documentation for the UI framework in the listener. You
can click on the subtopics to view them in the help browser. You can
also just browse to this page directly from the help browser; the "UI
framework" topic is accessible directly from the help browser home page.
> So, apart from that, is there any way to increase the font size of
> the text
> that appears in the factor browser. "help font" didn't come up with
> anything.
Try this
14 font-size default-style get set-at
The next time you visit a page in the help browser, the font size
will be larger (14 points).
Also, the 'help' word displays documentation for words only. So for
example,
\ + help
Displays help for the '+' word.
Slava
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk