ftp.nice.ch/pub/next/developer/languages/smalltalk/smalltalk.1.2.alpha5.s.tar.gz#/smalltalk-1.2.alpha5/stix

Arc.st
 
Atom.st
 
Button.st
 
CFuncs.st
 
Char2B.st
 
Colormap.st
 
Cursor.st
 
Drawable.st
 
EventHandler.st
 
FastRWStream.st
 
Font.st
 
Fontable.st
 
GC.st
 
LabelledButton.st
 
Lego.st
 
ListWin.st
 
Makefile
 
Makefile.body
 
Pen.st
 
Pixmap.st
 
README
 
Server.st
 
Shape.st
 
Slider.st
 
String16.st
 
TextItem.st
 
Visual.st
 
WM.st
 
Widget.st
 
WinEvents.st
 
Window.st
 
X.st
 
XAuth.st
 
XClass.st
 
XConfigureWindowRequest.st
 
XError.st
 
XEvent.st
 
XGCRequest.st
 
XKeyboardRequest.st
 
XPacket.st
 
XProtoResponses.st
 
XProtocol.st
 
XRequest.st
 
XServerObject.st
 
XWindowRequest.st
 
Xerr.st
 
Xevt.st
 
Xevt2.st
 
bark.au
 
bong.au
 
brow.st
 
cfuncs.c
[View cfuncs.c] 
cuckoo.au
 
design.st
 
draw.st
 
drip.au
 
fountain.st
 
game1.st
 
generr.st
 
genevt.st
 
keys.st
 
laugh.au
 
lwt.st
 
mvroot.st
 
paint-test.st
 
paint.st
 
paintline.st
 
paintsub.st
 
pixhax.st
 
res.st
 
rtest.st
 
socket.c
[View socket.c] 
t.st
 
thermo.st
 
train.au
 
v.st
 
vv.st
 
yy.st
 

README

*** For 1.2, to steps 1 and 2, then
*** 'mst -Vq X.st' which loads the X library and builds an image
*** subsequent runs should say "Loaded to Visual" or something
*** before emitting the prompt
*** Be sure that the host you're using for the display allows access from
*** the host you're running Smalltalk from.  Use xhost to be sure.

*** Interesting things:
*** Lego demo: vv.st left button to select, then click in main window to place
*** middle re-places last lego, right to quit
***
*** Experimental browsing code: brow.st
*** Doesn't use the DISPLAY environment variable at the present time.
*** Drag with left down to highlight.  Scrollbar buttons work backwards, and
*** the thumb is inoperational.  You can resize the window and mostly the
*** right things will occur.  Use the right button in the scrollbar buttons to
*** exit. 
***
*** v.st contains usages for all of the X protocol operations, although they
*** are not terribly useful or pretty.
***
*** lwt.st (list win test) -- left mouse selects, middle spawns a new list win
*** right mouse exits.


*** NOT Accurate for 1.2 ***
STIX
====

Welcome to STIX, the SmallTalk Interface to X.

This directory contains the method definitions for an interface to the
X protocol layer which underlies all of X Window.  It is not a complete
implementation of the X protocol: several of the protocol operations have
not been implemented yet, and some which have been are not completely done.

Nevertheless, there is enough here so that simple drawing and event handling
operations can take place.  There's even an implementation of the Pen class
as described in the Blue Book, for doing simple LOGO-like drawing.

OPERATION
=========

Be sure that you have appropriately edited mstpaths.h to point to where the
kernel method definitions live.  If you have already configured using 
config.mst in the parent directory of this directory, you shouldn't have to 
reconfigure here.

Step 1: Find out where your X system is installed.  The implementation needs
        two include files from the X release.  You should be running some
	version of X11; I've used X11 R4 and succeeded.  Edit the Makefile
	and modify the definition of XINCLUDE to reflect this path.

Step 2: Compile the world.  To do this, type 

	    make

        the normal GNU Smalltalk compilation should take place.  In addition,
	a file called socket.c (which implements the low-level socket-based
	connectivity to the X server) will be compiled.

Step 3: Run the test system by typing:

	    mst -V t.st

	You should see the normal set of files being loaded.  CFuncs.st
	may take longer since it's loading in more of the system than
	in the default environment.  After CFuncs.st has been loaded and
	the binary image saved, t.st is loaded.  You will see several
	expressions being excecuted and then (if all goes well) a window
	should appear that will let you know that you're a winning person.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.