$book = '..'?>include "$book/mh.php"; includeHeader('getenv.html', 'wriedi.html'); ?>
As the Section Settings from the Environment explains, some MH commands add environment variables that are passed to environments of their child processes. MH commands also read their own environments, set by their parent processes. For example, if the variable MHCONTEXT is set, MH commands will use that pathname for the MH context file instead of the file named context in the MH directory.
The Table below was adapted from the mh-profile(5) manual page. For more description of each environment variable, see that manual page. This table doesn't include environment variables used by parts of MH (like BBoards) which this book doesn't cover.
Table: Environment Variables that MH Checks
NOTE: xmh Release 4, and possibly earlier versions too, ignore the MH environment variable at startup time. It always reads the .mh_profile in your home directory to find the Path: of your MH directory. There's a workaround in Section Conflicts Between xmh and MH Customization.includeFooter('$Date: 2006-05-31 15:13:43 -0700 (Wed, 31 May 2006) $', 'OReilly: 1991, 1992, 1995; Jerry: 1996, 1997, 1999, 2000, 2002, 2004'); ?>