I have been using Alex Taylor's man.cmd util (which uses CAWF) up until now, but it (or CAWF) occasionally screws up the rendering of the man page, so I thought I would try something else.
To that end I installed man-db, which required the following packages:
- groff-base
- libiconv
- libiconv-util
- libpipeline
All of these installed successfully.
So I attempted to execute a very simple test command 'man ls', which produces the following:
[G:\]man ls
man: fork failed: No such file or directory
LIBC PANIC!!
LIBC fork: Child aborting fork()! rc=0xfffffffe
pid=0x00ec ppid=0x00ea tid=0x0001 slot=0x00cd pri=0x0200 mc=0x0000 ps=0x0010
G:\USR\BIN\MAN.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
So judging by the above there appears to be a missing setup, maybe a variable pointing to the MAN pages?
Strange that the app itself has such an ungraceful exit (LIBC PANIC!), but it is what it is.
Here are the specific environment variable values I currently have in CONFIG.SYS, which are configured to support Alex's man.cmd:
REM ******************************
REM *** MAN PAGES - START ***
REM ******************************
SET CAWFLIB=g:\usr\local\cawf
SET TERMCAP=g:\util\misc\termcap.dat
rem set TERM, valid values are: os2, ansi
SET TERM=os2
rem Set the pager to OS/2 MORE command, otherwise uses LESS
rem SET PAGER=MORE
SET MANPATH=G:\usr\share\man
REM ******************************
REM *** MAN PAGES - END ***
REM ******************************
...and running the manpath util produces the following output:
[G:\]manpath
manpath: warning: $MANPATH set, ignoring /@unixroot/etc/man_db.conf
G:\usr\share\man
Can anyone point out where I'm going wrong with my configuration?