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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!hp-cv!ogicse!das-news.harvard.edu!spdcc!dirtydog.ima.isc.com!newsserver.pixel.kodak.com!laidbak!tellab5!neuron
  2. From: neuron@tellabs.com (Don Graft)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: UNIX more command
  5. Message-ID: <1992Jul21.130021.21317@tellab5.tellabs.com>
  6. Date: 21 Jul 92 13:00:21 GMT
  7. Sender: news@tellab5.tellabs.com (News)
  8. Organization: Tellabs, Inc., Lisle, IL
  9. Lines: 18
  10. Originator: neuron@tellabo
  11. Nntp-Posting-Host: tellabo
  12.  
  13. Recent postings inquired about a UNIX more. Well, if you're just annoyed
  14. that the OS2 more requires redirected input, i.e., you can't type just
  15. "more file", then there's a simple front end to OS2 more command you can
  16. use to allow the above syntax. Place the following in a file more.cmd
  17. somewhere in your path and rename OS2 more as shown:
  18.  
  19. @echo off
  20. REM Rename \os2\more.com to \os2\_more.com
  21. if A%1==A goto redir
  22. _more <%1
  23. goto end
  24. :redir
  25. _more
  26. :end
  27.  
  28. This will allow both direct and redirected input. Of course, it's not
  29. UNIX more but it does remove the little irritation.
  30. Don
  31.