home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / dev / alst-3.04.lha / ALSt-3.04 / termcap < prev   
Text File  |  1994-05-14  |  8KB  |  153 lines

  1. # Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
  2. # All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms, with or without
  5. # modification, are permitted provided that the following conditions
  6. # are met:
  7. # 1. Redistributions of source code must retain the above copyright
  8. #    notice, this list of conditions and the following disclaimer.
  9. # 2. Redistributions in binary form must reproduce the above copyright
  10. #    notice, this list of conditions and the following disclaimer in the
  11. #    documentation and/or other materials provided with the distribution.
  12. # 3. All advertising materials mentioning features or use of this software
  13. #    must display the following acknowledgement:
  14. #    This product includes software developed by the University of
  15. #    California, Berkeley and its contributors.
  16. # 4. Neither the name of the University nor the names of its contributors
  17. #    may be used to endorse or promote products derived from this software
  18. #    without specific prior written permission.
  19. #
  20. # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. # SUCH DAMAGE.
  31. #
  32. #    @(#)termcap.src    5.88 (Berkeley) 4/30/91
  33. #
  34. #
  35. #    Termcap source file
  36. #    John Kunze, Berkeley
  37. #    Craig Leres, Berkeley
  38. #
  39. # Please e-mail changes to termcap@berkeley.edu or uunet!ucbvax!termcap.
  40. #
  41. # << EOH - after reordering, above header lines survive and this line dies >>
  42. #
  43. # DESCRIPTION:
  44. # This file describes capabilities of various terminals, as needed by
  45. # software such as screen editors.  It does not attempt to describe
  46. # printing terminals very well, nor graphics terminals.  Someday.
  47. # See termcap(5) in the Unix Programmers Manual for documentation.
  48. #
  49. # Conventions: First entry is two chars, first char is manufacturer,
  50. # second char is canonical name for model or mode.
  51. # Third entry is the one the editor will print with "set" command.
  52. # Last entry is verbose description.
  53. # Others are mnemonic synonyms for the terminal.
  54. #
  55. # Terminal naming conventions:
  56. # Terminal names look like <manufacturer> <model> - <modes/options>
  57. # Certain abbreviations (e.g. c100 for concept100) are also allowed
  58. # for upward compatibility.  The part to the left of the dash, if a
  59. # dash is present, describes the particular hardware of the terminal.
  60. # The part to the right can be used for flags indicating special ROM's,
  61. # extra memory, particular terminal modes, or user preferences.
  62. # All names are always in lower case, for consistency in typing.
  63. #
  64. # The following are conventionally used flags:
  65. #    rv    Terminal in reverse video mode (black on white)
  66. #    2p    Has two pages of memory.  Likewise 4p, 8p, etc.
  67. #    w    Wide - in 132 column mode.
  68. #    pp    Has a printer port which is used.
  69. #    na    No arrow keys - termcap ignores arrow keys which are
  70. #        actually there on the terminal, so the user can use
  71. #        the arrow keys locally.
  72. #
  73. # There are some cases where the same name is used for two different
  74. # terminals, e.g. "teleray" or "2621" or "vt100".  In these cases,
  75. # if a site has one of these, they should choose a local default and
  76. # bring that terminal to the front in the reorder script.  This works
  77. # because tgetent picks the first match in /etc/termcap.
  78. # The list of names intentionally duplicated is:
  79. # 2621, c108, dtc, hp2621, teleray, tvi, vt100.
  80. #
  81. # To easily test a new terminal description, put it in $HOME/.termcap
  82. # and programs will look there before looking in /etc/termcap.
  83. # You can also setenv TERMPATH to a list of full pathnames (separated
  84. # by spaces or colons) to be searched by tgetent() in the order listed.
  85. # The TERMCAP environment variable is usually set to the termcap
  86. # entry itself to avoid reading files when starting up a program.
  87. #
  88. # If you absolutely MUST check for a specific terminal (this is discouraged)
  89. # check for the 2nd entry (the canonical form) since all other codes are
  90. # subject to change.  The two letter codes are there for version 6 and are
  91. # EXTREMELY subject to change, or even to go away if version 6 becomes for
  92. # all practical purposes obsolete.  We would much rather put in special
  93. # capabilities to describe your terminal rather than having you key on the
  94. # name.
  95. #
  96. #  Special manufacturer codes:
  97. #    A: hardcopy daisy wheel terminals
  98. #    M: Misc. (with only a few terminals)
  99. #    q: Homemade
  100. #    s: special (dialup, etc.)
  101. #
  102. # Comments in this file begin with # - they cannot appear in the middle
  103. # of a termcap entry.  Individual entries are commented out by
  104. # placing a period between the colon and the capability name.
  105. #
  106. #  This file is to be installed with an editor script (reorder)
  107. #  that moves the most common terminals to the front of the file.
  108. #  If the source is not available, it can be constructed by sorting
  109. #  the above entries by the 2 char initial code.
  110. #  # --------------------------------
  111. #
  112. # A: DAISY WHEEL PRINTERS
  113. #
  114. # The A manufacturer represents Diablo, DTC, Xerox, Qume, and other Daisy
  115. # wheel terminals until such time as termcap distinguishes between them
  116. # enough to justify separate codes.
  117. # This is an "experimental" entry for the SRI Agiles.
  118. # It has been tried in a minimal way -- the Agile did not blow up!
  119. # However, it has not been exhaustively tested.
  120. # Anyone who tries it and finds it wanting should get in touch with:
  121. #    Ralph Keirstead (ralph@sri-unix);
  122. #    EK352; SRI International; 333 Ravenswood Avenue; Menlo Park, CA 94025
  123. # Amiga termcap by Kent Polk, kent@swrinde.nde.swri.edu (30 May 90)
  124. # Added a few more entries, converted caret-type control sequence (^x) entries
  125. # to '\0xx' entries since a couple of people mentioned loosing '^x' sequences.
  126. #
  127. # :as, :ae            Support for alternate character sets.
  128. # :ve=\E[\040p:vi=\E[\060\040p    cursor visible/invisible.
  129. # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
  130. #     This one appears to fix a problem I always had with a line ending
  131. #     at 'width+1' (I think) followed by a blank line in vi. The blank
  132. #     line tended to disappear and reappear depending on how the screen
  133. #     was refreshed. Note that this is probably needed only if you use
  134. #     something like a Dnet Fterm with the window sized to some peculiar
  135. #     dimension larger than 80 columns.
  136. # :k0=\E9~    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
  137. # :F1-FA            removed F11 through F20. 
  138. AA|amiga|Amiga ANSI:\
  139.     :co#80:li#24:am:bs:bw:\
  140.     :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
  141.     :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:IC=\E[%d@:\
  142.     :ae=\017:al=\E[L:as=\016:bl=\007:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
  143.     :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[20l:\
  144.     :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:\
  145.     :k9=\E8~:k0=\E9~:kn#10:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\
  146.     :mb=\E[7;2m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
  147.     :rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:\
  148.     :vb=\007:ve=\E[\040p:vi=\E[\060\040p:xn:
  149.  
  150. #
  151. # END OF TERMCAP
  152. #  ------------------------
  153.