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