ksh passes the full pathname of the executable as the first environment
variable and names it _. Thus, if the program is run by ksh,
genenv("_"); returns a pathname for the executable. Now if everyone
would follow this convention the problem would be solved.
David Korn
ulysses!dgk