Revision: 75116
          http://sourceforge.net/p/brlcad/code/75116
Author:   starseeker
Date:     2020-03-26 00:39:30 +0000 (Thu, 26 Mar 2020)
Log Message:
-----------
Merge chagnes from trunk through r75115

Modified Paths:
--------------
    brlcad/branches/thirdparty_rework/CMakeLists.txt
    brlcad/branches/thirdparty_rework/HACKING
    brlcad/branches/thirdparty_rework/INSTALL
    brlcad/branches/thirdparty_rework/configure
    brlcad/branches/thirdparty_rework/doc/docbook/articles/main_menu.xml
    brlcad/branches/thirdparty_rework/doc/docbook/system/man3/CMakeLists.txt
    brlcad/branches/thirdparty_rework/doc/ecosystem.dot
    brlcad/branches/thirdparty_rework/doc/legal/embedded/CMakeLists.txt
    brlcad/branches/thirdparty_rework/doc/legal/other/CMakeLists.txt
    brlcad/branches/thirdparty_rework/doc/trunk_hierarchy.org
    brlcad/branches/thirdparty_rework/include/CMakeLists.txt
    brlcad/branches/thirdparty_rework/misc/CMake/CMakeLists.txt
    brlcad/branches/thirdparty_rework/misc/clang-static-analyzer-run.sh
    brlcad/branches/thirdparty_rework/misc/doxygen/CMakeLists.txt
    brlcad/branches/thirdparty_rework/src/CMakeLists.txt
    brlcad/branches/thirdparty_rework/src/README
    brlcad/branches/thirdparty_rework/src/fb/CMakeLists.txt
    brlcad/branches/thirdparty_rework/src/libtermio/CMakeLists.txt
    brlcad/branches/thirdparty_rework/src/other/CMakeLists.txt
    brlcad/branches/thirdparty_rework/src/other/README
    brlcad/branches/thirdparty_rework/src/other/libtermlib/CMakeLists.txt

Added Paths:
-----------
    brlcad/branches/thirdparty_rework/doc/legal/embedded/libtermlib.txt
    brlcad/branches/thirdparty_rework/src/libtermio/termcap
    brlcad/branches/thirdparty_rework/src/libtermio/termcap.c
    brlcad/branches/thirdparty_rework/src/libtermio/termcap.h
    brlcad/branches/thirdparty_rework/src/libtermio/tgoto.c
    brlcad/branches/thirdparty_rework/src/libtermio/tputs.c

Removed Paths:
-------------
    brlcad/branches/thirdparty_rework/doc/docbook/system/man3/libcursor.xml
    brlcad/branches/thirdparty_rework/doc/legal/other/libtermlib.txt
    brlcad/branches/thirdparty_rework/include/cursor.h
    brlcad/branches/thirdparty_rework/misc/CMake/FindTERMLIB.cmake
    brlcad/branches/thirdparty_rework/misc/doxygen/libcursor.dox
    brlcad/branches/thirdparty_rework/src/libcursor/
    brlcad/branches/thirdparty_rework/src/other/libtermlib.dist

Property Changed:
----------------
    brlcad/branches/thirdparty_rework/
    brlcad/branches/thirdparty_rework/doc/
    brlcad/branches/thirdparty_rework/doc/docbook/articles/
    brlcad/branches/thirdparty_rework/include/
    brlcad/branches/thirdparty_rework/src/other/

Index: brlcad/branches/thirdparty_rework
===================================================================
--- brlcad/branches/thirdparty_rework   2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework   2020-03-26 00:39:30 UTC (rev 75116)

Property changes on: brlcad/branches/thirdparty_rework
___________________________________________________________________
Modified: svn:mergeinfo
## -5,4 +5,5 ##
 /brlcad/branches/gct:62423-62425
 /brlcad/branches/opencl:65867-66137
 /brlcad/branches/osg:62110-62113
-/brlcad/branches/prep-cache:68236-68933
\ No newline at end of property
+/brlcad/branches/prep-cache:68236-68933
+/brlcad/trunk:75098-75115
\ No newline at end of property
Modified: brlcad/branches/thirdparty_rework/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/CMakeLists.txt    2020-03-26 00:34:30 UTC 
(rev 75115)
+++ brlcad/branches/thirdparty_rework/CMakeLists.txt    2020-03-26 00:39:30 UTC 
(rev 75116)
@@ -2577,18 +2577,6 @@
   CONFIG_H_APPEND(BRLCAD "#define HAVE_LIBPROC_H 1\n")
 endif(HAVE_LIBPROC_H)
 
-# Termlib related headers - these will be checked for in FindTERMLIB.cmake
-# testing logic, so at this stage just let the config header know we're
-# interested in the results
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_CURSES_H 1\n")
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_NCURSES_H 1\n")
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_TERMCAP_H 1\n")
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_TERMINFO_H 1\n")
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_TERMLIB_H 1\n")
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_TERM_H 1\n")
-CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_TINFO_H 1\n")
-
-# Termio isn't addressed by FindTERMLIB.cmake, so handle it here
 BRLCAD_INCLUDE_FILE(termios.h HAVE_TERMIOS_H)
 BRLCAD_INCLUDE_FILE(termio.h HAVE_TERMIO_H)
 

Modified: brlcad/branches/thirdparty_rework/HACKING
===================================================================
--- brlcad/branches/thirdparty_rework/HACKING   2020-03-26 00:34:30 UTC (rev 
75115)
+++ brlcad/branches/thirdparty_rework/HACKING   2020-03-26 00:39:30 UTC (rev 
75116)
@@ -263,10 +263,6 @@
 Rational BSpline based boundary representations.
        Depends on: libbg libbn libbu OpenNURBS
 
-libcursor: The cursor library is a lightweight cursor manipulation
-library similar to curses but with less overhead.
-       Depends on: termlib
-
 libdm: The display manager library contains the logic for generalizing
 a drawable context.  This includes the ability to output
 drawing/plotting instructions to a variety of devices such as X11,

Modified: brlcad/branches/thirdparty_rework/INSTALL
===================================================================
--- brlcad/branches/thirdparty_rework/INSTALL   2020-03-26 00:34:30 UTC (rev 
75115)
+++ brlcad/branches/thirdparty_rework/INSTALL   2020-03-26 00:39:30 UTC (rev 
75116)
@@ -533,18 +533,6 @@
 Aliases:  ENABLE_FREETYPE
 
 
---- BRLCAD_TERMLIB ---
-
-Option for enabling and disabling compilation of the termlib library
-provided with BRL-CAD's source distribution.  Default is AUTO,
-responsive to the toplevel BRLCAD_BUNDLED_LIBS option and testing
-first for a system version if BRLCAD_BUNDLED_LIBS is also
-AUTO. (Except when building with Visual Studio, where it is
-disabled. Windows does not support the termlib API.)
-
-Aliases:  ENABLE_TERMLIB
-
-
 --- BRLCAD_NETPBM ---
 
 Option for enabling and disabling compilation of the netpbm library

Modified: brlcad/branches/thirdparty_rework/configure
===================================================================
--- brlcad/branches/thirdparty_rework/configure 2020-03-26 00:34:30 UTC (rev 
75115)
+++ brlcad/branches/thirdparty_rework/configure 2020-03-26 00:39:30 UTC (rev 
75116)
@@ -126,10 +126,6 @@
                                   shift;;
      --disable-freetype)                options="$options 
-DBRLCAD_FREETYPE=SYSTEM";
                                   shift;;
-     --enable-termlib)                options="$options 
-DBRLCAD_TERMLIB=BUNDLED";
-                                  shift;;
-     --disable-termlib)                options="$options 
-DBRLCAD_TERMLIB=SYSTEM";
-                                  shift;;
      --enable-netpbm)                options="$options 
-DBRLCAD_NETPBM=BUNDLED";
                                   shift;;
      --disable-netpbm)                options="$options 
-DBRLCAD_NETPBM=SYSTEM";

Index: brlcad/branches/thirdparty_rework/doc
===================================================================
--- brlcad/branches/thirdparty_rework/doc       2020-03-26 00:34:30 UTC (rev 
75115)
+++ brlcad/branches/thirdparty_rework/doc       2020-03-26 00:39:30 UTC (rev 
75116)

Property changes on: brlcad/branches/thirdparty_rework/doc
___________________________________________________________________
Modified: svn:mergeinfo
## -1 +1,2 ##
-/brlcad/branches/RELEASE/doc:71917-72242,72525-72534,72826-72858,74376-74454
\ No newline at end of property
+/brlcad/branches/RELEASE/doc:71917-72242,72525-72534,72826-72858,74376-74454
+/brlcad/trunk/doc:75098-75115
\ No newline at end of property
Index: brlcad/branches/thirdparty_rework/doc/docbook/articles
===================================================================
--- brlcad/branches/thirdparty_rework/doc/docbook/articles      2020-03-26 
00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/docbook/articles      2020-03-26 
00:39:30 UTC (rev 75116)

Property changes on: brlcad/branches/thirdparty_rework/doc/docbook/articles
___________________________________________________________________
Modified: svn:mergeinfo
## -1,2 +1,3 ##
 
/brlcad/branches/RELEASE/doc/docbook/articles:70323-70333,71915-72242,72826-72858,74376-74454
-/brlcad/branches/brep-debug/doc/docbook/articles:69168,69927,69995-69996,70148-70149,70347-70349,70377,70526-70527,71006-71007,71009-71022,71046-71047,71049,71096-71100
\ No newline at end of property
+/brlcad/branches/brep-debug/doc/docbook/articles:69168,69927,69995-69996,70148-70149,70347-70349,70377,70526-70527,71006-71007,71009-71022,71046-71047,71049,71096-71100
+/brlcad/trunk/doc/docbook/articles:75098-75115
\ No newline at end of property
Modified: brlcad/branches/thirdparty_rework/doc/docbook/articles/main_menu.xml
===================================================================
--- brlcad/branches/thirdparty_rework/doc/docbook/articles/main_menu.xml        
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/docbook/articles/main_menu.xml        
2020-03-26 00:39:30 UTC (rev 75116)
@@ -3737,13 +3737,8 @@
         <link xlink:href="../xxxxx.php">Man 3</link>
       </para>
   <itemizedlist>
-        <listitem>
+      <listitem>
       <para>
-        <link xlink:href="../../man3/en/libcursor.php">Libcursor</link>
-      </para>
-    </listitem>
-        <listitem>
-      <para>
         <link xlink:href="../../man3/en/libfb.php">Lib fb</link>
       </para>
     </listitem>

