Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: problem: open(OUT, "| more") doesn't work for me Message-ID: <1991Jun16.043654.5687@convex.com> Date: 16 Jun 91 04:36:54 GMT References: <1991Jun12.141508.6026@jato.jpl.nasa.gov> <1991Jun12.235951.11191@amc.com> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 13 Nntp-Posting-Host: concave.convex.com From the keyboard of stuart@tfatf.amc.com (Stuart Poulin): :The -m to pipe the output to more is a nice feature, but how about :looking in the users environment for the variable PAGER and if it's is :set then use this for the pager, if is not set then default to more. Better to let the user type the pipe himself than build it in to every command, don't you think? It's not as though you're even really saving any characters: if 'm' is aliased to your pager, then a postfix "|m" is still only two characters, the same as an infix "-m". --tom