home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / tex / 15287 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.8 KB

  1. Path: sparky!uunet!dove!gilligan
  2. From: gilligan@bldrdoc.gov (Jonathan M. Gilligan)
  3. Newsgroups: comp.text.tex
  4. Subject: Re: EmTeX with 386MAX ?
  5. Message-ID: <8215@dove.nist.gov>
  6. Date: 22 Jan 93 03:40:11 GMT
  7. References: <93020.171531HARVEY@SLACVM.SLAC.STANFORD.EDU>
  8. Sender: news@dove.nist.gov
  9. Organization: National Institute of Standards and Technology
  10. Lines: 42
  11.  
  12. In article <93020.171531HARVEY@SLACVM.SLAC.STANFORD.EDU> HARVEY@SLACVM.SLAC.STANFORD.EDU writes:
  13. >Has anyone been able to run EmTeX 3.14l Beta to run with 386MAX 6.01?
  14. >I keep getting 'DMPI not supported'. I know that 386MAX supports VCPI
  15. >mode.
  16.  
  17. This should probably go in the FAQ (or in the documents for emtex386).
  18. Anyway, the emx extender used by tex386 is not smart enough to ask
  19. whether VCPI is supported in addition to DPMI, so it doesn't look any
  20. farther after it finds that DPMI is supported (why Mattes doesn't ask
  21. someone with access to a DPMI-compliant 32-bit C compiler to compile
  22. emtex for him is a mystery to me).
  23.  
  24. Anyway, there is a solution. You tell 386max to turn off its DPMI support.
  25. There's a utility that comes with 386max, called memlimit, and you can tell it
  26.  
  27.   memlimit nodpmi,N
  28.  
  29. where N is the number of DPMI requests to refuse. If N=0, then it will
  30. refuse all further requests. If you change your mind later and want to
  31. turn DPMI support back on, you can say, ``memlimit nodpmi,1'' The next
  32. DPMI request will be refused, but the second and all subsequent
  33. requests will be granted.
  34.  
  35. Thus, I use a batch file, tex.bat, that reads:
  36.  
  37. rem a loop in case I have more than 9 arguments
  38. set __ARGS__=
  39. :start
  40. if "%1"=="" goto endloop
  41. set __ARGS__=%__ARGS__% %1
  42. shift
  43. goto start
  44. :endloop
  45. memlimit nodpmi,1
  46. tex386 %__ARGS__%
  47. set __ARGS__=
  48.  
  49. Good luck,
  50. Jon
  51. -- 
  52.  
  53. Disclaimer --- The government probably disagrees with my opinions.
  54.