source: trunk/minix/commands/cawf/diffs@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 5.6 KB
Line 
1diff -c1 ../4.0.2.dist/Makefile ./Makefile
2*** ../4.0.2.dist/Makefile Thu Nov 26 09:06:28 1992
3--- ./Makefile Thu Nov 26 09:17:08 1992
4***************
5*** 36,40 ****
6
7! DEFS = -DUNIX -DSTDLIB -ansi -pedantic
8
9! CFLAGS = -O ${DEFS}
10
11--- 36,40 ----
12
13! DEFS = -DUNIX -DUSG -DSTDLIB
14
15! CFLAGS = -i -s -f -O ${DEFS}
16
17diff -c1 ../4.0.2.dist/README ./README
18*** ../4.0.2.dist/README Thu Nov 26 09:06:28 1992
19--- ./README Thu Nov 26 09:19:26 1992
20***************
21*** 54,56 ****
22--- 54,68 ----
23
24+ Changes to cawf to run under Minix:
25
26+ * The DOS binaries and make files have been removed.
27+
28+ * Tabs stops changed from per 5 to per 8.
29+
30+ * Bold and underline as it should be in device.cf.
31+
32+ * Added .SB and .TA to man.mac.
33+
34+ * Numerous prototypes added.
35+
36+
37 CONTENTS
38***************
39*** 58,62 ****
40
41! This Unix distribution of cawf includes:
42
43! 00readme this file
44 *.c and *.h source files to build cawf and bsfilt (bsfilt
45--- 70,74 ----
46
47! This Minix distribution of cawf includes:
48
49! README this file
50 *.c and *.h source files to build cawf and bsfilt (bsfilt
51***************
52*** 64,70 ****
53 bsfilt.1 nroff source for the bsfilt manual page
54- bsfilt.exe.uue uuencoded MS-DOS bsfilt executable
55- bsfilt.mak MS-DOS Quick-C make file for bsfilt
56 cawf.1 nroff source for the cawf manual page
57- cawf.exe.uue uuencoded MS-DOS cawf executable
58- cawf.mak MS-DOS Quick-C make file for cawf
59 common initialization file for CAWFLIB library
60--- 76,78 ----
61***************
62*** 77,86 ****
63 ms.mac ms(7) macros for CAWFLIB library
64
65- Hint: to generate an MS-DOS executable, uudecode the *.exe.uue file -- e.g.
66
67- $ uudecode cawf.exe.uue
68-
69- yields a cawf.exe file.
70-
71-
72 LIBRARY
73--- 85,94 ----
74 ms.mac ms(7) macros for CAWFLIB library
75+ diffs Minix patches
76+ #ifdef PUTTING_IT_ON_THE_NET
77+ cawf
78+ bsfilt binaries compiled under Minix-PC 1.5 using the ACK
79+ ANSI C compiler using software floating point
80+ #endif
81
82
83 LIBRARY
84***************
85*** 89,92 ****
86 To use cawf, you must select a location for the CAWFLIB library files. The
87! distributed cawf.exe expects to find them in c:\sys\lib\cawf, but you can
88! alter that with the CAWFLIB environment variable, or you can change the
89 CAWFLIB #define in cawf.h and rebuild cawf from the sources.
90--- 97,100 ----
91 To use cawf, you must select a location for the CAWFLIB library files. The
92! distributed cawf binary expects to find them in /usr/local/lib/cawf but you
93! can alter that with the CAWFLIB environment variable, or you can change the
94 CAWFLIB #define in cawf.h and rebuild cawf from the sources.
95***************
96*** 135,139 ****
97
98! A Unix make file and a cawf.mak file for version 2.5 of Microsoft MS-DOS
99! Quick-C are included. The Unix make file has some definitions that help
100! tune it to the local Unix environment:
101
102--- 143,146 ----
103
104! The Unix make file has some definitions that help tune it to the local
105! Unix environment:
106
107***************
108*** 251 ****
109--- 258,264 ----
110
111+
112+ MINIX SPECIFIC TINKERING
113+ ------------------------
114+
115+ Kees J. Bot <kjb@cs.vu.nl>
116+ 26 November 1992
117diff -c1 ../4.0.2.dist/cawflib.h ./cawflib.h
118*** ../4.0.2.dist/cawflib.h Thu Nov 26 09:06:35 1992
119--- ./cawflib.h Thu Nov 26 09:17:10 1992
120***************
121*** 32,34 ****
122 #ifdef UNIX
123! #define CAWFLIB "/Homes/abe/lib/cawf" /* UNIX library location */
124 #else
125--- 32,34 ----
126 #ifdef UNIX
127! #define CAWFLIB "/usr/local/lib/cawf" /* UNIX library location */
128 #else
129diff -c1 ../4.0.2.dist/common ./common
130*** ../4.0.2.dist/common Thu Nov 26 09:06:36 1992
131--- ./common Thu Nov 26 09:17:10 1992
132***************
133*** 4,6 ****
134 .ce 0
135! .ta +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5
136 .in 0
137--- 4,6 ----
138 .ce 0
139! .ta +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8
140 .in 0
141diff -c1 ../4.0.2.dist/device.c ./device.c
142*** ../4.0.2.dist/device.c Thu Nov 26 09:06:36 1992
143--- ./device.c Thu Nov 26 09:34:09 1992
144***************
145*** 229,231 ****
146 if (strcasecmp(Device, "ansi") == 0) {
147! Fstr.b = Newstr((unsigned char *)"x[7m");
148 Fstr.it = Newstr((unsigned char *)"x[4m");
149--- 229,231 ----
150 if (strcasecmp(Device, "ansi") == 0) {
151! Fstr.b = Newstr((unsigned char *)"x[1m");
152 Fstr.it = Newstr((unsigned char *)"x[4m");
153diff -c1 ../4.0.2.dist/device.cf ./device.cf
154*** ../4.0.2.dist/device.cf Thu Nov 26 09:06:37 1992
155--- ./device.cf Thu Nov 26 09:21:17 1992
156***************
157*** 13,15 ****
158 # VGA monochrome monitors
159! # italic = reverse video
160
161--- 13,15 ----
162 # VGA monochrome monitors
163! # italic = underline
164
165***************
166*** 17,19 ****
167 b=\033[1m
168! i=\033[7m
169 r=\033[0m
170--- 17,19 ----
171 b=\033[1m
172! i=\033[4m
173 r=\033[0m
174Only in .: diffs
175diff -c1 ../4.0.2.dist/man.mac ./man.mac
176*** ../4.0.2.dist/man.mac Thu Nov 26 09:06:42 1992
177--- ./man.mac Thu Nov 26 09:17:12 1992
178***************
179*** 5,7 ****
180 .ds LH "\\$1(\\$2)
181! .ds CH "Unix Programmer's Manual
182 .ds RH "\\$1(\\$2)
183--- 5,7 ----
184 .ds LH "\\$1(\\$2)
185! .ds CH "Minix Programmer's Manual
186 .ds RH "\\$1(\\$2)
187***************
188*** 120,121 ****
189--- 120,128 ----
190 .\"-----------------
191+ .de SB
192+ .\" Can't reduce size, just do bold
193+ .ft B
194+ .it 1 fP
195+ .if \\n(.$>0 \&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
196+ ..
197+ .\"-----------------
198 .de IR
199***************
200*** 150,152 ****
201 .de DT
202! .ta +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5
203 ..
204--- 157,163 ----
205 .de DT
206! .ta +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8 +8
207! ..
208! .\"-----------------
209! .de TA
210! .ta \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
211 ..
Note: See TracBrowser for help on using the repository browser.