X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Ftic.1m.html;h=30079a0af9c9bdeb1dfeef05a0d31c37b2314817;hb=97cb42f22c43eb31a4bf11475bd73ab0e0b10923;hp=62069c724803ba88812ba8229f9ce5fa0f9fde66;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d;p=ncurses.git diff --git a/doc/html/man/tic.1m.html b/doc/html/man/tic.1m.html index 62069c72..30079a0a 100644 --- a/doc/html/man/tic.1m.html +++ b/doc/html/man/tic.1m.html @@ -1,6 +1,6 @@ @@ -34,7 +34,7 @@ tic 1m - + @@ -284,46 +284,120 @@ -wn specifies the width of the output. The parameter is optional. If it is omitted, it defaults to 60. - -x Treat unknown capabilities as user-defined. That is, if you sup- - ply a capability name which tic does not recognize, it will infer - its type (boolean, number or string) from the syntax and make an - extended table entry for that. User-defined capability strings - whose name begins with "k" are treated as function keys. + -x Treat unknown capabilities as user-defined (see user_caps(5)). + That is, if you supply a capability name which tic does not recog- + nize, it will infer its type (boolean, number or string) from the + syntax and make an extended table entry for that. User-defined + capability strings whose name begins with "k" are treated as func- + tion keys.

PARAMETERS

-       file   contains  one  or  more terminfo terminal descriptions in source
-              format  [see  terminfo(5)].   Each  description  in   the   file
+       file   contains one or more terminfo terminal  descriptions  in  source
+              format   [see   terminfo(5)].   Each  description  in  the  file
               describes the capabilities of a particular terminal.
 
-              If  file  is "-", then the data is read from the standard input.
+              If file is "-", then the data is read from the  standard  input.
               The file parameter may also be the path of a character-device.
 
 
 

PROCESSING

-       All but one of the capabilities recognized by  tic  are  documented  in
+       All  but  one  of  the capabilities recognized by tic are documented in
        terminfo(5).  The exception is the use capability.
 
        When a use=entry-name field is discovered in a terminal entry currently
