README --- PencilTWO Pencil V2.0, Copyright 1994, 95 by Florian Marquardt. This program may be distributed under the terms of the GNU general public license (Start Pencil and select "Copyright" in the Help panel for a copy of the license). Pencil has a built-in TCL interpreter (tcl 7.3 by John Ousterhout). This is under a separate license (see "Copyright"). To build PencilTWO, you need the tcl7.3 distribution, which is available from a lot of ftp servers. I have my tcl library in /usr/local/lib/libtcl.a and tcl.h in /usr/local/include/tcl.h. If you have got the tcl 7.3 distribution and don't know how to build it, here is what Michael B. Johnson (WavesWorld) has found out: " ******** I added CPP='cc -E' to line 25 of configure, so configure would work right on the NeXT. ******** On the NeXT, strtod doesn't work right, but is included in the shared libraries. So, you want to use the compat/strtod.c version, but you need to change the name so it doesn't conflict. This entails two changes: change the name of strtod() to strtodTcl(), and change anywhere in the tcl core code that calls it. Luckily, this is only three places: tclExpr.c:384: valuePtr->doubleValue = strtod(p, &term); tclExpr.c:496: valuePtr->doubleValue = strtod(p, &term2); tclGet.c:122: d = strtod(string, &end); I changed each of those. I also had to add an extern declaration in each that used this new routine so they'd know it returned a double (or all hell would break loose...) ******** " To build a fat version of libtcl, I added "-arch m68k -arch i386" to the compiler options in the tcl Makefile. After building libtcl and moving it and tcl.h to the places given above, you should be able to build PencilTWO in ProjectBuilder. To get icons for .pencil-documents in Workspace Manager, you must copy PencilTWO.app to your Apps directory. Then you must copy the contents of the PencilLibrary/ directory in one of the following places: ~/Library/PencilTWO/ ~/.AppInfo/PencilTWO/ <The folder where PencilTWO.app resides, e.g. ~/Apps/>/PencilLibrary/ The PencilTWO.app folder itself Florian Marquardt a0047@freenet.uni-bayreuth.de May 21, 1995
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.