Modified: 
brlcad/branches/thirdparty_rework/doc/docbook/system/man3/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/doc/docbook/system/man3/CMakeLists.txt    
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/docbook/system/man3/CMakeLists.txt    
2020-03-26 00:39:30 UTC (rev 75116)
@@ -1,5 +1,4 @@
 set(man3_EN
-  libcursor.xml
   libfb.xml
   libplot3.xml
   librt.xml

Deleted: brlcad/branches/thirdparty_rework/doc/docbook/system/man3/libcursor.xml
===================================================================
--- brlcad/branches/thirdparty_rework/doc/docbook/system/man3/libcursor.xml     
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/docbook/system/man3/libcursor.xml     
2020-03-26 00:39:30 UTC (rev 75116)
@@ -1,246 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- lifted from troff+man by doclifter -->
-<refentry xmlns='http://docbook.org/ns/docbook' version='5.0' xml:lang='en' 
xml:id='libcursor3'>
-<refmeta>
-    <refentrytitle>LIBCURSOR</refentrytitle>
-<manvolnum>3</manvolnum>
-<refmiscinfo class='source'>BRL-CAD</refmiscinfo>
-<refmiscinfo class='manual'>BRL-CAD</refmiscinfo>
-</refmeta>
-
-<refnamediv>
-<refname>libcursor</refname>
-<refpurpose>cursor control library</refpurpose>
-</refnamediv>
-<!-- body begins here -->
-<refsynopsisdiv xml:id='synopsis'>
-<funcsynopsis>
-<funcsynopsisinfo>
-#include &lt;stdio.h&gt;
-
-</funcsynopsisinfo>
-<funcprototype>
-<funcdef>int <function>InitTermCap</function></funcdef>
-<paramdef><parameter>fp</parameter></paramdef>
-</funcprototype>
-<funcsynopsisinfo>
-FILE *fp;
-
-</funcsynopsisinfo>
-<funcprototype>
-<funcdef>int <function>MvCursor</function></funcdef>
-<paramdef><parameter>x</parameter></paramdef>
-<paramdef><parameter>y</parameter></paramdef>
-</funcprototype>
-<funcsynopsisinfo>
-int x, y;
-
-</funcsynopsisinfo>
-<funcprototype>
-<funcdef>int <function>HmCursor</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>ClrEOL</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>ClrText</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>ClrStandout</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>SetStandout</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>SetScrlReg</function></funcdef>
-<paramdef><parameter>top</parameter></paramdef>
-<paramdef><parameter>bottom</parameter></paramdef>
-</funcprototype>
-<funcsynopsisinfo>
-int top, bottom;
-
-</funcsynopsisinfo>
-<funcprototype>
-<funcdef>int <function>ResetScrlReg</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>ScrollUp</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>ScrollDn</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>DeleteLn</function></funcdef>
-<void/></funcprototype>
-
-<funcprototype>
-<funcdef>int <function>PutChr</function></funcdef>
-<paramdef><parameter>c</parameter></paramdef>
-</funcprototype>
-<funcsynopsisinfo>
-int c;
-
-extern char termName[];
-
-</funcsynopsisinfo>
-</funcsynopsis>
-<para><emphasis remap='B'>extern int LI;</emphasis>            /* number of 
lines on screen (or layer) */</para>
-
-<para><emphasis remap='B'>extern int CO;</emphasis>    /* number of columns on 
screen (or layer) */</para>
-</refsynopsisdiv>
-
-
-<refsect1 xml:id='description'><title>DESCRIPTION</title>
-<para>These routines are designed to provide a terminal-independent means of 
controlling
-cursor movement, character attributes, text scrolling, and erasure of text
-which is a level above the
-<citerefentry><refentrytitle>termlib</refentrytitle><manvolnum>3</manvolnum></citerefentry>
-library.
-It is similar to the
-<citerefentry><refentrytitle>curses</refentrytitle><manvolnum>3</manvolnum></citerefentry>
-library, but does not address the problem of maintaining windows, so it has 
much
-less overhead and avoids the associated bugs.</para>
-
-<para><emphasis remap='I'>InitTermCap</emphasis>
-must be passed the output stream pointer and invoked before any other functions
-in this library.
-This function reads the
-<citerefentry><refentrytitle>termcap</refentrytitle><manvolnum>4</manvolnum></citerefentry>
-capability data base to extract terminal-specific parameters
-and control strings,
-then initializes the terminal, returning 1 for success and 0 for failure.
-After
-<emphasis remap='I'>InitTermCap</emphasis>
-is used, the global buffer
-<emphasis remap='I'>termName</emphasis>
-will contain the name of the terminal device, or
-<emphasis remap='B'>UNKNOWN</emphasis>
-in the event of failure
-(<emphasis remap='I'>e.g.</emphasis>,
-the environment variable
-<emphasis remap='SM'>$TERM</emphasis>
-was not set or exported (see
-<citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry>));
-the global variables
-<emphasis remap='I'>LI</emphasis>
-and
-<emphasis remap='I'>CO</emphasis>
-will contain the number of lines and columns, respectively, of the
-terminal screen or window layer attached to the specified output stream;
-and the terminal control string pointers will be set, or
-<acronym>NULL</acronym>
-if their respective capabilities are not found.
-The terminal control strings are not generally suitable for direct use
-as they require the
-<emphasis remap='I'>tputs</emphasis>
-or
-<emphasis remap='I'>tgoto</emphasis>
-macros from the
-<citerefentry><refentrytitle>termlib</refentrytitle><manvolnum>3</manvolnum></citerefentry>
-library, but they may be checked for being
-<acronym>NULL</acronym>
-to test in advance for a capability,
-rather than testing the respective function for
-success or failure.
-The function
-<emphasis remap='I'>PutChr</emphasis>
-will place the specified character on the terminal's output stream.
-It is not intended
-for use by the application (although such use is permissible),
-but is defined for the
-<citerefentry><refentrytitle>termlib</refentrytitle><manvolnum>3</manvolnum></citerefentry>
-library.</para>
-
-<para>All the following functions will return 1 for success and 0 if the 
capability
-is not described in the
-<citerefentry><refentrytitle>termcap</refentrytitle><manvolnum>4</manvolnum></citerefentry>
-entry.
-<emphasis remap='I'>MvCursor</emphasis>
-will move the cursor to the specified column and row
-(<emphasis remap='I'>x</emphasis>
-and
-<emphasis remap='I'>y</emphasis>)
-screen location specified.
-<emphasis remap='I'>HmCursor</emphasis>
-will move the cursor to the origin (top left) of the screen and is equivalent
-to
-<emphasis remap='I'>MvCursor(1,1)</emphasis>.
-To erase from the cursor position to the end of the line, use
-<emphasis remap='I'>ClrEOL</emphasis>,
-and to erase the entire screen call
-<emphasis remap='I'>ClrText</emphasis>
-(typically has the side effect of homing the cursor).
-To initiate the output of reverse video or emboldened text (depending
-upon the terminal's capabilities), use
-<emphasis remap='I'>SetStandout</emphasis>;
-<emphasis remap='I'>ClrStandout</emphasis>
-will restore the normal mode.
-For terminals such as the
-<emphasis remap='SM'>DEC VT100</emphasis>
-which have scrolling region capability, the functions
-<emphasis remap='I'>SetScrlReg</emphasis>
-and
-<emphasis remap='I'>ResetScrlReg</emphasis>
-can be used.
-<emphasis remap='I'>SetScrlReg</emphasis>
-must be invoked with the top and bottom line numbers of the region of the
-screen to be scrolled.
-The functions
-<emphasis remap='I'>ScrollUp</emphasis>
-and
-<emphasis remap='I'>ScrollDn</emphasis>
-will scroll the text on the screen up and down
-(forward and backward) respectively,
-by one line per invocation.
-The function
-<emphasis remap='I'>DeleteLn</emphasis>
-will delete the line containing the cursor, causing the text
-below to scroll up to fill the void.</para>
-</refsect1>
-
-<refsect1 xml:id='example'><title>EXAMPLE</title>
-<para><emphasis remap='I'>Libcursor</emphasis>
-can be loaded with any C program:</para>
-
-<literallayout remap='RS'>
-$ <emphasis remap='I'>cc program.c -lcursor -ltermlib</emphasis>
-</literallayout> <!-- remap='RE' -->
-</refsect1>
-
-<refsect1 xml:id='files'><title>FILES</title>
-<para>/usr/brl/lib/libcursor.a
-<!-- .br -->
-/usr/lib/libtermlib.a
-<!-- .br -->
-/etc/termcap</para>
-</refsect1>
-
-<refsect1 xml:id='see_also'><title>SEE ALSO</title>
-<para><citerefentry><refentrytitle>curses</refentrytitle><manvolnum>3X</manvolnum></citerefentry>,
 
<citerefentry><refentrytitle>termlib</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
 
<citerefentry><refentrytitle>termcap</refentrytitle><manvolnum>4</manvolnum></citerefentry>.</para>
-</refsect1>
-
-<refsect1 xml:id='author'><title>AUTHOR</title>
-<para>Gary S. Moss, BRL/VLD-VMB</para>
-
-</refsect1>
-
-<refsect1 xml:id='copyright'><title>COPYRIGHT</title>
-<para>This software is Copyright (c) 1987-2020 by the United States
-Government as represented by U.S. Army Research Laboratory.</para>
-
-</refsect1>
-
-<refsect1 xml:id='bug_reports'><title>BUG REPORTS</title>
-<para>Reports of bugs or problems should be submitted via electronic
-mail to <email>d...@brlcad.org</email></para>
-</refsect1>
-</refentry>
-

Modified: brlcad/branches/thirdparty_rework/doc/ecosystem.dot
===================================================================
--- brlcad/branches/thirdparty_rework/doc/ecosystem.dot 2020-03-26 00:34:30 UTC 
(rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/ecosystem.dot 2020-03-26 00:39:30 UTC 
(rev 75116)
@@ -60,7 +60,6 @@
 
        libpng [color = "blue", style = bold, shape = box, label = "libpng"];
        libregex [color = "blue", style = bold, shape = box, label = 
"libregex"];
-       libtermlib [color = "blue", style = bold, shape = box, label = 
"libtermlib"];
        libutahrle [color = "blue", style = bold, shape = box, label = 
"libutahrle"];
        opennurbs [color = "blue", style = bold, shape = box, label = 
"openNURBS"];
        scl [color = "blue", style = bold, shape = box, label = "NIST Step 
Class Libraries"];
@@ -72,8 +71,8 @@
        //re2clemon [color = "orange", style = bold, shape = box, label = "re2c 
+ lemon"];
        re2c [color = "orange", style = bold, shape = box, label = "re2c"];
        lemon [color = "orange", style = bold, shape = box, label = "lemon"];
-       //{ rank = same; "3rd Party Resources"; tcltk; tkhtml; tkpng; tktable; 
togl; incrTcl; libpng; libregex; libtermlib; libutahrle; opennurbs; scl; tnt; 
xsl; zlib; re2clemon; }
-       { rank = same; "3rd Party Resources"; tcltk; tkhtml; tkpng; tktable; 
togl; incrTcl; libpng; libregex; libtermlib; libutahrle; opennurbs; scl; tnt; 
xsl; zlib; re2c; lemon; }
+       //{ rank = same; "3rd Party Resources"; tcltk; tkhtml; tkpng; tktable; 
togl; incrTcl; libpng; libregex; libutahrle; opennurbs; scl; tnt; xsl; zlib; 
re2clemon; }
+       { rank = same; "3rd Party Resources"; tcltk; tkhtml; tkpng; tktable; 
togl; incrTcl; libpng; libregex; libutahrle; opennurbs; scl; tnt; xsl; zlib; 
re2c; lemon; }
        // GSoC
        osl [color = "purple", style = bold, shape = box, label = "Open Shader 
Language (GSoC)"];
        oiio [color = "purple", style = bold, shape = box, label = "OpenImageIO 
(GSoC)"];
@@ -149,8 +148,6 @@
        libtclcad -> incrTcl;
        libtclcad -> libpng;
 
-       libtermio -> libtermlib;
-
        experimental -> osl;
        experimental -> oiio;
        experimental -> openexr;

Modified: brlcad/branches/thirdparty_rework/doc/legal/embedded/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/doc/legal/embedded/CMakeLists.txt 
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/legal/embedded/CMakeLists.txt 
2020-03-26 00:39:30 UTC (rev 75116)
@@ -19,6 +19,7 @@
   hv3.txt
   hv3_combobox.txt
   hv3_snit.txt
+  libtermlib.txt
   msinttypes.txt
   nurbs_fit.txt
   obr.txt

Copied: brlcad/branches/thirdparty_rework/doc/legal/embedded/libtermlib.txt 
(from rev 75115, brlcad/trunk/doc/legal/embedded/libtermlib.txt)
===================================================================
--- brlcad/branches/thirdparty_rework/doc/legal/embedded/libtermlib.txt         
                (rev 0)
+++ brlcad/branches/thirdparty_rework/doc/legal/embedded/libtermlib.txt 
2020-03-26 00:39:30 UTC (rev 75116)
@@ -0,0 +1,33 @@
+This code contains changes by
+     Gunnar Ritter, Freiburg i. Br., Germany, 2002. All rights reserved.
+
+The conditions and no-warranty notice below apply to these changes.
+
+
+Copyright (c) 1980, 1993
+     The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+ * Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+ * Neither the name of the University nor the names of its contributors
+   may be used to endorse or promote products derived from this software
+   without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+

Modified: brlcad/branches/thirdparty_rework/doc/legal/other/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/doc/legal/other/CMakeLists.txt    
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/legal/other/CMakeLists.txt    
2020-03-26 00:39:30 UTC (rev 75116)
@@ -8,7 +8,6 @@
   libnetpbm.txt
   libpng.txt
   libregex.txt
-  libtermlib.txt
   libutahrle.txt
   libvds.txt
   libz.txt

Deleted: brlcad/branches/thirdparty_rework/doc/legal/other/libtermlib.txt
===================================================================
--- brlcad/branches/thirdparty_rework/doc/legal/other/libtermlib.txt    
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/legal/other/libtermlib.txt    
2020-03-26 00:39:30 UTC (rev 75116)
@@ -1,33 +0,0 @@
-This code contains changes by
-     Gunnar Ritter, Freiburg i. Br., Germany, 2002. All rights reserved.
-
-The conditions and no-warranty notice below apply to these changes.
-
-
-Copyright (c) 1980, 1993
-     The Regents of the University of California.  All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
- * Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-   notice, this list of conditions and the following disclaimer in the
-   documentation and/or other materials provided with the distribution.
- * Neither the name of the University nor the names of its contributors
-   may be used to endorse or promote products derived from this software
-   without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
-

Modified: brlcad/branches/thirdparty_rework/doc/trunk_hierarchy.org
===================================================================
--- brlcad/branches/thirdparty_rework/doc/trunk_hierarchy.org   2020-03-26 
00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/doc/trunk_hierarchy.org   2020-03-26 
00:39:30 UTC (rev 75116)
@@ -598,7 +598,6 @@
 ***** [[file:../doc/docbook/system/man3/en][en]]
 ****** [[file:../doc/docbook/system/man3/en/redblack.xml][redblack.xml]]
 ****** [[file:../doc/docbook/system/man3/en/libdm.xml][libdm.xml]]
-****** [[file:../doc/docbook/system/man3/en/libcursor.xml][libcursor.xml]]
 ****** [[file:../doc/docbook/system/man3/en/TODO][TODO]]
 ****** [[file:../doc/docbook/system/man3/en/libwdb.xml][libwdb.xml]]
 ****** [[file:../doc/docbook/system/man3/en/libplot3.xml][libplot3.xml]]
@@ -3145,9 +3144,6 @@
 *** [[file:../src/burst/burst.c][burst.c]]
 *** [[file:../src/burst/Hm.h][Hm.h]]
 *** [[file:../src/burst/Hm.c][Hm.c]]
-** [[file:../src/libcursor][libcursor]]
-*** [[file:../src/libcursor/cursor.c][cursor.c]]
-*** [[file:../src/libcursor/CMakeLists.txt][CMakeLists.txt]]
 ** [[file:../src/librt][librt]]
 *** [[file:../src/librt/cmd.c][cmd.c]]
 *** [[file:../src/librt/search.c][search.c]]
@@ -13531,7 +13527,6 @@
 *** [[file:../misc/doxygen/libbrep.dox][libbrep.dox]]
 *** [[file:../misc/doxygen/librt.dox][librt.dox]]
 *** [[file:../misc/doxygen/CMakeLists.txt][CMakeLists.txt]]
-*** [[file:../misc/doxygen/libcursor.dox][libcursor.dox]]
 *** [[file:../misc/doxygen/libwdb.dox][libwdb.dox]]
 *** [[file:../misc/doxygen/libdm.dox][libdm.dox]]
 *** [[file:../misc/doxygen/intro.dox][intro.dox]]

Index: brlcad/branches/thirdparty_rework/include
===================================================================
--- brlcad/branches/thirdparty_rework/include   2020-03-26 00:34:30 UTC (rev 
75115)
+++ brlcad/branches/thirdparty_rework/include   2020-03-26 00:39:30 UTC (rev 
75116)

Property changes on: brlcad/branches/thirdparty_rework/include
___________________________________________________________________
Modified: svn:mergeinfo
## -1 +1,2 ##
-/brlcad/branches/RELEASE/include:71915-72242,72525-72534,72826-72858,74376-74454
\ No newline at end of property
+/brlcad/branches/RELEASE/include:71915-72242,72525-72534,72826-72858,74376-74454
+/brlcad/trunk/include:75098-75115
\ No newline at end of property
Modified: brlcad/branches/thirdparty_rework/include/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/include/CMakeLists.txt    2020-03-26 
00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/include/CMakeLists.txt    2020-03-26 
00:39:30 UTC (rev 75116)
@@ -26,7 +26,6 @@
   bsocket.h
   bu.h
   common.h
-  cursor.h
   dm.h
   fb.h
   fft.h

Deleted: brlcad/branches/thirdparty_rework/include/cursor.h
===================================================================
--- brlcad/branches/thirdparty_rework/include/cursor.h  2020-03-26 00:34:30 UTC 
(rev 75115)
+++ brlcad/branches/thirdparty_rework/include/cursor.h  2020-03-26 00:39:30 UTC 
(rev 75116)
@@ -1,142 +0,0 @@
-/*                        C U R S O R . H
- * BRL-CAD
- *
- * Copyright (c) 2013-2020 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this file; see the file named COPYING for more
- * information.
- */
-/** @addtogroup libcursor
- *
- * These are declarations of functions provided by libcursor, a simple
- * wrapper library to terminal capabilities (termcap).
- */
-/** @{ */
-/** @file cursor.h */
-
-#ifndef CURSOR_H
-#define CURSOR_H
-
-#include "common.h"
-
-#include <stdio.h>
-
-__BEGIN_DECLS
-
-#ifndef CURSOR_EXPORT
-#  if defined(CURSOR_DLL_EXPORTS) && defined(CURSOR_DLL_IMPORTS)
-#    error "Only CURSOR_DLL_EXPORTS or CURSOR_DLL_IMPORTS can be defined, not 
both."
-#  elif defined(CURSOR_DLL_EXPORTS)
-#    define CURSOR_EXPORT __declspec(dllexport)
-#  elif defined(CURSOR_DLL_IMPORTS)
-#    define CURSOR_EXPORT __declspec(dllimport)
-#  else
-#    define CURSOR_EXPORT
-#  endif
-#endif
-
-
-/**
- * Initialize termcap.
- *
- * This function must be called first to read the termcap database and
- * to specify the output stream.
- *
- * Get individual parameters and control strings.  Initialize the
- * terminal.  Use 'fp' as output stream.
- *
- * Returns 1 for success, 0 for failure and prints appropriate
- * diagnostic.
- */
-CURSOR_EXPORT extern int InitTermCap(FILE *fp);
-
-/**
- * These below functions output terminal control strings to the file
- * stream specified by the InitTermCap() call which must precede them.
- * They return 0 if the capability is not described in the termcap
- * database and 1 otherwise.  Of course if the database entry is
- * wrong, the command will not do its job.
- */
-
-/**
- * Begin standout mode.
- */
-CURSOR_EXPORT extern int SetStandout(void);
-
-/**
- * End standout mode.
- */
-CURSOR_EXPORT extern int ClrStandout(void);
-
-/**
- * Clear from the cursor to end of line.
- */
-CURSOR_EXPORT extern int ClrEOL(void);
-
-/**
- * Clear screen and home cursor.
- */
-CURSOR_EXPORT extern int ClrText(void);
-
-/**
- * Delete the current line.
- */
-CURSOR_EXPORT extern int DeleteLn(void);
-
-/**
- * Home the cursor.
- */
-CURSOR_EXPORT extern int HmCursor(void);
-
-/**
- * Move the cursor to screen coordinates x, y.
- */
-CURSOR_EXPORT extern int MvCursor(int x, int y);
-
-/**
- * Reverse scroll 1 line.
- */
-CURSOR_EXPORT extern int ScrollDn(void);
-
-/**
- * Forward scroll 1 line.
- */
-CURSOR_EXPORT extern int ScrollUp(void);
-
-/**
- * Set the scrolling region to be from "top" to "btm".
- */
-CURSOR_EXPORT extern int SetScrlReg(int top, int btm);
-
-/**
- * Reset the scrolling region to the entire screen.
- */
-CURSOR_EXPORT extern int ResetScrlReg(void);
-
-
-__END_DECLS
-
-#endif /* CURSOR_H */
-
-/** @} */
-
-/*
- * Local Variables:
- * tab-width: 8
- * mode: C
- * indent-tabs-mode: t
- * c-file-style: "stroustrup"
- * End:
- * ex: shiftwidth=4 tabstop=8
- */

Modified: brlcad/branches/thirdparty_rework/misc/CMake/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/misc/CMake/CMakeLists.txt 2020-03-26 
00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/misc/CMake/CMakeLists.txt 2020-03-26 
00:39:30 UTC (rev 75116)
@@ -46,7 +46,6 @@
   FindSTL.cmake
   FindShellDeps.cmake
   FindTBB.cmake
-  FindTERMLIB.cmake
   FindUTAHRLE.cmake
   FindUUID.cmake
   FindVDS.cmake

Deleted: brlcad/branches/thirdparty_rework/misc/CMake/FindTERMLIB.cmake
===================================================================
--- brlcad/branches/thirdparty_rework/misc/CMake/FindTERMLIB.cmake      
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/misc/CMake/FindTERMLIB.cmake      
2020-03-26 00:39:30 UTC (rev 75116)
@@ -1,164 +0,0 @@
-#               F I N D T E R M L I B . C M A K E
-# BRL-CAD
-#
-# Copyright (c) 2011-2020 United States Government as represented by
-# the U.S. Army Research Laboratory.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# 2. Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# 3. The name of the author may not be used to endorse or promote
-# products derived from this software without specific prior written
-# permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
-# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-###
-# - Find termlib
-# Find a curses or other terminal library
-#
-#  TERMLIB_LIBRARY       - terminal library.
-#  TERMLIB_INCLUDE_DIR   - terminal header directory.
-#  TERMLIB_FOUND         - library found.
-#
-#=============================================================================
-include(CheckLibraryExists)
-include(CheckIncludeFiles)
-include(CheckCSourceRuns)
-
-set(termlib_src "
-#ifdef HAVE_TERMLIB_H
-#  include <termlib.h>
-#else
-#  ifdef HAVE_NCURSES_H
-#    include <ncurses.h>
-#  else
-#    ifdef HAVE_CURSES_H
-#      include <curses.h>
-#    else
-#      ifdef HAVE_TERMCAP_H
-#        include <termcap.h>
-#      else
-#        ifdef HAVE_TERMINFO_H
-#          include <terminfo.h>
-#        else
-#          ifdef HAVE_TINFO_H
-#            include <tinfo.h>
-#          endif
-#        endif
-#      endif
-#    endif
-#  endif
-#  ifdef HAVE_TERM_H
-#    include <term.h>
-#  endif
-#endif
-int main (void) {
-   char buffer[2048] = {0};
-   (void)tgetent(buffer, \"vt100\");
-   return 0;
-}
-")
-
-include(CheckCCompilerFlag)
-check_c_compiler_flag(-Wall WALL_FLAG)
-if(WALL_FLAG)
-  set(WALL_DEF "-Wall")
-endif(WALL_FLAG)
-check_c_compiler_flag(-Werror WERROR_FLAG)
-if(WERROR_FLAG)
-  set(WERROR_DEF "-Werror")
-endif(WERROR_FLAG)
-
-function(TERMLIB_CHECK_LIBRARY lname func headers)
-  if(NOT TERMLIB_LIBRARY OR "${TERMLIB_LIBRARY}" MATCHES "NOTFOUND")
-    CHECK_LIBRARY_EXISTS(${lname} ${func} "" HAVE_TERMLIB_${lname})
-    if(HAVE_TERMLIB_${lname})
-      # Got lib, now sort through headers
-      foreach(hdr ${headers})
-       if(NOT TERMLIB_INCLUDE_DIR OR "${TERMLIB_INCLUDE_DIR}" MATCHES 
"NOTFOUND")
-         string(TOUPPER "${hdr}" HDR)
-         string(REGEX REPLACE "[^A-Z0-9]" "_" HDR "${HDR}")
-         CHECK_INCLUDE_FILES(${hdr} HAVE_${HDR})
-         find_path(TERMLIB_INCLUDE_DIR "${hdr}")
-         if(NOT "${TERMLIB_INCLUDE_DIR}" MATCHES "NOTFOUND")
-           set(LIBTERM_RESULT 1)
-           set(TERMLIB_LIBRARY "${lname}")
-           file(WRITE "${CMAKE_BINARY_DIR}/CMakeTmp/termlib.c" 
"${termlib_src}")
-           if(LIBTERM_RESULT)
-             set(CMAKE_C_FLAGS "") # We need -Wall and -Werror, without -w
-              try_run(LIBTERM_RESULT LIBTERM_COMPILE 
"${CMAKE_BINARY_DIR}/CMakeTmp"
-               "${CMAKE_BINARY_DIR}/CMakeTmp/termlib.c"
-               COMPILE_DEFINITIONS -DHAVE_${HDR} ${WALL_DEF} ${WERROR_DEF}
-               LINK_LIBRARIES "${lname}"
-               COMPILE_OUTPUT_VARIABLE CTERM_OUT
-               RUN_OUTPUT_VARIABLE RTERM_OUT)
-             #message("CTERM: ${CTERM_OUT}")
-             #message("RTERM: ${RTERM_OUT}")
-             #message("LIBTERM_RESULT: ${LIBTERM_RESULT}")
-           endif(LIBTERM_RESULT)
-           file(REMOVE "${CMAKE_BINARY_DIR}/CMakeTmp/termlib.c")
-           if(LIBTERM_RESULT)
-             set(TERMLIB_LIBRARY "NOTFOUND" CACHE STRING "TERMLIB" FORCE)
-             set(TERMLIB_INCLUDE_DIR "NOTFOUND"  CACHE STRING "TERMLIB" FORCE)
-             unset(HAVE_${HDR} CACHE)
-           else(LIBTERM_RESULT)
-             # Have a winning combination.  Set lib and include dir
-             set(TERMLIB_LIBRARY ${lname} CACHE STRING "TERMLIB" FORCE)
-             set(TERMLIB_LIBRARY ${lname} PARENT_SCOPE)
-             set(TERMLIB_INCLUDE_DIR "${TERMLIB_INCLUDE_DIR}"  CACHE STRING 
"TERMLIB" FORCE)
-             set(TERMLIB_INCLUDE_DIR "${TERMLIB_INCLUDE_DIR}"  PARENT_SCOPE)
-             # We also want this header's test (and only this header) to be
-             # reported as successful in the parent
-             set(HAVE_${HDR} 1 CACHE BOOL "TERMLIB" FORCE PARENT_SCOPE)
-             return()
-           endif(LIBTERM_RESULT)
-         endif(NOT "${TERMLIB_INCLUDE_DIR}" MATCHES "NOTFOUND")
-       endif(NOT TERMLIB_INCLUDE_DIR OR "${TERMLIB_INCLUDE_DIR}" MATCHES 
"NOTFOUND")
-      endforeach(hdr ${headers})
-    endif(HAVE_TERMLIB_${lname})
-  endif(NOT TERMLIB_LIBRARY OR "${TERMLIB_LIBRARY}" MATCHES "NOTFOUND")
-endfunction(TERMLIB_CHECK_LIBRARY lname func)
-
-TERMLIB_CHECK_LIBRARY(termlib tputs "termlib.h")
-TERMLIB_CHECK_LIBRARY(ncurses tputs "ncurses.h;curses.h;termcap.h;term.h")
-TERMLIB_CHECK_LIBRARY(curses tputs "curses.h;termcap.h;term.h")
-TERMLIB_CHECK_LIBRARY(termcap tputs "termcap.h;term.h")
-TERMLIB_CHECK_LIBRARY(terminfo tputs "terminfo.h;term.h")
-TERMLIB_CHECK_LIBRARY(tinfo tputs "tinfo.h;term.h")
-TERMLIB_CHECK_LIBRARY(ccurses tputs "curses.h;termcap.h;term.h")
-
-# handle the QUIETLY and REQUIRED arguments and set TERMLIB_FOUND to TRUE if
-# all listed variables are TRUE
-include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(TERMLIB DEFAULT_MSG TERMLIB_LIBRARY 
TERMLIB_INCLUDE_DIR)
-
-# Hide details
-mark_as_advanced(TERMLIB_LIBRARY)
-mark_as_advanced(TERMLIB_INCLUDE_DIR)
-
-# Local Variables:
-# tab-width: 8
-# mode: cmake
-# indent-tabs-mode: t
-# End:
-# ex: shiftwidth=2 tabstop=8

Modified: brlcad/branches/thirdparty_rework/misc/clang-static-analyzer-run.sh
===================================================================
--- brlcad/branches/thirdparty_rework/misc/clang-static-analyzer-run.sh 
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/misc/clang-static-analyzer-run.sh 
2020-03-26 00:39:30 UTC (rev 75116)
@@ -91,7 +91,6 @@
 cleantest liboptical
 cleantest libicv
 failingtest libged
-cleantest libcursor
 cleantest libdm
 cleantest libfft
 failingtest libtclcad

Modified: brlcad/branches/thirdparty_rework/misc/doxygen/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/misc/doxygen/CMakeLists.txt       
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/misc/doxygen/CMakeLists.txt       
2020-03-26 00:39:30 UTC (rev 75116)
@@ -46,7 +46,6 @@
   libtclcad
   libpkg
   libtermio
-  libcursor
   )
 
 foreach(libname ${DOX_LIBS})
@@ -183,7 +182,6 @@
   libbn.dox
   libbrep.dox
   libbu.dox
-  libcursor.dox
   libdm.dox
   libfb.dox
   libfft.dox

Deleted: brlcad/branches/thirdparty_rework/misc/doxygen/libcursor.dox
===================================================================
--- brlcad/branches/thirdparty_rework/misc/doxygen/libcursor.dox        
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/misc/doxygen/libcursor.dox        
2020-03-26 00:39:30 UTC (rev 75116)
@@ -1,2 +0,0 @@
-/** @defgroup libcursor libcursor (Cursor) */
-

Modified: brlcad/branches/thirdparty_rework/src/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/src/CMakeLists.txt        2020-03-26 
00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/src/CMakeLists.txt        2020-03-26 
00:39:30 UTC (rev 75116)
@@ -53,7 +53,6 @@
   libanalyze
   liboptical
   libged
-  libcursor
   libdm
   libfft
   libicv

Modified: brlcad/branches/thirdparty_rework/src/README
===================================================================
--- brlcad/branches/thirdparty_rework/src/README        2020-03-26 00:34:30 UTC 
(rev 75115)
+++ brlcad/branches/thirdparty_rework/src/README        2020-03-26 00:39:30 UTC 
(rev 75116)
@@ -35,7 +35,6 @@
 libbn - the BRL-CAD numerics library
 libbrep - the BRL-CAD NURBS B-Rep library
 libbu - the BRL-CAD utility library
-libcursor - a 2D cursor manipulation library
 libdm - a 3D display manager library
 libfb - a 2D framebuffer library
 libfft - a fast Fourier transform library

Modified: brlcad/branches/thirdparty_rework/src/fb/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/src/fb/CMakeLists.txt     2020-03-26 
00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/src/fb/CMakeLists.txt     2020-03-26 
00:39:30 UTC (rev 75116)
@@ -4,7 +4,6 @@
   ${BN_INCLUDE_DIRS}
   ${PKG_INCLUDE_DIRS}
   ${FB_INCLUDE_DIRS}
-  ${TERMINFO_INCLUDE_DIRS}
   ${UTAHRLE_INCLUDE_DIR}
   ${PNG_INCLUDE_DIR}
   )
@@ -22,9 +21,9 @@
 BRLCAD_ADDEXEC(fbclear fbclear.c libfb)
 BRLCAD_ADDEXEC(fbcmap fbcmap.c libfb)
 
-if(HAVE_TERMLIB)
+if(TARGET libtermio)
   BRLCAD_ADDEXEC(fbcolor fbcolor.c "libfb;libtermio")
-endif(HAVE_TERMLIB)
+endif(TARGET libtermio)
 BRLCAD_ADDEXEC(fbfade "fbfade.c;ioutil.c" libfb)
 BRLCAD_ADDEXEC(fbframe fbframe.c libfb)
 BRLCAD_ADDEXEC(fbfree fbfree.c libfb)
@@ -33,13 +32,13 @@
 BRLCAD_ADDEXEC(fbhelp fbhelp.c libfb)
 BRLCAD_ADDEXEC(fblabel fblabel.c libfb)
 BRLCAD_ADDEXEC(fbline fbline.c libfb)
-if(HAVE_TERMLIB)
+if(TARGET libtermio)
   BRLCAD_ADDEXEC(fbpoint fbpoint.c "libfb;libbu;libtermio;libpkg")
-endif(HAVE_TERMLIB)
+endif(TARGET libtermio)
 BRLCAD_ADDEXEC(fbstretch "fbstretch.c;ioutil.c" libfb)
-if(HAVE_TERMLIB)
+if(TARGET libtermio)
   BRLCAD_ADDEXEC(fbzoom fbzoom.c "libfb;libtermio")
-endif(HAVE_TERMLIB)
+endif(TARGET libtermio)
 BRLCAD_ADDEXEC(gif-fb "gif-fb.c;ioutil.c" libfb)
 BRLCAD_ADDEXEC(gif2fb gif2fb.c libfb)
 BRLCAD_ADDEXEC(pix-fb pix-fb.c libfb)

Modified: brlcad/branches/thirdparty_rework/src/libtermio/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/src/libtermio/CMakeLists.txt      
2020-03-26 00:34:30 UTC (rev 75115)
+++ brlcad/branches/thirdparty_rework/src/libtermio/CMakeLists.txt      
2020-03-26 00:39:30 UTC (rev 75116)
@@ -1,16 +1,28 @@
-if(HAVE_TERMLIB)
+if (NOT WIN32)
   # Include directories needed by libtermio users
   set(TERMIO_INCLUDE_DIRS
     ${BRLCAD_BINARY_DIR}/include
     ${BRLCAD_SOURCE_DIR}/include
-    ${TERMLIB_INCLUDE_DIRS}
     )
   BRLCAD_LIB_INCLUDE_DIRS(termio TERMIO_INCLUDE_DIRS "")
 
-  BRLCAD_ADDLIB(libtermio termio.c "${TERMLIB_LIBRARY}")
-  SET_TARGET_PROPERTIES(libtermio PROPERTIES VERSION 20.0.1 SOVERSION 20)
-endif(HAVE_TERMLIB)
+   add_definitions(-DCM_N -DCM_GT -DCM_B -DCM_D
+     -DB_TERMCAP=\"${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/termio/termcap\"
+    )
 
+  set(TERMIO_SRCS
+    termio.c
+    termcap.c
+    tgoto.c
+    tputs.c
+    )
+
+  BRLCAD_ADDDATA(termcap termio)
+
+  BRLCAD_ADDLIB(libtermio "${TERMIO_SRCS}" "")
+  set_target_properties(libtermio PROPERTIES VERSION 20.0.1 SOVERSION 20)
+endif(NOT WIN32)
+
 CMAKEFILES(CMakeLists.txt)
 
 # Local Variables:

Copied: brlcad/branches/thirdparty_rework/src/libtermio/termcap (from rev 
75115, brlcad/trunk/src/libtermio/termcap)
===================================================================
--- brlcad/branches/thirdparty_rework/src/libtermio/termcap                     
        (rev 0)
+++ brlcad/branches/thirdparty_rework/src/libtermio/termcap     2020-03-26 
00:39:30 UTC (rev 75116)
@@ -0,0 +1,13119 @@
+#      $NetBSD: termcap.src,v 1.99 2007/02/16 21:33:12 wiz Exp $
+#
+######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
+#
+#      Version 9.13.25
+#      termcap syntax
+#
+#      Eric S. Raymond         (current maintainer)
+#      John Kunze, Berkeley
+#      Craig Leres, Berkeley
+#
+# Please e-mail changes to termi...@ccil.org.  The old term...@berkeley.edu
+# address is no longer valid.
+#
+# PURPOSE OF THIS FILE:
+#
+# This file describes the capabilities of various character-cell terminals,
+# as needed by software such as screen-oriented editors.
+#
+# Other terminfo and termcap files exist, supported by various OS vendors
+# or as relics of various older versions of UNIX.  This one is the longest
+# and most comprehensive one in existence.  It subsumes not only the entirety
+# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
+# termcap file, but also large numbers of vendor-maintained termcap and
+# terminfo entries more complete and carefully tested than those in historical
+# termcap/terminfo versions.
+#
+# Pointers to related resources (including the ncurses distribution) may
+# be found at <http://www.ccil.org/terminfo>.
+#
+# INTERNATIONALIZATION:
+#
+# This file uses only the US-ASCII as the G0/GL character set.
+#
+# This file assumes a US-ASCII character set. If you need to fix this, start
+# by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
+# for your character set.  \E(A and \E)A enables the British character set
+# with the pound sign at position 2/3.
+#
+# In order to allow 8bit encodings (right half of ISO8859 character sets,
+# EUC encondings, etc.), we do not use G1 (and SO/SI) for alternate
+# character set but use G0 instead, and \E)0 should be avoided in <enacs>
+# and initialization strings.
+#
+# FILE FORMAT:
+#
+# The version you are looking at may be in any of three formats: master
+# (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
+# which by the format given in the header above.
+#
+# The master format is accepted and generated by the terminfo tools in the
+# ncurses suite; it differs from stock (System V-compatible) terminfo only
+# in that it admits a group of capabilities (prefixed `OT') equivalent to
+# various obsolete termcap capabilities.  You can, thus, convert from master
+# to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
+# you have ncurses `tic -I' is nicer (among other things, it automatically
+# outputs entries in a canonical form).
+#
+# The termcap version is generated automatically from the master version
+# using tic -C.  This filtering leaves in the OT capabilities under their
+# original termcap names.  All translated entries fit within the 1023-byte
+# string-table limit of archaic termcap libraries except where explicitly
+# noted below.  Note that the termcap translation assumes that your termcap
+# library can handle multiple tc capabilities in an entry. 4.4BSD has this
+# capability.  Older versions of GNU termcap, through 1.3, do not.
+#
+# For details on these formats, see terminfo(5) in the ncurses distribution,
+# and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
+# curses has been declared obsolete by the caretakers of the 4.4BSD sources
+# as of June 1995; they are encouraging everyone to migrate to ncurses.
+#
+# Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
+# no entry in this file has embedded comments.  This is so source translation
+# to termcap only has to carry over leading comments.  Also, no name field
+# contains embedded whitespace (such whitespace confuses rdist).
+#
+# Further note: older versions of this file were often installed with an editor
+# script (reorder) that moved the most common terminal types to the front of
+# the file.  This should no longer be necessary, as the file is now ordered
+# roughly by type frequency with ANSI/VT100 and other common types up front.
+#
+# Some information has been merged in from terminfo files distributed by
+# USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
+# comes from vendors who maintain official terminfos for their hardware
+# (notably DEC and Wyse).
+#
+# A detailed change history is included at the end of this file.
+#
+# FILE ORGANIZATION:
+#
+# Comments in this file begin with # - they cannot appear in the middle
+# of a terminfo/termcap entry.  Individual capabilities are commented out by
+# placing a period between the colon and the capability name.
+#
+# The file is divided up into major sections (headed by lines beginning with
+# the string "########") and minor sections (beginning with "####"); do
+#
+#      grep "^####" <file> | more
+#
+# to see a listing of section headings.  The intent of the divisions is
+# (a) to make it easier to find things, and (b) to order the database so
+# that important and frequently-encountered terminal types are near the
+# front (so that you'll get reasonable search efficiency even if you don't
+# use reorder).  Minor sections usually correspond to manufacturers or
+# standard terminal classes.  Parenthesized words following manufacturer
+# names are type prefixes or product line names used by that manufacturers.
+#
+# HOW TO READ THE ENTRIES:
+#
+# The first name in an entry is the canonical name for the model or
+# type, last entry is a verbose description.  Others are mnemonic synonyms for
+# the terminal.
+#
+# Terminal names look like <manufacturer> <model> - <modes/options>
+# The part to the left of the dash, if a dash is present, describes the
+# particular hardware of the terminal.  The part to the right may be used
+# for flags indicating special ROMs, extra memory, particular terminal modes,
+# or user preferences.
+#
+# All names should be in lower case, for consistency in typing.
+#
+# The following are conventionally used suffixes:
+#      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
+#      -am     Enable auto-margin.
+#      -m      Monochrome.  Suppress color support
+#      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
+#              only support one attribute without magic-cookie lossage.
+#              Their base entry is usually paired with another that
+#              uses magic cookies to support multiple attributes.
+#      -na     No arrow keys - termcap ignores arrow keys which are
+#              actually there on the terminal, so the user can use
+#              the arrow keys locally.
+#      -nam    No auto-margin - suppress :am: capability
+#      -nl     No labels - suppress soft labels
+#      -ns     No status line - suppress status line
+#      -rv     Terminal in reverse video mode (black on white)
+#      -s      Enable status line.
+#      -vb     Use visible bell (:vb:) rather than :bl:.
+#      -w      Wide - in 132 column mode.
+# If a name has multiple suffixes and one is a line height, that one should
+# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
+#
+# Entries with embedded plus signs are designed to be included through use/tc
+# capabilities, not used as standalone entries.
+#
+# To avoid search clashes, some older all-numeric names for terminals have
+# been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
+# All primary names of terminals now have alphanumeric prefixes.
+#
+# Comments marked "esr" are mostly results of applying the termcap-compiler
+# code packaged with ncurses and contemplating the resulting error messages.
+# In many cases, these indicated obvious fixes to syntax garbled by the
+# composers.  In a few cases, I was able to deduce corrected forms for garbled
+# capabilities by looking at context.  All the information in the original
+# entries is preserved in the comments.
+#
+# In the comments, terminfo capability names are bracketed with <> (angle
+# brackets).  Termcap capability names are bracketed with :: (colons).
+#
+# INTERPRETATION OF USER CAPABILITIES
+#
+# The System V Release 4 and XPG4 terminfo format defines ten string
+# capabilities for use by applications, <u0>...<u9>.   In this file, we use
+# certain of these capabilities to describe functions which are not covered
+# by terminfo.  The mapping is as follows:
+#
+#      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
+#      u8      terminal answerback description
+#      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
+#      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
+#
+# The terminal enquire string <u9> should elicit an answerback response
+# from the terminal.  Common values for <u9> will be ^E (on older ASCII
+# terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
+#
+# The cursor position request (<u7>) string should elicit a cursor position
+# report.  A typical value (for VT100 terminals) is \E[6n.
+#
+# The terminal answerback description (u8) must consist of an expected
+# answerback string.  The string may contain the following scanf(3)-like
+# escapes:
+#
+#      %c      Accept any character
+#      %[...]  Accept any number of characters in the given set
+#
+# The cursor position report (<u6>) string must contain two scanf(3)-style
+# %d format elements.  The first of these must correspond to the Y coordinate
+# and the second to the %d.  If the string contains the sequence %i, it is
+# taken as an instruction to decrement each value after reading it (this is
+# the inverse sense from the cup string).  The typical CPR value is
+# \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
+#
+# These capabilities are used by tac(1m), the terminfo action checker soon
+# to be distributed with ncurses.
+#
+# TABSET FILES
+#
+# All the entries in this file have been edited to assume that the tabset
+# files directory is /usr/share/tabset, in conformance with the File Hierarchy
+# Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
+# /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
+#
+# No curses package we know of uses these files.  If their location is an
+# issue, you will have to hand-patch the file locations before compiling
+# this file.
+#
+# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
+#
+# As the ANSI/ECMA-48 standard and variants take firmer hold, and as
+# character-cell terminals are increasingly replaced by X displays, much of
+# this file is becoming a historical document (this is part of the reason for
+# the new organization, which puts ANSI types, xterm, free-Unix consoles,
+# and vt100 up front in confidence that this will catch 95% of new hardware).
+#
+# For the terminal types still alive, I'd like to have manufacturer's
+# contact data (Internet address and/or snail-mail + phone).
+#
+# I'm also interested in enriching the comments so that the latter portions of
+# the file do in fact become a potted history of VDT technology as seen by
+# UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
+# include its live/dead/out-of-the-business status, and for as many
+# terminal types as possible to be tagged with information like years
+# of heaviest use, popularity, and interesting features.
+#
+# I'm especially interested in identifying the obscure entries listed under
+# `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
+# wisdom about them gets lost.  If you know a lot about obscure old terminals,
+# please go to the terminfo resource page, grab the UFO file (ufo.ti), and
+# eyeball it for things you can identify and describe.
+#
+# If you have been around long enough to contribute, please read the file
+# with this in mind and send me your annotations.
+#
+# COPYRIGHTS AND OTHER DELUSIONS
+#
+# The BSD ancestor of this file had a standard Regents of the University of
+# California copyright with dates from 1980 to 1993.
+#
+# Some information has been merged in from a terminfo file SCO distributes.
+# It has an obnoxious boilerplate copyright which I'm ignoring because they
+# took so much of the content from the ancestral BSD versions of this file
+# and didn't attribute it, thereby violating the BSD Regents' copyright.
+#
+# Not that anyone should care.  However many valid functions copyrights may
+# serve, putting one on a termcap/terminfo file with hundreds of anonymous
+# contributors makes about as much sense as copyrighting a wall-full of
+# graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
+#
+# This file deliberately has no copyright.  It belongs to no one and everyone.
+# If you claim you own it, you will merely succeed in looking like a fool.
+# Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
+# There are no guarantees anywhere.  Svaha!
+#
+
+######## STANDARD AND SPECIAL TYPES
+#
+# This section describes terminal classes and maker brands that are still
+# quite common.
+#
+
+#### Specials
+#
+# Special "terminals".  These are used to label tty lines when you don't
+# know what kind of terminal is on it.  The characteristics of an unknown
+# terminal are the lowest common denominator - they look about like a ti 700.
+#
+
+dumb|80-column dumb tty:\
+       :am:\
+       :co#80:\
+       :bl=^G:cr=^M:do=^J:sf=^J:
+unknown|unknown terminal type:\
+       :gn:tc=dumb:
+lpr|printer|line printer:\
+       :bs:hc:os:\
+       :co#132:li#66:\
+       :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
+glasstty|classic glass tty interpreting ASCII control characters:\
+       :am:\
+       :co#80:\
+       :bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
+       :ta=^I:
+
+#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
+#
+# See the end-of-file comment for more on these.
+#
+
+# The IBM PC alternate character set.  Plug this into any Intel console entry.
+# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
+# ROM graphics for control characters such as the diamond, up- and down-arrow.
+# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
+# will work with any Intel console, they all seem to have inherited \E[11m
+# from the ANSI.SYS de-facto standard.
+klone+acs|alternate character set for ansi.sys displays:\
+       
:ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\054\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
+       :ae=\E[10m:as=\E[11m:
+
+# Highlight controls corresponding to the ANSI.SYS standard.  Most
+# console drivers for Intel boxes obey these.  Makes the same assumption
+# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
+# :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
+klone+sgr|attribute control for ansi.sys displays:\
+       :S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
+       :mk=\E[8m:mr=\E[7m:\
+       :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
+       :tc=klone+acs:
+
+# Highlight controls corresponding to the ANSI.SYS standard.  *All*
+# console drivers for Intel boxes obey these.  Does not assume \E[11m will
+# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
+# diamond and arrow characters under curses.
+klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
+       :as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
+       :mr=\E[7m:\
+       :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
+       :tc=klone+acs:
+
+# KOI8 (RFC1489) alternate character set
+# From: Qing Long <qingl...@bolizm.ihep.su>, 24 Feb 1996.
+klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
+       
:ac=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\054\021h\222I\2200\215y\230z\231{\267}L|\274:\
+       :ae=\E[10m:as=\E[11m:
+
+# ANSI.SYS color control.  The setb/setf caps depend on the coincidence
+# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
+# but equivalent strings that don't rely on that coincidence:
+# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
+# They match a subset of ECMA-48.
+klone+color|color control for ansi.sys and ISO6429-compatible displays:\
+       :Co#8:NC#3:pa#64:Sb=\E[4%dm:Sf=\E[3%dm:op=\E[37;40m:
+
+# This is better than klone+color, it doesn't assume white-on-black as the
+# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
+ecma+color|color control for ECMA-48-compatible terminals:\
+       :Co#8:NC#3:pa#64:\
+       :AB=\E[4%dm:AF=\E[3%dm:op=\E[39;49m:
+
+# Attribute control for ECMA-48-compatible terminals
+ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
+       :se=\E[27m:ue=\E[24m:\
+       :tc=klone+sgr:
+
+# For comparison, here are all the capabilities implied by the Intel
+# Binary Compatibility Standard (level 2) that fit within terminfo.
+# For more detail on this rather pathetic standard, see the comments
+# near the end of this file.
+ibcs2|Intel Binary Compatibility Standard prescriptions:\
+       :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
+       :RA=\E[?7l:RI=\E[%dC:S1=\E=%dg:SA=\E[?7h:SF=\E[%dS:\
+       :SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
+       :cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
+       :rc=\E7:sc=\E7:st=\EH:
+
+#### ANSI/ECMA-48 terminals and terminal emulators
+#
+# See near the end of this file for details on ANSI conformance.
+# Don't mess with these entries!  Lots of other entries depend on them!
+#
+# This section lists entries in a least-capable to most-capable order.
+# if you're in doubt about what `ANSI' matches yours, try them in that
+# order and back off from the first that breaks.
+
+ansi-mini|any ansi terminal with pessimistic assumptions:\
+       :am:bs:\
+       :co#80:it#8:li#24:\
+       :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
+       :le=\E[D:nd=\E[C:ta=^I:up=\E[A:
+
+# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
+#
+# The following is an entry for the full ANSI 3.64 (1977).  It lacks
+# padding, but most terminals using the standard are "fast" enough
+# not to require any -- even at 9600 bps.  If you encounter problems,
+# try including the padding specifications.
+#
+# Note: the "as" and "ae" specifications are not implemented here, for
+# the available termcap documentation does not make clear WHICH alternate
+# character set to specify.  ANSI 3.64 seems to make allowances for several.
+# Please make the appropriate adjustments to fit your needs -- that is
+# if you will be using alternate character sets.
+#
+# There are very few terminals running the full ANSI 3.64 standard,
+# so I could only test this entry on one verified terminal (Visual 102).
+# I would appreciate the results on other terminals sent to me.
+#
+# Please report comments, changes, and problems to:
+#
+# U.S. MAIL:   Hugh Hansard
+#              Box: 22830
+#              Emory University
+#              Atlanta, GA. 30322.
+#
+# USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
+#
+ansi77|ansi 3.64 standard 1977 version:\
+       :am:bs:mi:\
+       :co#80:it#8:li#24:\
+       :al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
+       :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
+       :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
+       :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+       :nd=\E[C:nw=^M\ED:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
+       :ue=\E[m:up=\E[A:us=\E[4m:
+
+# Procomm and some other ANSI emulations don't recognize all of the ANSI-
+# standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
+# <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
+# :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
+# 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
+# to confuse many emulators.  On the other hand, we can count on these programs
+# doing :ae:/:as:/:sa:. Older versions of this entry featured
+# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
+# ANSI.SYS influence.
+# From: Eric S. Raymond <e...@snark.thyrsus.com> Oct 30 1995
+pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
+       :am:bs:mi:ms:\
+       :co#80:it#8:li#24:\
+       :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+       :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
+       :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
+       :le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
+       :tc=klone+sgr-dumb:
+pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
+       :li#25:tc=pcansi-m:
+pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
+       :li#33:tc=pcansi-m:
+pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
+       :li#43:tc=pcansi-m:
+# The color versions.  All PC emulators do color...
+pcansi|cygwin|ibm-pc terminal programs claiming to be ansi:\
+       :am:bs:mi:ms:\
+       :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
+       :Sb=\E[4%dm:Sf=\E[3%dm:\
+       
:ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
+       :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
+       :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
+       :dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
+       :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
+       :mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:se=\E[m:\
+       :sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
+pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
+       :li#25:tc=pcansi:
+pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
+       :li#33:tc=pcansi:
+pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
+       :li#43:tc=pcansi:
+
+# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
+# If you want pound signs rather than dollars, replace `B' with `A'
+# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
+# From: Eric S. Raymond <e...@snark.thyrsus.com> Nov 6 1995
+ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
+       :5i:\
+       :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+       :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
+       :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
+       :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
+       :nw=\r\E[S:pf=\E[4i:po=\E[5i:\
+       :s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
+       :tc=pcansi-m:
+
+# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
+# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
+# From: Eric S. Raymond <e...@snark.thyrsus.com> Nov 6 1995
+ansi|ansi/pc-term compatible with color:\
+       :5i:am:bs:mi:ms:\
+       :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
+       :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
+       :DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:\
+       :S3=\E[10m:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
+       
:ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
+       :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E[Z:cb=\E[1K:\
+       :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
+       :cr=^M:ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
+       :ec=\E[%dX:ei=:ho=\E[H:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:\
+       :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
+       :me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\E[S:\
+       :op=\E[39;49m:pf=\E[4i:po=\E[5i:s0=\E(B:s1=\E)B:s2=\E*B:\
+       :s3=\E+B:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=\E[I:\
+       :u6=\E[%i%d;%dR:u7=\E[6n:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
+
+#
+# ANSI.SYS entries
+#
+# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
+# documentation (except for the keyboard key reassignment feature, which
+# doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
+# though undocumented.  The <pfkey> capability is untested but should work for
+# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
+# From: Eric S. Raymond <e...@snark.thyrsus.com> Nov 7 1995
+ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
+       :am:bs:mi:ms:xo:\
+       :Co#8:NC#3:co#80:li#25:pa#64:\
+       :RA=\E[?7l:S2=\E[11m:S3=\E[10m:SA=\E[?7h:Sb=\E[4%dm:\
+       :Sf=\E[3%dm:\
+       
:ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
+       :ae=\E[10m:as=\E[11m:bl=^G:ce=\E[k:cl=\E[2J:\
+       :cm=\E[%i%d;%dH:cr=^M:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kb=^H:\
+       :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\E[5m:md=\E[1m:\
+       :me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
+       :op=\E[37;40m:pk=\E[0;%+\:;"%s":rc=\E[u:sc=\E[s:se=\E[m:\
+       :sf=^J:so=\E[7m:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
+       :up=\E[A:us=\E[4m:
+ansi.sys|ANSI.SYS 3.1 and later versions:\
+       :ce=\E[K:tc=ansi.sys-old:
+
+#
+# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
+# This should only be used when the terminal emulator cannot redefine the keys.
+# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
+# definitions must be restored.  If the terminal emulator is quit while in vi
+# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
+# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
+# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
+# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
+# Note that :kl: is always BS, because PC-dos can tolerate this change.
+# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
+# Consequently the End keypad key could not be set (it is relatively safe and
+# actually useful because it sends ^@ O, which beeps and opens a line above).
+ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
+       :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 
9-29-86\n\E[;75;8p:\
+       
:ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
+       
:ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
+       :tc=ansi.sys:
+#
+# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
+nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
+       :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
+       :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
+#
+# See ansi.sysk and nansi.sys above.
+nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for 
vi:\
+       :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
+       :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 
9-29-86\n\E[;75;8p:tc=ansi.sysk:
+
+#### ANSI console types
+#
+
+# This entry is good for the 1.2.13 version of the Linux console driver.
+#
+# Note: there are numerous broken linux entries out there, which didn't screw
+# up BSD termcap but hose ncurses's smarter cursor-movement optimization.
+# One common pathology is an incorrect tab length of 4.
+#
+# ***************************************************************************
+# *                                                                         *
+# *                           WARNING:                                      *
+# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
+# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
+# * character. Here are the keymap replacement lines that will set this up: *
+# *                                                                         *
+#      keycode  15 = Tab             Tab
+#              alt     keycode  15 = Meta_Tab
+#              shift   keycode  15 = F26
+#      string F26 ="\033[Z"
+# *                                                                         *
+# * This has to use a key slot which is unfortunate (any unused one will    *
+# # do, F26 is the higher-numbered one).  The change ought to be built      *
+# * into the kernel tables.                                                 *
+# *                                                                         *
+# ***************************************************************************
+#
+# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
+# and it matters, turn off <ccc>.  The %02x escape used to implement this is
+# not back-portable to SV curses and not supported in ncurses versions before
+# 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
+# themselves; this entry assumes that capability.
+#
+# From: Eric S. Raymond <e...@snark.thyrsus.com> 20 Jun 1997
+linux|linux console:\
+       :am:eo:mi:ms:ut:xn:xo:\
+       :Co#8:NC#3:it#8:pa#64:\
+       :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
+       :DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
+       :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
+       :FA=\E[34~:IC=\E[%d@:K2=\E[G:S2=\E[11m:S3=\E[10m:\
+       :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
+       :ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
+       :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
+       :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
+       :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
+       :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
+       :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
+       :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+       :me=\E[0;10m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
+       :op=\E[39;49m:r1=\Ec:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
+       :so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
+       :u8=\E[?6c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
+       :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
+linux-m|Linux console no color:\
+       :Co@:pa@:\
+       :AB@:AF@:Sb@:Sf@:tc=linux:
+linux-c-nc|linux console 1.3.x hack for ncurses only:\
+       :cc:\
+       :oc=\E]R:tc=linux:
+# From: Dennis Henriksen <o...@osrl.dk>, 9 July 1996
+linux-c|linux console 1.3.6+ with private palette for each virtual console:\
+       :cc:\
+       :Co#8:pa#64:\
+       :oc=\E]R:\
+       :tc=linux:
+
+# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
+linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
+       :IC@:ei=:ic@:im=:\
+       :tc=linux:
+
+# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
+linux-koi8|linux with koi8 alternate character set:\
+       
:ac=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\054\021h\222I\2200\215y\230z\231{\267}L|\274:\
+       :ae=\E[10m:as=\E[11m:\
+       :tc=linux:
+
+# SCO console and SOS-Syscons console for 386bsd
+# (scoansi: had unknown capabilities
+#      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
+#      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
+#      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
+#      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
+#      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
+# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
+# on the :as:=\E[12m  -- esr)
+scoansi|SCO Extended ANSI standard crt:\
+       :am:bs:eo:xo:\
+       :co#80:it#8:li#25:\
+       :@7=\E[F:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
+       :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
+       :ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
+       :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:\
+       :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
+       :mb=\E[5m:md=\E[1m:nd=\E[C:sf=\E[S:sr=\E[T:ta=^I:up=\E[A:\
+       :tc=klone+sgr-dumb:
+
+# This actually describes the generic SVr4 display driver for Intel boxes.
+# The :mh=\E[2m: isn't documented and therefore may not be reliable.
+# From: Eric Raymond <e...@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
+att6386|at386|386at|AT&T WGS 6386 console:\
+       :am:bw:eo:xo:\
+       :co#80:it#8:li#25:\
+       :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
+       :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
+       :SR=\E[%dT:UP=\E[%dA:\
+       :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
+       :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
+       :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
+       :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
+       :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
+       :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
+       :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
+       :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
+       :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
+       :nw=\r\E[S:rc=\E8:\
+       :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
+       :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
+       :tc=klone+color:
+# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
+pc6300plus|AT&T 6300 plus:\
+       :am:bs:xo:\
+       :co#80:li#24:\
+       :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
+       :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
+       :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
+       :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
+       :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+       :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
+       :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
+       :ve=\E[=1C:vi=\E[=C:
+
+# <t...@pobox.com>:
+# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
+#
+# (still unfinished, but good enough so far.)
+ofcons:\
+       :bs:bw:co#80:li#30:\
+       :ku=\233A:kd=\233B:kr=\233C:kl=\233D:kb=^H:kD=\233P:\
+       :k1=\2330P:k2=\2330Q:k3=\2330W:k4=\2330x:k5=\2330t:k6=\2330u:\
+       :k7=\2330q:k8=\2330r:k9=\2330p:k;=\2330M:\
+       :kN=\233/:kP=\233?:\
+       :mb=\2337;2m:se=\2330m:ue=\2330m:\
+       :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
+       :UP=\233%dA:DO=\233%dB:RI=\233%dC:LE=\233%dD:\
+       :DC=\233%dP:IC=\233%d@:dc=\233P:ic=\233@:\
+       :DL=\233%dM:dl=\233M:AL=\233%dL:al=\233L:\
+       :le=\233D:nd=\233C:do=\233B:up=\233A:\
+       :cl=^L:cr=^M:ta=^I:bl=^G:vb=^G:\
+       :cm=\233%i%d;%dH:cd=\233J:ce=\233K:
+
+#
+#      Terminfo entry for the AT&T Unix PC 7300
+#      from escape(7) in Unix PC 7300 Manual.
+#      Somewhat similar to a vt100-am (but different enough
+#      to redo this from scratch.)
+#
+#      /***************************************************************
+#      *
+#      *           FONT LOADING PROGRAM FOR THE UNIX PC
+#      *
+#      *     This routine loads a font defined in the file ALTFONT
+#      *     into font memory slot #1.  Once the font has been loaded,
+#      *     it can be used as an alternative character set.
+#      *
+#      *     The call to ioctl with the argument WIOCLFONT is the key
+#      *     to this routine.  For more information, see window(7) in
+#      *     the PC 7300 documentation.
+#      ***************************************************************/
+#      #include <string.h>             /* needed for strcpy call */
+#      #include <sys/window.h>         /* needed for ioctl call */
+#      #define FNSIZE  60              /* font name size */
+#      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
+#      /*
+#      *     The file /usr/lib/wfont/special.8.ft comes with the
+#      *     standard PC software.  It defines a graphics character set
+#      *     similar to that of the Teletype 5425 terminal.  To view
+#      *     this or other fonts in /usr/lib/wfont, use the command
+#      *     cfont <filename>.  For further information on fonts see
+#      *     cfont(1) in the PC 7300 documentation.
+#      */
+#
+#      struct altfdata         /* structure for alt font data */
+#      {
+#      short   altf_slot;              /* memory slot number */
+#      char    altf_name[FNSIZE];      /* font name (file name) */
+#      };
+#      ldfont()
+#      {
+#              int wd;         /* window in which altfont will be */
+#              struct altfdata altf;
+#              altf.altf_slot=1;
+#              strcpy(altf.altf_name,ALTFONT);
+#              for (wd =1; wd < 12; wd++) {
+#                   ioctl(wd, WIOCLFONT,&altf);
+#              }
+#      }
+#
+# (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
+# they're confirmed by the man page for the System V display---esr)
+#
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
+       :am:xn:xo:\
+       :co#80:it#8:li#24:\
+       :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
+       :UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E^I:\
+       :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
+       :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:i1=^O:ic=\E[@:im=:\
+       :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E5:k6=\E6:k7=\E7:\
+       :k8=\E8:kD=\Edc:kI=\Eim:kN=\Epg:kP=\EPG:kb=^H:kd=\E[B:\
+       :kh=\Ehm:kl=\E[D:kr=\E[C:ku=\E[A:md=\E[7m:me=\E[0;10m:\
+       :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:sf=^J:so=\E[7m:\
+       :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:
+
+# From: Stefan Stapelberg <ste...@rent-a-guru.de>, 24 Feb 1997
+# (iris-ansi: added rmam/smam based on init string -- esr)
+iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100):\
+       :am:\
+       :co#80:it#8:li#40:\
+       :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
+       :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
+       :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\EOR:F2=\EOS:\
+       :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+       :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
+       :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:\
+       :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
+       :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
+       :k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:kB=\E[Z:kD=\177:\
+       :kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=^H:\
+       :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:md=\E[1m:\
+       :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pk=\EP101;%d.y%s\E\\:\
+       :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:\
+       :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
+       :vs=\E[10/y\E[=1h\E[=2l\E[=6h:
+iris-ansi-ap|IRIS ANSI in application-keypad mode:\
+       :@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
+       :k9=\E[009q:k;=\E[010q:ke=\E>:ks=\E=:\
+       :tc=iris-ansi:
+
+# The following is a version of the ibm-pc entry distributed with PC/IX,
+# (Interactive Systems' System 3 for the Big Blue), modified by Richard
+# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
+# (the former is untrue, and the latter failed under UCB/man); standout and
+# underline modes have been added.  Note: this entry describes the "native"
+# capabilities of the PC monochrome display, without ANY emulation; most
+# communications packages (but NOT PC/IX connect) do some kind of emulation.
+pcix|PC/IX console:\
+       :am:bw:eo:\
+       :co#80:li#24:\
+       :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
+       :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
+       :us=\E[4m:
+
+# (ibmpcx: this entry used to be known as ibmx.
+# It formerly included the following extension capabilities:
+#      :GC=b:GL=v:GR=t:RT=^J:\
+#      :GH=\E[196g:GV=\E[179g:\
+#      :GU=\E[193g:GD=\E[194g:\
+#      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
+#      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
+#      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
+# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
+# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
+# what was there before. -- esr)
+ibmpcx|xenix|ibmx|IBM PC xenix console display:\
+       :am:bs:ms:\
+       :co#80:li#25:\
+       :@7=\E[d:S2=\E[11m:S3=\E[10m:\
+       
:ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
+       :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
+       :cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
+       :ic=\E[@:im=:k1=\E[K:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:\
+       :kP=\E[Z:kb=^H:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:\
+       :le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:\
+       :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:\
+       :up=\E[A:us=\E[4m:
+
+
+# QNX 4.0 Console
+# Michael's original version of this entry had <am@>, :ti=\Ei:,
+# :te=\Eh\ER:; this was so terminfo applications could write the lower
+# right corner without triggering a scroll.  The ncurses terminfo library can
+# handle this case with the :ic: capability, and prefers :am: for better
+# optimization.  Bug: The <op> capability resets attributes.
+# From: Michael Hunter <mphun...@qnx.com> 30 Jul 1996
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+qnx|qnx4|qnx console:\
+       :km:mi:ms:xt:\
+       :co#80:it#4:li#25:\
+       :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
+       :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
+       :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
+       :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
+       :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
+       :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
+       :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
+       :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
+       :te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
+       :vs=\Ey2:
+
+#### NetBSD consoles
+#
+# pcvt termcap database entries (corresponding to release 3.31)
+# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
+#
+# (For the terminfo master file, I translated these into terminfo syntax.
+# Then I dropped all the pseudo-HP entries. we don't want and can't use
+# the :Xs: flag. Then I split :is: into a size-independent :i1: and a
+# size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
+
+# NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
+# both :ic: and :im: are specified (an original VT220
+# shows the same buggy behaviour!), :ic: has been taken
+# out of this entry. for reference, it should be <ich1=\E[@>.
+pcvtXX|pcvt vt200 emulator (DEC VT220):\
+       :am:km:mi:ms:xn:\
+       :it#8:vt#3:\
+       :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+       :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
+       :SR=\E[%dT:UP=\E[%dA:\
+       :ac=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz:\
+       :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
+       :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+       :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
+       :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
+       :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
+       :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
+       :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
+       :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
+       :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
+       :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+       :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
+       :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
+       :ve=\E[?25h:vi=\E[?25l:
+
+#      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
+#      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
+#      50 lines entries; 80 columns
+pcvt25|dec vt220 emulation with 25 lines:\
+       :co#80:li#25:\
+       :is=\E[1;25r\E[25;1H:tc=pcvtXX:
+pcvt28|dec vt220 emulation with 28 lines:\
+       :co#80:li#28:\
+       :is=\E[1;28r\E[28;1H:tc=pcvtXX:
+pcvt35|dec vt220 emulation with 35 lines:\
+       :co#80:li#35:\
+       :is=\E[1;35r\E[35;1H:tc=pcvtXX:
+pcvt40|dec vt220 emulation with 40 lines:\
+       :co#80:li#40:\
+       :is=\E[1;40r\E[40;1H:tc=pcvtXX:
+pcvt43|dec vt220 emulation with 43 lines:\
+       :co#80:li#43:\
+       :is=\E[1;43r\E[43;1H:tc=pcvtXX:
+pcvt50|dec vt220 emulation with 50 lines:\
+       :co#80:li#50:\
+       :is=\E[1;50r\E[50;1H:tc=pcvtXX:
+
+#      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
+#      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
+#      50 lines entries; 132 columns
+pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
+       :co#132:li#25:\
+       :is=\E[1;25r\E[25;1H:tc=pcvtXX:
+pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
+       :co#132:li#28:\
+       :is=\E[1;28r\E[28;1H:tc=pcvtXX:
+pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
+       :co#132:li#35:\
+       :is=\E[1;35r\E[35;1H:tc=pcvtXX:
+pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
+       :co#132:li#40:\
+       :is=\E[1;40r\E[40;1H:tc=pcvtXX:
+pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
+       :co#132:li#43:\
+       :is=\E[1;43r\E[43;1H:tc=pcvtXX:
+pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
+       :co#132:li#50:\
+       :is=\E[1;50r\E[50;1H:tc=pcvtXX:
+
+# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
+# manufactured by Sharp for the Japenese market.
+# From Minoura Makoto <mino...@netlaputa.or.jp>, 12 May 1996
+x68k|x68k-ite|NetBSD/x68k ITE:\
+       :co#96:li#32:\
+       :%1=\E[28~:kC=\E[9~:tc=vt220:
+
+# NetBSD "wscons" emulator in vt220 mode
+wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
+       :Co#8:pa#64:it#8:ut:co#80:li#25:vb@:xn@:if@:NC#2:\
+       :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k;=\E[21~:\
+       :AB=\E[4%dm:AF=\E[3%dm:op=\E[m:is=\E[!p:ti=\E)0:te=\E)B:\
+       :ac=``aaffggjjkkllmmnnqqttuuvvwwxxyyzz{{}}~~:\
+       :@7=\E[8~:kh=\E[7~:kH=\E[8~:rs=\Ec:tc=vt220-8:
+
+wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\
+       :km:tc=wsvt25:
+
+# NetBSD 'window version 2'
+# This is the window-v2 binding that NetBSD's window(1) exports into
+# the TERMCAP environment variable.
+# Note that older versions of window have a bug where turning off
+# underscore or standout also turns off the other, but does not reset
+# the internal state.
+WW|window-v2|window program version 2: \
+       :am:bs:da:db:ms:pt:cr=^M:nl=^J:bl=^G:ta=^I: \
+       :cm=\EY%+ %+ :le=^H:nd=\EC:up=\EA:do=\EB:ho=\EH: \
+       :cd=\EJ:ce=\EK:cl=\EE:me=\Er^?:co#80:li#24:se=\ErA:so=\EsA: \
+       :mr=\EsA:ue=\ErD:us=\EsD:ae=\ErH:as=\EsH:al=\EL:dl=\EM: \
+       :im=\E@:ei=\EO:ic=:mi:dc=\EN: \
+       :kb=^H:ku=^[OA:kd=^[OB:kl=^[OD:kr=^[OC:kh=^[OH:
+
+#### FreeBSD console entries
+#
+# From: Andrey Chernov <a...@astral.msk.su> 29 Mar 1996
+# Andrey Chernov maintains the FreeBSD termcap distributions.
+#
+# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
+# or comment out the :cb: capability in the console entry.
+#
+# Alexander Lukyanov reports:
+# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
+# Now el1 clears not only to the line beginning, but also a large chunk
+# of previous line. But there is another bug - ech does not work at all.
+# (Accordingly, :ec:=\E[%p1%dX and <el1>=\E[1K have been removed.)
+#
+
+
+# for syscons
+# common entry without semigraphics
+# Bug: The <op> capability resets attributes.
+cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
+       :NP:am:bw:eo:ms:ut:\
+       :Co#8:co#80:it#8:li#25:pa#64:\
+       :@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
+       :F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
+       :SR=\E[%dT:Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:\
+       :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
+       :cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
+       :ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
+       :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:\
+       :kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
+       :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
+       :mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:op=\E[x:\
+       :r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
+       :up=\E[A:
+cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
+       
:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362:\
+       :tc=cons25w:
+cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
+       :Co@:pa@:\
+       :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
+cons30|ansi80x30|freebsd console (30-line ansi mode):\
+       :li#30:tc=cons25:
+cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
+       :li#30:tc=cons25-m:
+cons43|ansi80x43|freebsd console (43-line ansi mode):\
+       :li#43:tc=cons25:
+cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
+       :li#43:tc=cons25-m:
+cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
+       :li#50:tc=cons25:
+cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
+       :li#50:tc=cons25-m:
+cons60|ansi80x60|freebsd console (60-line ansi mode):\
+       :li#60:tc=cons25:
+cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
+       :li#60:tc=cons25-m:
+cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
+       
:ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215:\
+       :tc=cons25w:
+cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic 
(mono):\
+       :Co@:pa@:\
+       :Sb@:Sf@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
+cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
+       :li#50:tc=cons25r:
+cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
+       :li#50:tc=cons25r-m:
+cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
+       :li#60:tc=cons25r:
+cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
+       :li#60:tc=cons25r-m:
+# ISO 8859-1 FreeBSD console
+cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
+       
:ac=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\054\273I\247y\232z\233:\
+       :tc=cons25w:
+cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
+       :Co@:pa@:\
+       :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
+cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
+       :li#50:tc=cons25l1:
+cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
+       :li#50:tc=cons25l1-m:
+cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
+       :li#60:tc=cons25l1:
+cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
+       :li#60:tc=cons25l1-m:
+
+#### 386BSD and BSD/OS Consoles
+#
+
+# This was the original 386BSD console entry (I think).
+# Some places it's named oldpc3|oldibmpc3.
+# From: Alex R.N. Wetmore <a...@andrew.cmu.edu>
+origpc3|origibmpc3|IBM PC 386BSD Console:\
+       :am:bs:bw:eo:xo:\
+       :co#80:li#25:\
+       :ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
+       :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
+       :kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
+       :me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
+       :sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
+       :up=\E[A:us=\E[1;7x\E[2;0x:
+
+# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
+oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
+       :bs:km:\
+       :li#25:\
+       :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
+       :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
+       :md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
+
+# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
+# Note, the emulator supports many of the additional console features
+# listed in the iBCS2 (e.g. character-set selection) though not all
+# are described here.  This entry really ought to be upgraded.
+# Also note, the console will also work with fewer lines after doing
+# "stty rows NN", e.g. to use 24 lines.
+# (Color support from Kevin Rosenberg <ke...@cyberport.com>, 2 May 1996)
+# Bug: The <op> capability resets attributes.
+bsdos|BSD/OS console:\
+       :am:bs:bw:eo:km:xo:\
+       :Co#8:co#80:it#8:li#25:pa#64:\
+       :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
+       :Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
+       :ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:\
+       :kH=\E[F:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
+       :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
+       :mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[x:rc=\E8:sc=\E7:\
+       :se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
+bsdos-bold|IBM PC BSD/386 Console with bold instead of underline:\
+       :ue=\E[0m:us=\E[1m:\
+       :tc=bsdos:
+
+# If you are BSDI, you want the following entries, for the moment.
+# In release 2.0 they will probably phase out the pc3 and ibmpc3 names
+pc3|IBM PC BSD/386 Console:\
+       :mh@:tc=bsdos:
+ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline:\
+       :us=\E[1m:\
+       :tc=bsdos-bold:
+
+#### DEC VT100 and compatibles
+#
+# DEC terminals from the vt100 forward (and the vt52, way obsolete but still
+# the basis of some emulations) are collected here. Older DEC terminals and
+# micro consoles can be found in the `obsolete' section.  More details on
+# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
+# found near the end of this file.
+#
+# Except where noted, these entries are DEC's official terminfos.
+# Contact Bill Hedberg <hedb...@hannah.enet.dec.com> of Terminal Support
+# Engineering for more information.  Updated terminfos and termcaps
+# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
+#
+# In October 1995 DEC sold its terminals business, including the VT and Dorio
+# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
+# its name to Boundless Technologies; see http://www.boundless.com.
+#
+
+# (The <acsc>, :ae:, and :as: capabilities aren't in DEC's official
+# entry -- esr)
+vt52|dec vt52:\
+       :bs:\
+       :co#80:it#8:li#24:\
+       :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+       :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
+       :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
+       :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
+
+# NOTE:  Any VT100 emulation, whether in hardware or software, almost
+# certainly includes what DEC called the `Level 1 editing extension' codes;
+# only the very oldest VT100s lacked these and there probably aren't any of
+# those left alive.  To capture these, use one of the VT102 entries.
+#
+# Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
+# since the cursor is left in a different position while in the
+# weird state (concept at beginning of next line, vt100 at end
+# of this line) so all versions of vi before 3.7 don't handle
+# :xn: right on vt100. The correct way to handle :xn: is when
+# you output the char in column 80, immediately output CR LF
+# and then assume you are in column 1 of the next line. If :xn:
+# is on, am should be on too.
+#
+# I assume you have smooth scroll off or are at a slow enough baud
+# rate that it doesn't matter (1200? or less). Also this assumes
+# that you set auto-nl to "on", if you set it off use vt100-nam
+# below.
+#
+# The padding requirements listed here are guesses. It is strongly
+# recommended that xon/xoff be enabled, as this is assumed here.
+#
+# The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
+# tab settings are in non-volatile memory and don't need to be
+# reset upon login. Also setting the number of columns glitches
+# the screen annoyingly. You can type "reset" to get them set.
+#
+# Here's a diagram of the VT100 keypad keys with their bindings.
+# The top line is the name of the key (some DEC keyboards have the keys
+# labelled somewhat differently, like GOLD instead of PF1, but this is
+# the most "official" name).  The second line is the escape sequence it
+# generates in Application Keypad mode (where "$" means the ESC
+# character).  The third line contains two items, first the mapping of
+# the key in terminfo, and then in termcap.
+#   _______________________________________
+#  |   PF1   |   PF2   |   PF3   |   PF4   |
+#  |   $OP   |   $OQ   |   $OR   |   $OS   |
+#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
+#  |    7         8         9         -    |
+#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
+#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
+#  |    4    |    5    |    6    |    ,    |
+#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
+#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
+#  |    1    |    2    |    3    |         |
+#  |   $Oq   |   $Or   |   $Os   |  enter  |
+#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
+#  |         0         |   .     |         |
+#  |        $Op        |  $On    |         |
+#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
+#
+# And here, for those of you with orphaned VT100s lacking documentation, is
+# a description of the soft switches invoked when you do `Set Up'.
+#
+#  Scroll 0-Jump               Shifted 3   0-#
+#  |      1-Smooth             |           1-British pound sign
+#  | Autorepeat 0-Off          | Wrap Around 0-Off
+#  | |          1-On           | |           1-On
+#  | | Screen 0-Dark Bkg       | | New Line 0-Off
+#  | | |      1-Light Bkg      | | |        1-On
+#  | | | Cursor 0-Underline    | | | Interlace 0-Off
+#  | | | |      1-Block        | | | |         1-On
+#  | | | |                     | | | |
+#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
+#                | | | |                     | | | |
+#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
+#                | | |               1-On    | | |       1-50 Hz
+#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
+#                | |           1-ANSI        | |                1-8 Bits
+#                | Keyclick 0-Off            | Parity 0-Off
+#                |          1-On             |        1-On
+#                Margin Bell 0-Off           Parity Sense 0-Odd
+#                            1-On                         1-Even
+#
+# The following SET-UP modes are assumed for normal operation:
+#      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
+#      WRAP_AROUND_ON  JUMP_SCROLL_OFF
+# Other SET-UP modes may be set for operator convenience or communication
+# requirements; I recommend
+#      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
+# Unless you have a graphics add-on such as Digital Engineering's VT640
+# (and even then, whenever it can be arranged!) you should set
+#      INTERLACE_OFF
+#
+# (I added <rmam>/<smam> based on the init string, also :bs: -- esr)
+vt100|vt100-am|dec vt100 (w/advanced video):\
+       :am:bs:ms:xn:xo:\
+       :co#80:it#8:li#24:vt#3:\
+       :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
+       :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+       :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+       :ae=\E(B:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+       :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
+       :eA=\E(B:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
+       :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
+       :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
+       :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
+       :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+       :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+       :up=\E[A:us=\E[4m:
+vt100nam|vt100-nam|vt100 no automargins:\
+       :am@:xn@:tc=vt100-am:
+
+# Ordinary vt100 in 132 column ("wide") mode.
+vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
+       :co#132:li#24:\
+       :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
+vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
+       :co#132:li#14:vt@:\
+       :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
+
+# vt100 with no advanced video.
+vt100-nav|vt100 without advanced video option:\
+       :sg#1:\
+       :mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
+vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video 
option):\
+       :co#132:li#14:tc=vt100-nav:
+
+# vt100 with one of the 24 lines used as a status line.
+# We put the status line on the top.
+vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
+       :es:hs:\
+       :li#23:\
+       :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
+       :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
+       :ts=\E7\E[1;%dH\E[1K:\
+       :tc=vt100-am:
+
+# Status line at bottom.
+# Clearing the screen will clobber status line.
+vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
+       :es:hs:\
+       :li#23:\
+       :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
+       :ts=\E7\E[24;%dH\E[1K:\
+       :tc=vt100-am:
+
+# Most of the `vt100' emulators out there actually emulate a vt102
+# This entry (or vt102-nsgr) is probably the right thing to use for
+# these.
+vt102|dec vt102:\
+       :mi:\
+       :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
+vt102-w|dec vt102 in wide mode:\
+       :co#132:\
+       :r3=\E[?3h:tc=vt102:
+
+# Many brain-dead PC comm programs that pretend to be `vt100-compatible'

@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to