Debian Codegraph @

texk/dvipsk/vms/README

raw
1 I backed out some of the changes, but it should compile and run on VMS.
2 I removed the changes that guarantee that the scratch files get unique
3 names; I did this because the resulting filenames would not work on
4 some systems, and because if this is a problem I feel the correct
5 solution would be to make sure each user is actually running in the
6 correct unique directory, rather than changing the names of all of the
7 temporary files that dvips might create. -tgr
8
9 Original message:
10
11 From: "Edward J. Groth" <[email protected]>
12 To: [email protected], [email protected]
13 CC: [email protected]
14 Message-ID: <[email protected]>
15 Subject: vms port and mods of hyper dvips 5.58
16 Content-Type: text
17 Content-Length: 155227
18 Status: RO
19
20 To: Mark Doyle and Tomas Rokicki
21
22 I've picked up dvips version 5.58 from LANL, with Mark's hps
23 modifications. I've ported (reported?) this to VMS. Below is a
24 summary of my changes, followed by a copy of each changed
25 routine (all changes are annotated with EJG).
26
27 (It looks like whoever was keeping the vms port going hasn't
28 worked on it for a while.)
29
30 Thanks for the good work!
31
32 - Ed
33
34
35
36
37
38 EJG 08-Jul-1996
39
40 This directory contains dvips 5.58 hacked by Mark Doyle to put in
41 mods for hyperps and hacked by me to make sure it ports to VMS.
42
43 This was obtained by following links from http://xxx.lanl.gov/hypertex
44 in early July, 1996.
45
46 Dvips has been made for vms v6.2 (alpha and vax) using DEC C
47 v5.0.
48
49 Main changes I made:
50
51 ******
52 dvips.c
53
54 include subdirectory [.vms] where vmscli.c is included.
55
56 get process id and use in constructing file names
57 dvips_h_pidxxxxx.tmp and dvips_b_pidxxxxx.tmp to replace head.tmp
58 and body.tmp, so we don't get a name collision if two users are
59 using the same scratch space. Change all references to these
60 names to reference the variables holding the new names.
61
62 ******
63 hps.c
64
65 replace head.tmp and body.tmp as above.
66
67 replace ERROR with ERROR_HPS to avoid collision with error()
68 function. Question: why us a boolean variable to represent a
69 constant?
70
71 after the former head.tmp and body.tmp files are copied to the
72 output, they are deleted. (neatness)
73
74
75 ******
76 output.c
77
78 replace head.tmp and body.tmp as above. Required a little bit of
79 extra logic when testing to see if the output file is the former
80 head.tmp (so we don't put in a \n). Don't want to do the test if
81 the HPS_FLAG hasn't been set.
82
83 ******
84 dvips.h
85
86 include subdirectory [.vms] where vms.h is included.
87
88 ******
89 [.vms]vmscli.c
90
91 add qualifiers for new options since this file was last updated.
92
93 fix up some bugs in qualifiers.
94
95 ******
96 [.vms]dvips.cld
97
98 add qualifiers for new options since this file was last updated.
99
100 fix up some bugs in qualifiers.
101
102 ******
103 [.vms]dvips.hlp
104
105 add help for new qualifiers added above.
106
107 make help agree with what the qualifiers actually do. For
108 example, the /filter qualifier, sends the output to stdout, but
109 still requires an input file (it will not read from stdin).
110
111 ******
112 [.vms]newmake.com
113
114 Made from [.vms]make.com. Don't prompt for options - all
115 hardwired as defaults, except fontlib is turned off. HPS is
116 defined in all cc's, and /standard=vaxc is added to all cc's.
117
118 hps.c is included in the compile and link steps
119
120 options file is removed from the link steps.
121
122 /----------------------------------------------------------------------\
123 | Edward J. Groth | Phone: 609-258-4361 Fax: 609-258-6853 |
124 | Physics Dept., Jadwin Hall | URL: http://pupgg.princeton.edu/~groth/ |
125 | Princeton University | SPAN/HEPNET: PUPGG::GROTH=44117::GROTH |
126 | Princeton, NJ 08544 | Internet: [email protected] |
127 \----------------------------------------------------------------------/
128