File: README

package info (click to toggle)
et 80b2-8
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 1,068 kB
  • ctags: 1,074
  • sloc: ansic: 10,313; tcl: 2,633; makefile: 179; sh: 19
file content (94 lines) | stat: -rw-r--r-- 3,612 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
This directory contains source code and examples to "ET", the
"Embedded Tk" system for writing C programs that access Tcl/Tk.
A description of this system is contained in the postscript
file "ET.ps", the HTML file "ET.html", and the plain ASCII text
file "ET.txt" all of which are built from "ET.doc" in the "doc"
subdirectory.

To build the ET, the documentation and a subset of the example programs,
enter the following commands from a Bourne-shell:

    ./configure
    make

A couple of the more interesting example programs are not built by this
command since they won't work on all systems.  To build the other
examples, type:

    make linuxstat
    make tkterm

Note that the only required parts of ET are the "et.o" library and the
"et2c" preprocessor.  If any of the example programs fail to build,
that should not prevent you from using the ET system.

Portions of the ET source code are copied from freely copyable, but
copyrighted material (such as the original Tk sources.)  O'Reilly
and Associates will eventually assume the copyright for the "ET.ps"
documentation file.  All other parts of this archive are in the 
public domain.

D. Richard Hipp
Charlotte, NC
November, 1996

--------------------------------------------------------------------------
                       Changes in release 1.7
--------------------------------------------------------------------------

I took the time (finally) to write an autoconf for ET.  Besides that,
little has changed, except for incremental improvements in some of
the example programs.

--------------------------------------------------------------------------
                       Changed in release 1.6b3
--------------------------------------------------------------------------

As of the 1.6b3 release, ET can be used with Tk4.1 to produce executables
that run under Windows95, Windows3.11 and Windows3.1.  Three of the example
programs have been modified to work under both UNIX and Windows:

    tkedit
    www
    httpd
    
The "Makefile.bc" makefile is included for Borland C++ 4.5.

The "et2c" program sources compile without modification under both UNIX
and Windows.  The "et.o" library, however, had to be changed extensively.
Windows programs should use the "et41win.c" source file instead of the
"et41.c" source file in order to generate the "et.o" library.

The start-up procedures are also different for Windows, due to the fact
that a windows program does not contain a "main()" function.  The et41win.c
library contains no Et_Init() or Et_MainLoop() function calls.  Instead,
the user should insert all initialization code into a special function
named "Et_Main()" which will be called by et41win.c automatically during
setup.  The following is an example:

   void Et_Main(int argc, char **argv){
     /* Put your initialization code here */
   }

   #if UNIX
   int main(int argc, char **argv){
      Et_Init(&argc,argv);
      Et_Main(argc,argv);
      Et_MainLoop();
      return 0;
   #endif

The "et2c" preprocessor has been modified to always define two macros
"UNIX" and "WIN32".  Under non-windows systems, UNIX is set to 1 and
WIN32 is initialized to 0.  Under windows systems, UNIX is 0 and
WIN32 is 1.  Again, both of these macros are defined in every file
preprocessed by "et2c".  There is also a new Tcl/Tk variabled named
"Win32" that is set to 1 under Windows version of ET and 0 under UNIX
versions.

This is the first release of ET for Windows, so there will likely be
problems.  You help in reporting problems to the author is appreciated.

D. Richard Hipp     drh@tobit.vnet.net
Charlotte, NC
July 11, 1996