-       being compiled, tic reads in the  binary  from  /usr/share/terminfo  to
-       complete  the  entry.   (Entries  created from file will be used first.
-       tic duplicates the capabilities in entry-name for  the  current  entry,
+       being  compiled,  tic  reads  in the binary from /usr/share/terminfo to
+       complete the entry.  (Entries created from file  will  be  used  first.
+       tic  duplicates  the  capabilities in entry-name for the current entry,
        with the exception of those capabilities that explicitly are defined in
        the current entry.
 
-       When an entry, e.g., entry_name_1, contains a  use=entry_name_2  field,
-       any   canceled   capabilities  in  entry_name_2  must  also  appear  in
-       entry_name_1 before use= for  these  capabilities  to  be  canceled  in
+       When  an  entry, e.g., entry_name_1, contains a use=entry_name_2 field,
+       any  canceled  capabilities  in  entry_name_2  must  also   appear   in
+       entry_name_1  before  use=  for  these  capabilities  to be canceled in
        entry_name_1.
 
        Total compiled entries cannot exceed 4096 bytes.  The name field cannot
-       exceed 512 bytes.  Terminal names exceeding the  maximum  alias  length
+       exceed  512  bytes.   Terminal names exceeding the maximum alias length
        (32 characters on systems with long filenames, 14 characters otherwise)
-       will be truncated to the maximum alias length  and  a  warning  message
+       will  be  truncated  to  the maximum alias length and a warning message
        will be printed.
 
 
-

COMPATIBILITY

+

HISTORY

+       System V Release 2 provided  a  tic  utility.   It  accepted  a  single
+       option:  -v  (optionally  followed  by  a  number).   According to Ross
+       Ridge's comment in mytinfo, this version of tic was unable to represent
+       cancelled capabilities.
+
+       System  V  Release 3 provided a different tic utility, written by Pavel
+       Curtis, (originally named "compile" in pcurses).  This added an  option
+       -c  to check the file for errors, with the caveat that errors in "use="
+       links would not be reported.  System V Release 3 documented a few warn-
+       ing messages which did not appear in pcurses.  While the program itself
+       was changed little as development continued with System  V  Release  4,
+       the table of capabilities grew from 180 (pcurses) to 464 (Solaris).
+
+       In  early  development of ncurses (1993), Zeyd Ben-Halim used the table
+       from mytinfo to extend the  pcurses  table  to  469  capabilities  (456
+       matched  SVr4, 8 were only in SVr4, 13 were not in SVr4).  Of those 13,
+       11 were ultimately discarded (perhaps to  match  the  draft  of  X/Open
+       Curses).   The exceptions were memory_lock_above and memory_unlock (see
+       user_caps(5)).
+
+       Eric Raymond incorporated parts of mytinfo into  ncurses  to  implement
+       the  termcap-to-terminfo  source conversion, and extended that to begin
+       development of the corresponding terminfo-to-termcap source conversion,
+       Thomas  Dickey  completed  that  development over the course of several
+       years.
+
+       In 1999, Thomas Dickey added the  -x  option  to  support  user-defined
+       capabilities.
+
+       In  2010,  Roy  Marples provided a tic program and terminfo library for
+       NetBSD.  This implementation  adapts  several  features  from  ncurses,
+       including tic's -x option.
+
+       The  -c  option  tells tic to check for problems in the terminfo source
+       file.  Continued development provides additional checks:
+
+       o   pcurses had 8 warnings
+
+       o   ncurses in 1996 had 16 warnings
+
+       o   Solaris (SVr4) curses has 28 warnings
+
+       o   NetBSD tic in 2019 has 19 warnings.
+
+       o   ncurses in 2019 has 96 warnings
+
+       The checking done in ncurses' tic helps with the conversion to termcap,
+       as well as pointing out errors and inconsistencies.  It is also used to
+       ensure consistency with the user-defined capabilities.  There  are  527
+       distinct  capabilities  in ncurses' terminal database; 128 of those are
+       user-defined.
+
+
+

PORTABILITY

+       X/Open Curses, Issue 7 (2009) provides a brief description of tic.   It
+       lists  one  option:  -c.  The omission of -v is unexpected.  The change
+       history states that  the  description  is  derived  from  True64  UNIX.
+       According  to  its  manual  pages,  that  system  also supported the -v
+       option.
+
+       Shortly after Issue 7 was released,  Tru64  was  discontinued.   As  of
+       2019,  the  surviving  implementations  of tic are SVr4 (AIX, HP-UX and
+       Solaris), ncurses and NetBSD curses.
+
+       The X/Open rationale states that some implementations of tic read  ter-
+       minal  descriptions  from  the  standard input if the file parameter is
+       omitted.  None of these implementations do that.  Further, it  comments
+       that some may choose to read from "./terminfo.src" but that is obsoles-
+       cent behavior from SVr2, and is not (for example) a documented  feature
+       of SVr3.
+
+
+

COMPATIBILITY

        There  is  some  evidence  that  historic  tic  implementations treated
        description fields with no whitespace in them as additional aliases  or
        short names.  This tic does not do that, but it does warn when descrip-
@@ -331,7 +405,7 @@
        acters.
 
 
-

EXTENSIONS

+

EXTENSIONS

        Unlike  the  SVr4 tic command, this implementation can actually compile
        termcap sources.  In fact, entries in terminfo and termcap  syntax  can
        be  mixed  in  a  single  source file.  See terminfo(5) for the list of
@@ -349,7 +423,7 @@
 
        The -0, -1, -C, -G, -I, -N, -R, -T, -V, -a, -e, -f, -g, -o, -r, -s,  -t
        and -x options are not supported under SVr4.  The SVr4 -c mode does not
-       report bad use links.
+       report bad "use=" links.
 
        System V does  not  compile  entries  to  or  read  entries  from  your
        $HOME/.terminfo database unless TERMINFO is explicitly set to it.
@@ -362,9 +436,9 @@
 
 

SEE ALSO

        infocmp(1m),   captoinfo(1m),   infotocap(1m),   toe(1m),   curses(3x),
-       term(5).  terminfo(5).
+       term(5).  terminfo(5).  user_caps(5).
 
-       This describes ncurses version 6.1 (patch 20190121).
+       This describes ncurses version 6.1 (patch 20190727).
 
 
 

AUTHOR

@@ -386,8 +460,13 @@
 
  • PROCESSING
  • -
  • COMPATIBILITY
  • -
  • EXTENSIONS
  • +
  • HISTORY
  • +
  • PORTABILITY + +
  • FILES
  • SEE ALSO
  • AUTHOR