Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!deimos.cis.ksu.edu!ksuvax1.cis.ksu.edu!tar From: tar@ksuvax1.cis.ksu.edu (Tim Ramsey) Newsgroups: comp.sources.games.bugs Subject: Re: NetHack 3.0 patch02 $PAGER bug Summary: Use "LESS" enviroment variable. Not a NetHack bug. Message-ID: <3168@deimos.cis.ksu.edu> Date: 22 Aug 89 06:26:36 GMT References: <13800@netnews.upenn.edu> <2401@taux01.UUCP> Sender: news@deimos.cis.ksu.edu Reply-To: tar@ksuvax1.cis.ksu.edu (Tim Ramsey) Organization: Kansas State University, Dept of Computing & Information Sciences Lines: 23 In article <2401@taux01.UUCP> crehta@taux01.nsc.com (Ran Ever-Hadani) writes: [ ... ] >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? Sure. RT*M page for less(1). You can pass options to less with the LESS enviroment variable. So, in (for example) your .profile, put: LESS="-sm" export LESS and change your PAGER to just "less". Tim -- Timothy Ramsey Kansas State University BITNET: tar@KSUVAX1 Dept. of Computing and Information Sciences Internet: tar@ksuvax1.cis.ksu.edu This is Manhattan, Kansas. UUCP: ...!{rutgers,texbell}!ksuvax1!tar Is there anyone out there?