[uw.mfcf.bugs] man can't find zcat on maytag

jmsellns@maytag.waterloo.edu (09/28/89)

From: John Sellens <jmsellns@maytag>

Script started on Thu Sep 28 00:58:00 1989
1-maytag## echo $PATH
/u/jmsellns/bin:/software/.admin/bins/bin:/software/.admin/bins/maintenance:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc:/software/x10/bin:/usr/public
2-maytag## man 5 fstab
man: zcat: not found
man: No entry for fstab in section 5 of the manual.
3-maytag## which zcat
/usr/ucb/zcat
4-maytag## x

script done on Thu Sep 28 00:58:24 1989

kcwellsch@watmath.waterloo.edu (Ken Wellsch) (09/28/89)

zcat is invoked by rmand with popen("zcat",...) (i.e. relies on the underlying
"sh -c" to find it).  My guess is that /etc/rc does not provide the proper
PATH variable since when I start the daemon by hand it works fine.  I'll go
feed it a PATH myself at start-up I guess.

kcwellsch@watmath.waterloo.edu (Ken Wellsch) (09/29/89)

I've rebuilt & restarted RMAND on maytag where it now sets it's own PATH
to a static one (rather than rely on inheriting one at startup).

jmsellens@watdragon.waterloo.edu (John M. Sellens) (10/01/89)

Hmmm - too bad libuw or something doesn't include a C-callable
showpath routine ...
e.g. setenv( PATH, showpath(C_Command,T_Server, "standard", "man" ), 1 );