home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / unix_c / macintsh / mactrmcp.txt < prev    next >
Text File  |  1989-03-21  |  2KB  |  41 lines

  1. 15-Apr-85 05:48:58-PST,1855;000000000001
  2. Return-Path: <sbm@Purdue.ARPA>
  3. Received: from merlin.ARPA (PURDUE-MERLIN.ARPA.#Internet) by SUMEX-AIM.ARPA with TCP; Mon 15 Apr 85 05:48:53-PST
  4. Message-Id: <8504151349.AA08009@merlin.ARPA>
  5. Received: by merlin.ARPA; Mon, 15 Apr 85 08:49:14 EST
  6. To: info-mac@Purdue.ARPA
  7. Subject: New Macintosh/MacTerminal termcap
  8. Date: 15 Apr 85 08:49:10 EST (Mon)
  9. From: Steven B. Munson <sbm@Purdue.ARPA>
  10.  
  11.      I have modified the termcap entry posted to info-mac earlier by
  12. Chris Kent@Purdue.  I added a little more padding to the add line and
  13. insert character capabilities, and removed the padding from the delete
  14. character capability.  Delete character works fine now on mine at 1200
  15. baud; I never get a chance to test it at higher rates (some day I will
  16. buy a carrying case and bring it into school).  I would be interested
  17. in hearing how it does at 9600 baud.
  18.  
  19.      There are still little glitches in extreme cases, though.  If I am
  20. in vi at the beginning of a line half full of text and type "30ix<ESC>"
  21. to insert 30 x's rapidly, it works pretty well, but if I type
  22. "50ix<ESC>", there are errors when the line wraps around.  I am not
  23. sure where to start to fix that problem; if anyone fixes it or has
  24. expert advice on how to go about it, I would like to hear about it.
  25. This termcap entry works very well for my purposes, though (I don't use
  26. vi anyway), and here it is.
  27.  
  28.                     Steve Munson
  29.                     sbm@purdue.ARPA
  30.                     sbm@purdue.CSNET
  31.  
  32. Am|Macintosh|mac|Apple Macintosh running MacTerminal:\
  33.     :al=3*\E[L:am:bl=^G:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:\
  34.     :co#80:cr=^M:dc=\E[P:dl=\E[M:dN#0:do=\E[B:ho=\E[H:\
  35.     :ic=13\E[@:ip=5:kb=^H:kd=\E[B:kh=\E[H:\
  36.     :kl=\E[D:kn#4:kr=\E[C:ku=\E[A:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
  37.     :le=\E[D:li#24:nd=\E[C:nl=^J:pt:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:\
  38.     :ue=\E[m:up=\E[A:us=\E[1;4m:xn:
  39.  
  40. ----------
  41.