factor/contrib/factory
wayo.cavazos 6e76d076ca Remove old xlib error handler code and files 2006-02-23 23:59:58 +00:00
..
README Update Factory README 2006-02-23 23:58:37 +00:00
factory.factor Minor fixes in contrib/factory 2006-02-23 23:29:40 +00:00

README

----------------------------------------------------------------------
Load requirements
----------------------------------------------------------------------

Factory depends upon some things in contrib. Load them like so:

  { "contrib/process.factor"
    "contrib/concurrency/load.factor"
    "contrib/x11/load.factor" }
  [ run-resource ]
  each
  save

----------------------------------------------------------------------
Loading factory
----------------------------------------------------------------------

Putting factory into your image is as simple as this:

  "contrib/factory/load.factor" run-resource save

----------------------------------------------------------------------
Running factory in Xnest
----------------------------------------------------------------------

In a terminal, run Xnest using an unused display number. Usually you
can use 2 or greater.

  $ Xnest -auth /dev/null :2

Start factor and launch factory on the appropriate display:

  USE: factory ":2" start-factory

In a terminal, start an application on the appropriate display:

  $ DISPLAY=:2 xterm

----------------------------------------------------------------------
The mouse functions
----------------------------------------------------------------------

Root window
Mouse-1		Toggle root menu
Mouse-2		Toggle window list

Window border
Mouse-1		Drag to move window
Mouse-2		Drag to resize window (specify bottom right corner)
Mouse-3		Hide window (use window list to get it back)