[comp.archives] [sources] STDWIN 0.9.5, Part 01/19

guido@cwi.nl (Guido van Rossum) (03/04/91)

Archive-name: unix/terminal/stdwin/1991-03-04
Archive: wuarchive.wustl.edu:/pub/stdwin0.9.5.tar.Z [128.252.135.4]
Original-posting-by: guido@cwi.nl (Guido van Rossum)
Original-subject: STDWIN 0.9.5, Part 01/19
Reposted-by: emv@ox.com (Edward Vielmetti)

Archive-name: stdwin/part01

This is STDWIN version 0.9.5.  (The last digit of the version number is
also the patchlevel, in case you're collecting patches.)

I am posting this mainly because it is needed to support the Python
distribution that I recently put on alt.sources, not because it is a
new product.  After being flamed for posting 21 parts of Python I
hesitated to post STDWIN, but fan mail has convinced me to go ahead
(it's still peanuts compared to alt.sex.pictures :-) ).

STDWIN is a simple windowing interface which makes (the windowing part
of) your program portable between multiple platforms without requiring
changes to your code -- just link with a different library and you are
done.  Major platforms supported are the Mac and X11.  STDWIN programs
can also run on alphanumeric terminals, under UNIX using termcap, and
on MS-DOS using the alphanumeric screen.  It used to work on the Atari
ST but I can't do any maintenance on that version.

STDWIN applications are event-based.  STDWIN supports multiple
windows, dynamic menus with shortcuts, mouse and keyboard input,
time-outs, automatic scroll bars, and a number of drawing primitives
such as text (multiple fonts, variable-width), lines, circles and
ellipses, arcs, shading and boxes.  A number of standard dialogs are
also available: message, yes/no question, ask for string, ask for file
name.

STDWIN is copyrighted, but can be freely copied and used as long as
the copyright notice remains in place.

STDWIN is not supported, I can only do my best.  Most of it was
created over three years ago, although support for X11 R4 is more
recent, and I have polished it a little bit recently (added clipping
and X11 selection support for instance).

If you want to port STDWIN to a new platform (Suntools, MS Windows and
Motif are most wanted), contact me, I can give you some hints on how
to start.  Beware: although porting a STDWIN-based application to
another platform supported by STDWIN is a piece of cake, porting
STDWIN itself to a new window system is a major undertaking.  You need
a thorough understanding both of the underlying window system and of
the STDWIN model.

Documentation (in troff -ms format) is provided -- some of the new
features are undocumented except through the source and example
applications though.

To get to know more, extract the files and read the README file.

I regularly put the latest STDWIN distribution on two anonymous ftp
sites.  As the filename shows, to unpack this you need the programs
uncompress and tar.

	site		hp4nl.nluug.nl (IP address 192.16.202.2)
	directory	pub/windows
	file		stdwin*.tar.Z (the * is the version, e.g. 0.9.5)

	site		wuarchive.wustl.edu (IP address 128.252.135.4)
	directory	pub
	file		stdwin*.tar.Z (the * is the version, e.g. 0.9.5)

Don't forget to specify binary file transfer mode!  ("type binary")

--Guido van Rossum <guido@cwi.nl>

	CWI, dept. CST
	Kruislaan 413
	1098 SJ  Amsterdam
	The Netherlands

[2000 lines of shar file deleted.  --Ed]