home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25108 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.1 KB

  1. Path: sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!zam103!ibt013!kiehl
  2. From: kiehl@ibt013.ibt.kfa-juelich.de (Horst Kiehl)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: UNIX more command
  5. Keywords: more
  6. Message-ID: <248@zam103.zam.kfa-juelich.de>
  7. Date: 22 Jul 92 06:31:44 GMT
  8. References: <1992Jul21.130021.21317@tellab5.tellabs.com>
  9. Sender: news@zam103.zam.kfa-juelich.de
  10. Reply-To: kiehl@ibt013.ibt.kfa-juelich.de (Horst Kiehl)
  11. Followup-To: <1992Jul21.130021.21317@tellab5.tellabs.com>
  12. Organization: Forschungszentrum Juelich GmbH (KFA), Germany
  13. Lines: 22
  14. Nntp-Posting-Host: ibt013
  15.  
  16. In article <1992Jul21.130021.21317@tellab5.tellabs.com>, neuron@tellabs.com (Don Graft) writes:
  17.  
  18. >@echo off
  19. >REM Rename \os2\more.com to \os2\_more.com
  20. >if A%1==A goto redir
  21. >_more <%1
  22. >goto end
  23. >:redir
  24. >_more
  25. >:end
  26. >
  27. >This will allow both direct and redirected input. Of course, it's not
  28. >UNIX more but it does remove the little irritation.
  29.  
  30. I suppose you don't need to rename the original MORE.
  31. Just specify it's full name (probably MORE.COM) and you're avoiding
  32. recursion of the command file.
  33. (I assume that's why you wanted to rename it.)
  34.  
  35. I hope this helps (Ihth).
  36.  
  37. Horst
  38.