Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!sun-barr!apple!bridge2!csi!nsc!taux01!tasu77!crehta From: crehta@tasu77.UUCP (Ran Ever-Hadani) Newsgroups: comp.sources.games.bugs Subject: NetHack 3.0 patch02 $PAGER bug Message-ID: <2401@taux01.UUCP> Date: 21 Aug 89 12:00:04 GMT References: <13800@netnews.upenn.edu> Sender: netnews@taux01.UUCP Reply-To: crehta@taux01.nsc.com (Ran Ever-Hadani) Organization: National Semiconductor (IC) Ltd, Israel Lines: 16 In the /bin/sh file used to exec nethack, the existence of a $PAGER environment variable is checked. It is assumed the $PAGER is a single word; in my case, however, PAGER is set to 'less -sm'. This causes the sh 'test -x' to scream. A partial solution is enclosing every appearance of $PAGER in double quotes. But when $PATH is searched for $PAGER, the search will fail and $PAGER will be unset. I don't know how you can extract the 'less' from 'less -sm' to solve that. Any ideas? -- Ran ----------------------------------------------- Reply-To: crehta@taux01.nsc.com (Ran Ever-Hadani) Disclaimer: The above is to be attributed to me only, not to any organization. Apology: Bad English. E-mailed spelling and style corrections are welcome.