home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / emacs / help / 3749 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  2.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!news.Brown.EDU!noc.near.net!chaos!splinter.coe.northeastern.edu
  2. From: ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: Trouble installing demacs
  5. Message-ID: <RATINOX.92Aug16201738@splinter.coe.northeastern.edu>
  6. Date: 17 Aug 92 00:17:38 GMT
  7. References: <ARA.92Aug15234808@camelot.ai.mit.edu>
  8. Sender: usenet@chaos.DAC.Northeastern.edu
  9. Reply-To: ratinox@meceng.coe.northeastern.edu
  10. Distribution: gnu
  11. Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
  12. Lines: 36
  13. In-reply-to: ara@zurich.ai.mit.edu's message of 16 Aug 92 04:48:08 GMT
  14. X-Get-A-Clue: Have two, they're small.
  15. X-Signature-Virus-Protection: Version 1.51
  16. X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]
  17.  
  18. >>>>> "AA" == Allan Adler <ara@zurich.ai.mit.edu> writes:
  19.  
  20. AA> The environment variable TERM is set to ibmpc. What happens is that
  21. AA> when I type demacs, demacs does boot up but fails to use the full
  22. AA> screen. Instead everything is scrunched together and the ]K and ]B and
  23. AA> other junk is plainly visible. In fact, here is what it looks like:
  24.  
  25. You need to load the ANSI.SYS driver, or a compatable driver like NANSI.SYS
  26. or Fansi Console, from your CONFIG.SYS file. ANSI.SYS comes with all
  27. versions of DOS.
  28.  
  29. The more technical answer:
  30.  
  31. Termcap is a file of "TERMinal CAPabilities" and the escape codes (special
  32. character sequences) to make each type of screen do things like scrolling
  33. and clearing. This is a commonly used method of allowing programs on multi-
  34. user systems (like most Unix systems) to use almost any kind of terminal in
  35. existance. GNU Emacs uses termcap, so DEmacs uses termcap.
  36.  
  37. Normally, screen updates on an IBM-PC are done through BIOS calls or direct
  38. screen updating, something that a termcap-driven program can't do. But DOS
  39. comes with a nifty little driver called ANSI.SYS, which allows you to
  40. "print" certain escape codes to make the screen do things; the driver
  41. translates the codes into BIOS calls. And the "ibmpc" entry in the termcap
  42. file that comes with DEmacs is set up to use the IBM ANSI codes.
  43.  
  44. --Rat
  45.  
  46. ||||| | | | |  |  |  |   |   |    |    |    |   |   |  |  |  |  | | | | | |||||
  47.                                                    __        ___ 
  48. Richard Pieri, Northeastern's Stainless Steel Rat/   | /| / /   | The Worlds
  49. Internet: ratinox@meceng.coe.northeastern.edu   /__  |/ |/ / /| | Welfare Works
  50.     UUCP: ...!northeastern.edu!meceng!ratinox  /   | /| / / / | | Association:
  51.   BITNET: UA_RLP@NUHUB{.BITNET}               /__  |/ |/ / /  | | I will solve
  52.   USNail: 14 Westdale RD  Holbrook, MA 02343 /   | /| / / /___| | any problem
  53.  ICBMnet: 42 deg 1 min N, 71 deg 0 min W    /    |/ |/ /_//_____| for you.
  54.