From: mh AT mike DOT franken DOT de (Michael Hirmke) Subject: Re: 29 May 1998 09:12:06 -0700 Message-ID: <6uimmUq4pfB.cygnus.gnu-win32@mike.franken.de> References: <3 DOT 0 DOT 5 DOT 32 DOT 19980527172822 DOT 009178a0 AT gti DOT com DOT hk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Hi Gilbert, >Hi, > >Can somebody told me how to install the manual suite in the gnu-win32 b19 ? >I have downloaded the whole package, but there no instruction on how to >install the manual. It seem that there is no man command in the gnu-win32 >package. You're right - there is no "man" command in CDK and the manpages package. However: ------------------------< snip snip snip >----------------------------- *man-1.4j* -------- - what is it? - Program for displaying man-pages on the screen or sending them to a printer (using groff). - system - Windows NT4 German / SP3 - preliminaries - none - configure - edit configure - change "prefix=/usr" to "prefix=/usr/local" (or whatever you want or just leave it as it is) - run "configure -d" - make - edit src/man.c - add "#include " - comment out line 1020 (setlocale) - edit src/Makefile.in - add "-DNONLS" to "DEFS=" - edit src/util.c - comment out line 93 and 94 (setreuid, setregid) - run "make" as normal - make install - works without changes - edit /usr/local/lib/man.config according to your system - notes - couldn't get man-1.5a to run properly, you can build it nearly the same way as 1.4j, but it will crash, whenever you run the resulting binary - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/cygwin32/porters/Hirmke_Michael - as man-1.4j-win32-bin.tar.gz - or man-1.4j-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) ------------------------< snip snip snip >----------------------------- If it should be of any use, you also need: ------------------------< snip snip snip >----------------------------- *groff-1.10* ---------- - what is it? - The groff package provides compatible versions of troff, nroff, eqn, tbl, and other Unix text-formatting utilities. Groff is used to "compile" man-pages stored in groff/nroff format for different output devices; e.g., for displaying to a screen or in PostScript(tm) format for printing on a PostScript(tm) printer. - system - Windows NT4 German / SP3 - preliminaries - /bin/sh has to be *bash, not ash* - umount /bin (if mounted) - cp /bash.exe /bin/sh.exe - configure - works without changes - make - edit ./Makefile - turn off optimization (-O in CFLAGS and CCFLAGS); with optimization turned on, you may run into trouble with random crashes - for example with large man pages (due to a hint from Andy Piper) - edit ./tmac/Makefile.sub - create a new first line "SHELL=/usr/bin/ash" (or whatever your "ash" is); this is necessay, because "bash" can't handle a "for" loop with an empty list in this Makefile - run "make" as normal - make install - works without changes - notes - it is a bit crazy, but you really need both shells to build this package - of course you could also change the Makefiles,oe so they all work with one shell - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/cygwin32/porters/Hirmke_Michael - as groff-1.10-win32-bin.tar.gz - or groff-1.10-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) ------------------------< snip snip snip >----------------------------- and: ------------------------< snip snip snip >----------------------------- *less-321* -------- - what is it? - Less is a pager program similar to more (1), but allows backward as well as forward movement within a file. Also, less does not have to read the entire input file before starting. It is also possible to start an editor at any time from this program. - system - Windows NT4 German / SP3 - preliminaries - you first have to install *ncurses-4.1* - replace all "iprintf" in "output.c" with a different, but unique name, for example "less_iprintf" - configure - works without changes - make - works without changes - make install - works without changes - notes - works the same way for less-332 (according to noer AT cygnus DOT com (Geoffrey Noer)) - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/cygwin32/porters/Hirmke_Michael - as less-321-win32-bin.tar.gz - or less-321-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) ------------------------< snip snip snip >----------------------------- >Thanks > >Gilbert. Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".