ftp.nice.ch/pub/next/graphics/vector/PencilTWO.s.tar.gz#/PencilTWO/Source

Align3Icon.tiff
 
DeleteIcon.eps
[View DeleteIcon.eps as PDF] 
English.lproj/
 
GUI.back
 
GUI.h
[View GUI.h] 
GUI.m
[View GUI.m] 
GUI_view.h
[View GUI_view.h] 
GUI_view.m
[View GUI_view.m] 
Group.h
[View Group.h] 
Group.m
[View Group.m] 
Insert2Icon.eps
[View Insert2Icon.eps as PDF] 
Insert3Icon.tiff
 
InsertIcon.eps
[View InsertIcon.eps as PDF] 
Makefile
 
Makefile.postamble
 
Makefile.preamble
 
MultipleSelection.h
[View MultipleSelection.h] 
MultipleSelection.m
[View MultipleSelection.m] 
PB.gdbinit
 
PB.project
 
PencilGraphic.h
[View PencilGraphic.h] 
PencilGraphic.m
[View PencilGraphic.m] 
PencilImage.h
[View PencilImage.h] 
PencilImage.m
[View PencilImage.m] 
PencilInspector.h
[View PencilInspector.h] 
PencilInspector.m
[View PencilInspector.m] 
PencilLibrary/
 
PencilTCL.m
[View PencilTCL.m] 
PencilTWO.iconheader
 
PencilTWO_main.m
[View PencilTWO_main.m] 
PencilText.h
[View PencilText.h] 
PencilText.m
[View PencilText.m] 
PencilTitle.tiff
 
PencilView.h
[View PencilView.h] 
PencilView.m
[View PencilView.m] 
README
 
ScrollDown.tiff
 
ScrollLeft.tiff
 
ScrollRight.tiff
 
ScrollUp.tiff
 
ToBackIcon.eps
[View ToBackIcon.eps as PDF] 
ToFrontIcon.eps
[View ToFrontIcon.eps as PDF] 
pencildoc.tiff
 
sym/
 

README

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.