home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / emacs / 3032 next >
Encoding:
Internet Message Format  |  1992-09-07  |  3.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!olivea!mintaka.lcs.mit.edu!concerto.lcs.mit.edu!boaz
  2. From: boaz@concerto.lcs.mit.edu (Boaz Ben-Zvi)
  3. Newsgroups: comp.emacs
  4. Subject: Re: HELP RUNNING emacs on Z-29
  5. Keywords: z-29
  6. Message-ID: <1992Sep5.001621.23797@mintaka.lcs.mit.edu>
  7. Date: 5 Sep 92 00:16:21 GMT
  8. References: <3496@babcock.cerc.wvu.wvnet.edu>
  9. Sender: news@mintaka.lcs.mit.edu
  10. Reply-To: boaz@lcs.mit.edu
  11. Organization: Laboratory for Computer Science, MIT
  12. Lines: 56
  13.  
  14. In article <3496@babcock.cerc.wvu.wvnet.edu>, vedati@watoga.cerc.wvu.wvnet.edu (Krishna Vedati) writes:
  15.  
  16. |> I use a z-29 terminal type terminal at home. but emacs does't recognize
  17. |> this terminal type. is there a way i can use emacs on this terminals.
  18.  
  19. I also use a z-29 at home. I set the terminal itself to ANSI mode, and in
  20. my .login I have:
  21.  
  22. set term=`tset -Q -I - -m '<=2400:z29a-nkc-bc' -m 'vt52>2400:vt100'`
  23.  
  24. That is, when I login from home (with a modem <= 2400 baud), the terminal
  25. type is set to  z29a-nkc-bc , which means z29, Ansi , no key click, block
  26. cursor.
  27.  
  28. Here are all the relevant entries for the /etc/termcap file (in case you
  29. don't have them, add them to that file):
  30.  
  31. # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
  32. # the world is stable. `rs' causes the terminal to be reset to the state
  33. # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
  34. # cursor, bc -> block cursor.
  35. # from Mike Meyers
  36. kF|z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
  37.     :do=^J:co#80:li#24:cl=\E[2J:pt:ho=\E[H:\
  38.     :le=^H:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:mb=\E[5m:mr=\E7m:\
  39.     :ce=\E[K:cd=\E[J:so=\E[7;2m:se=\E[m:us=\E[4m:ue=\E[m:mh=\E[2m:\
  40.     :md=\E[2m:mr=\E[7m:mb=\E[5m:me=\E[m:\
  41.     :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
  42.     :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
  43.     :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
  44.     :k9=\EOX:k0=\E[~:l0=help:kn#2:ko=ho,cd:if=/usr/lib/tabset/zenith29:\
  45.     :es:hs:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:fs=\E[u\E[>5l:ds=\E[>1l:\
  46.     :cs=\E[%i%d;%dr:sr=\EM:sf=\ED:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:\
  47.     :RI=\E[%dC:AL=\E[%dL:DL=\E[%dM:sc=\E[s:rc=\E[r:dc=\E[1P:DC=\E[%dP:\
  48.     :kC=\E[J:ct=\E[3g:st=\EH:ti=\E[?7l:te=\E[?7h:ps=\E#7:
  49. kG|z29a-kc-uc|h29a-kc-uc|heath/zenith 29 in ansi mode:\
  50.     :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
  51.     :tc=z29a:
  52. kH|z29a-nkc-bc|h29a-nkc-bc|heath/zenith 29 in ansi mode:\
  53.     :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
  54.     :tc=z29a:
  55. kI|z29a-nkc-uc|h29a-nkc-uc|heath/zenith 29 in ansi mode:\
  56.     :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
  57.     :tc=z29a:
  58.  
  59.  
  60. -- Boaz (don't put this line in the /etc/termcap file :-)
  61.  
  62. ===============================================================================
  63.   _              _            __         __ ___  _ _   __ ___    ____      ___
  64.  /_) _  _  __   /_) _   __ __ _/    o     |   |   \| __ |   |     /    \ |   |
  65. /__)(_)(_|__/  /__)(_'_/ /   /__\/_(        __|_ __\    | __|_     \  __\| __|_
  66.           __)                                           |                      
  67. ===============================================================================
  68.  Boaz Ben-Zvi <boaz@lcs.mit.edu>     MIT Addr: NE43-526   Tel: (617) 253-6212 
  69. ===============================================================================
  70.