home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!zam103!ibt013!kiehl
- From: kiehl@ibt013.ibt.kfa-juelich.de (Horst Kiehl)
- Newsgroups: comp.os.os2.misc
- Subject: Re: UNIX more command
- Keywords: more
- Message-ID: <248@zam103.zam.kfa-juelich.de>
- Date: 22 Jul 92 06:31:44 GMT
- References: <1992Jul21.130021.21317@tellab5.tellabs.com>
- Sender: news@zam103.zam.kfa-juelich.de
- Reply-To: kiehl@ibt013.ibt.kfa-juelich.de (Horst Kiehl)
- Followup-To: <1992Jul21.130021.21317@tellab5.tellabs.com>
- Organization: Forschungszentrum Juelich GmbH (KFA), Germany
- Lines: 22
- Nntp-Posting-Host: ibt013
-
- In article <1992Jul21.130021.21317@tellab5.tellabs.com>, neuron@tellabs.com (Don Graft) writes:
-
- >@echo off
- >REM Rename \os2\more.com to \os2\_more.com
- >if A%1==A goto redir
- >_more <%1
- >goto end
- >:redir
- >_more
- >:end
- >
- >This will allow both direct and redirected input. Of course, it's not
- >UNIX more but it does remove the little irritation.
-
- I suppose you don't need to rename the original MORE.
- Just specify it's full name (probably MORE.COM) and you're avoiding
- recursion of the command file.
- (I assume that's why you wanted to rename it.)
-
- I hope this helps (Ihth).
-
- Horst
-