home *** CD-ROM | disk | FTP | other *** search
- November 10, 1987
-
-
- These programs, source code and text files are both a demo of and complete
- documentation for TWM (Tiny Window Manager), a method of handling multiple
- tiny windows on the Amiga. For a quick test of TWM, try the following:
-
- After executing the ExecMe file in this ARC package, you will have a
- directory called "pgms". Add this directory to your CLI command path,
- then:
-
- run twm
- run popcolours
- run test1 ... and press a key
- run xe ... and select "Tiny Window" from the menu
-
- Now click anywhere on the TWM tiny window (except the title bar) and
- then... well, you can figure it out.
-
- The text file TWM.article along with the comments in the C source files
- twm.c, twmClient.c, test1.c and header/twm.h provide all the necessary
- information for using TWM and for adding a TWM-compatible tiny window mode
- to your own programs. Other text files provide instructions on the use of
- the XE and PopColours programs.
-
- ExecMe is an execute file that will create subdirectories for the files in
- this ARC and copy the files into them. The subdirectory structure is built in
- the root directory of logical device twm:, which you must assign beforehand.
-
-
- Nick Sullivan
-
-
-
- Transactor Magazine
- Transactor for the Amiga Magazine
-
-
- Transactor Publishing Inc.
- 85 West Wilmot Street, Unit #10,
- Richmond Hill, Ontario L4B 1K7
- Telephone: 416-764-5273
-
-
- ---------------------------------------------------------------------------
-
-
- November 12, 1987
-
- Modification to twm.c and twmClient.c (TWM release 1.1)
-
- A few lines in twm.c and twmClient.c have been altered to correct an unlikely
- but theoretically possible bug in the first release. The changes are:
-
- 1) in the PostMe() function of twmClient.c, the FindPort() and PutMsg()
- sequence is now bracketed by a Forbid()/Permit() pair, and two message
- initialization lines have been moved to minimize the Forbidden zone.
-
- 2) in the UnPostMe() function of twmClient.c, the FindPort() and PutMsg()
- sequence has been enclosed by Forbid()/Permit() as in 1).
-
- 3) in the main() function of twm.c, the public message port is no longer
- examined if a CLOSEWINDOW event has been detected in the preceding IDCMP
- loop. Instead the public port is examined/drained in the CloseStuff()
- function, and any post requests are returned to the would-be client
- with an E_ABANDON_SHIP message code.
-
- 4) the CloseStuff() function of twm.c has been modified as described in 3).
-
- Thanks to Rico Mariani of Toronto for suggesting these changes.
-
- Nick Sullivan
-