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

  1. Path: sparky!uunet!olivea!apple!news.oc.com!spssig.spss.com!uchinews!ellis!jhrv
  2. From: jhrv@ellis.uchicago.edu (John M. Kim)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: Re: Less177 problem fixed, bug?
  5. Message-ID: <1992Jul21.181949.13305@midway.uchicago.edu>
  6. Date: 21 Jul 92 18:19:49 GMT
  7. References: <1992Jul20.063338.3385@leland.Stanford.EDU>
  8. Sender: news@uchinews.uchicago.edu (News System)
  9. Reply-To: jhrv@midway.uchicago.edu
  10. Organization: Center for Population Economics
  11. Lines: 34
  12.  
  13. In article <1992Jul20.063338.3385@leland.Stanford.EDU> heinrich@leland.Stanford.EDU (Mark Andrew Heinrich) writes:
  14. >Well, I figured out my "problem" with LESS from less177.zoo.  I was using
  15. >the environment variable LESSTERM instead of TERM because another
  16. >application was using TERM.  This should work fine, but it doesn't.  When
  17. >I put set LESSTERM=ansi-color-2 in my config.sys and re-booted and then
  18. >tried to run LESS, I still received the SYS3175 error (program cannot run).
  19. >Typing SET revealed that LESSTERM was indeed set correctly.  BUT, if I
  20. >manually typed set LESSTERM=ansi-color-2 right then and there, LESS ran
  21. >without a hitch!  Since I did not want to manually type this every time
  22. >I set the TERM variable and made my other app work with LESS's TERM.
  23. >
  24. >This seems to be a problem with less, albeit one that can be overcome.
  25.  
  26. Mark,
  27.  
  28. I can't duplicate your problem here (I tried it on several machines
  29. with different configurations).  It sounds more like a problem with
  30. your system configuration than with less, since you say it does work
  31. if you set LESSTERM manually from the command line.
  32.  
  33. You know what, I'll bet you that your config.sys says 
  34. "set LESSTERM =ansi-color-2" or "set LESSTERM= ansi-color-2",
  35.              ^^                              ^^
  36. rather than "set LESSTERM=ansi-color-2".  This sensistivity of
  37. the set command to blanks before or after the "=" is a well-known
  38. "feature" of DOS that seems to have carried over to OS/2.  (I tried 
  39. "set LESSTERM= ansi-color-2" in my config.sys and got exactly the
  40.              ^^
  41. same error: SYS3715.  If your config.sys is set up this way, it's 
  42. a "bug" in your config.sys, rather than in less.  If not, as a last 
  43. resort check if the line in your config.sys has any trailing blanks,
  44. though I'm not sure if that matters.)
  45.  
  46. John
  47.