home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
nuweb087.zip
/
README.os2
< prev
next >
Wrap
Text File
|
1996-03-08
|
6KB
|
124 lines
I have uploaded nuweb087.zip including sources by Preson Briggs and
the os/2 binary to :
hobbes (ftp-os2.nmsu.edu),
now: /incoming
suggested: /os2/unix/tex
cdrom (ftp-os2.cdrom.com),
now: /os2/incoming
suggested: /os2/tex
and CTAN (ftp.shsu.edu):
now: /incoming
suggested: tex-archive/web/nuweb/os2/ (needs to be created).
Replaces: Nothing really, except hopefully DOS versions of nuweb,
running on some OS/2 machines.
Brief description:
===================
I was looking in news groups for a tool for literate programming (web)
that'd allow me to use Fortran. (Extended) Pascal, and C and was portable
to or available for OS/2. I came accross an interesting FAQ for the
comp.literate.programming, and I got his personal reply:
------------------------------------------------------------------------
Preston Briggs (preston@cs.rice.edu) wrote:
: >Also, my desire to have a version that (i) runs on OS/2 and (ii)
: >possibly incorporates Extended ANSI Pasal, while (iii) being based on
: >fweb to allow also g77 and gcc codes, made me think the -- for me very
: >unusual -- cross posting would enlarge my cross section and hence the
: >chance for an event ...
: Lots of us have given up on the idea of pretty printing all our code,
: and use language-independent tools. For OS/2, you might check out
: nuweb and funnelweb. I wrote nuweb and unsurprisingly prefer it. I
: use it with C, C++, Fortran, Scheme, and Makefiles. Others have used
: it with Perl and such, but since it's language independent, you won't
: have any trouble with any flavor of Pascal, etc.
: You can grab a copy via anonymous ftp from cs.rice.edu, in the
: directory public/preston.
------------------------------------------------------------------------
I wanted to try it, so I had to compile it. So, I tried that. The
original source files are in a shell archive (nuweb.shar0.87). To get
them you have to use ftp and binary mode. I first tried lynx, but it
downloads it as text and clobbers it to a point where it gives errors
when unsharing the archive, messing up the tabs in the makefile and ---
the thing doesn't compile. When you get them in binary mode, they do.
However, I have repackaged the sources (with the executable and the
patches to one source file and to the makefile) in this zip archive, so
you don't *have* to go there.
First nuweb would compile fine but die with a segmentation fault at the
end of it's run. That was a nice occasion to learn gdb, and that was
rewarded with finding the problem: A call to tempnam() that was
obviousely not to the liking of OS/2 on Intel (386, 486), but accepted
by Solaris on a SPARC erver 1000E (both using gcc). Anyway, I found a
patch, it still runs fine on Solaris, but it now also runs on OS/2. I
compiled it with emx09a, fixpack 06. To get you going or allow you to
look at the docs before you have nuweb installed I include LaTeXed
versions of the file, ready to print on a PostScript printer or with any
dvi driver.
All you need to use it is:
a) LaTeX installed on your system (2.09 or 2e are fine)
b) print the nuwebman.dvi or nuwebman.ps files, read them
c) an editor
d) the emx runtime system (emxrt.zip, from ftp-os2.cdrom.com, or
ftp-os2.nmsu.edu, for instance), version 0.9a fix pack 06 or
later installed. If you don't have it already installed
fetch the index of one of these sites, and search (grep) for
the pattern "emxrt.zip", or, if you can use regular expressions,
"^emxrt.zip". Then download and istall it. It contains the runtime
system in a dynamic link library which is shared by many other
programmes (say, gnu file utils, vi, emacs, less, probably even
emTeX programmes). This allows the executables to stay small and lean
but they won't run without it.
e) put nuweb.exe in your path.
It seems that this is the right tool for cs people who don't crave nice,
mathematical pretty print stuff (like some physicists prefer), and for
projects that involve mixing of languages, or involve languages that
other webs don't know about. (I like fweb, too, but fweb can't do
Extended Pascal, as an example, and so nuweb seems to be it for
that case.) Anyway.
read the docs, and stroll through the news groups, and have fun.
Preston approved my uploadig of code and executables, so here you are.
------------------------------------------------------------------------
Message 2/8 From Preston Briggs
Return-Path: <preston@tera.com>
Date: Thu, 29 Feb 96 13:30:54 PST
To: sad@utkux.utcc.utk.edu
Subject: Re: (fwd) Re: [Q] Fortran Web for OS/2, Pascal extensions ?
[snip]
I don't mind your putting sources and executables anywhere.
Feel free. I won't change the distribution though. I haben't touched
it for a couple of years. Just don't have time to get into it now.
Someday though, I'll get back to it, and tempname is going away
(along with about 75K other changes I've imagined).
Preston
------------------------------------------------------------------------
===============================================================================
Stefan A. Deutscher 8-Mar-1996 | (+1-423-) voice fax
The University of Tennessee, Knoxville | UTK : 974-7838 974-7843
Department of Physics and Astronomy | ORNL : 574-5897 574-1118
401, A. H. Nielsen Building | home : 522-7845 522-7845
Knoxville, T.N. 37996-1200, USA | email: sad@utk.edu
... in Germany: | stefand@elphy.irz.hu-berlin.de
===============================================================================