There has been a significant update of the X11 library interface files
for kForth. If you are playing with X11 programming in kForth, please
ensure you have the latest versions of the files at
ftp://ccreweb.org/software/kforth/examples/libs/x11/
Revisions include:
-- Addition of the file Xutil.4th (provides additional data structures
used by the C X11 library)
-- Updated structures in Xlib.4th
-- Numerous additions to libX11.4th
The Forth to X11 interface is near a stage where it may be possible to
write a simple X11 window manager (graphical desktop) in Forth, but I
suspect the interface to a few necessary functions are still missing.
The simple Forth graphics interface to X11, for single window apps,
has also been revised:
ftp://ccreweb.org/software/kforth/examples/simple-graphics-x11.4th
The revisions permit the window name (appearing in the title bar) to
be set (SET-WINDOW-NAME), the window to be resized via a Forth word
(RESIZE-WINDOW), and the created window receives and handles window
delete messages from the window manager (previously, pressing the "x"
button for closing a window created by simple-graphics led to a
crash).
Krishna