Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!tiamat!quintro!kts From: kts@quintro.uucp (Kenneth T. Smelcer) Newsgroups: comp.sys.apollo Subject: Re: More Message-ID: <1989Jul20.145401.23083@quintro.uucp> Date: 20 Jul 89 14:54:01 GMT References: <8907191307.AA03786@umix.cc.umich.edu> Reply-To: kts@quintro.UUCP (Kenneth T. Smelcer) Organization: none Lines: 55 In article <8907191307.AA03786@umix.cc.umich.edu> GBOPOLY1@NUSVM.BITNET (fclim) writes: >In article <8441@batcomputer.tn.cornell.edu> braner@tcgould.tn. > cornell.edu (Moshe Braner) > >> The Apollo "more" tool chooses it's own font, and takes a lot >> of time to start up. Quite annoying when, e.g., reading mail >> letter by letter (with PAGER=more). Is there an alternative? >> Has somebody written a simple "more" that does not do cursor >> addressing (and thus escapes the vt100 emulator)? > >[digress] >Darryl Conliffe and I were corresponding over this newgroup about >a couple of weeks ago. Darryl started off by saying that most >non-Aegis users invoke "more" or "cat" whenever they want to >browse a file. >[egress] > [ description of cv with the m3 button ] > >You can't setenv PAGE to cv because it's not a shell command. >A workaround is to write a shell script: > % cat > cv << BLAAAH > #!/bin/sh > /com/xdmc cv $1 > BLAAAH > % mv cv /bin # or your favorite binaries dir. > % rehash > % setenv PAGER cv > >fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu I don't think this will work because mail sends the text to more via stdin, not by filename. You could get this to work by creating a temp file and using DM with it, but that seems silly. Is there a way to get a pad to take data from stdin instead of a file? BTW, if you want a pager that lets you move around in the file, there is a program in the comp.sources.unix archives called 'less' that works similarly to more, but gives you full cursor movement (ala vi) and has quite a few nice features. In response to the original problem, the small font size isn't due to invoking the vt100, but because it isn't! When you invoke 'more' with a filename, it start the emulator and everything works fine. When 'more' reads from stdin, it doesn't start a vt100 window; it switches to a tiny font and displays to the output pad. I assume this is because the 'curses' package sees that input is not from the terminal, so it doesn't start the emulator (is this how curses/vt100 works?). I'm don't have any ideas how to fix this (except by using a mailer like 'elm' :-) Anybody else have a suggestion? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Ken Smelcer Quintron Corp. quintro!kts@lll-winken Quincy, IL tiamat!quintro!kts@uunet