]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/Caps.aix4
ncurses 6.1 - patch 20190720
[ncurses.git] / include / Caps.aix4
index 8fb53c2cc0d64af9cf38208558889da2304db6ed..1f66f2f93edb77528271801a2e7f704b0cdedb0e 100644 (file)
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright (c) 2001-2011,2015 Free Software Foundation, Inc.                #
+# Copyright (c) 2001-2016,2019 Free Software Foundation, Inc.                #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
 #
 # Author: Thomas Dickey
 #
-# $Id: Caps.aix4,v 1.10 2015/04/26 15:25:55 tom Exp $
+# $Id: Caps.aix4,v 1.14 2019/04/13 22:14:57 tom Exp $
 #
 # This is an adaptation of ncurses' termcap/terminfo capability table, which
 # is designed to align with AIX 4.x's terminfo.
 #
 # This table is used to generate initializers for tables that drive tic,
-# infocmp, and the library compilation code used to support the termcap 
+# infocmp, and the library compilation code used to support the termcap
 # compatibility hack.  It is also used to generate the tabular portion of the
 # terminfo(5) man page; lines beginning with `#%' are passed through to become
 # the terminfo table.
 # You'll need to write custom code, probably in postprocess_termcap() or
 # postprocess_terminfo(), to handle the translation.
 #
-# CONTROLLING ENTRY LENGTH 
+# CONTROLLING ENTRY LENGTH
 #
 # Notes on specific elisions made to fit translations within 1023 bytes:
 #
 # Machines with IBM PC-like keyboards want to be able to define the following
 # keys: key_npage, key_ppage, key_home, key_ll (which is used for in termcap-
 # only environments for End or Home-Down), key_dc, and key_ic.  This is also
-# the set of keys the `joe' editor will be upset if it can't see.  So don't 
+# the set of keys the `joe' editor will be upset if it can't see.  So don't
 # trim those out of the set to be translated to termcap, or various users of
 # the termcap file will become irate.
 #
 #
 # It would be nice to keep f11 and f12 for Emacs use, but a couple of termcap
 # translations go back over critical if we do this.  As 4.4BSD curses fades
-# into history and GNU termcap's application base shrinks towards being GNU 
+# into history and GNU termcap's application base shrinks towards being GNU
 # Emacs only, we'll probably elide out some BSD-only capabilities in order
 # to buy space for non-essentials Emacs is still using.  Capabilities high
 # on that hit list: rc, sc, uc.
 #%The \fBcapname\fR is the short name used in the text of the database,
 #%and is used by a person updating the database.
 #%Whenever possible, capnames are chosen to be the same as or similar to
-#%the ANSI X3.64-1979 standard (now superseded by ECMA-48, which uses 
+#%the ANSI X3.64-1979 standard (now superseded by ECMA-48, which uses
 #%identical or very similar names).  Semantics are also intended to match
 #%those of the specification.
 #%
@@ -476,7 +476,7 @@ prtr_non                    mc5p    str     pO      -               -       -B-G-*  turn on printer for #1 bytes
 # the mapping:
 #
 #      box1[0]  = ACS_ULCORNER
-#      box1[1]  = ACS_HLINE    
+#      box1[1]  = ACS_HLINE
 #      box1[2]  = ACS_URCORNER
 #      box1[3]  = ACS_VLINE
 #      box1[4]  = ACS_LRCORNER
@@ -517,15 +517,15 @@ font_4                            font4   str     f4      -               -       ----K   select font 4
 font_5                         font5   str     f5      -               -       ----K   select font 5
 font_6                         font6   str     f6      -               -       ----K   select font 6
 font_7                         font7   str     f7      -               -       ----K   select font 7
-key_back_tab                   kbtab   str     k0      -               -       ----K   backtab key
+key_back_tab                   kbtab   str     kO      -               -       ----K   backtab key
 key_do                         kdo     str     ki      -               -       ----K   do request key
-key_command                    kcmd    str     kd      -               -       ----K   command-request key
+key_command                    kcmd    str     @4      -               -       ----K   command-request key
 key_command_pane               kcpn    str     kW      -               -       ----K   command-pane key
-key_end                                kend    str     kw      KEY_END         0550    -----   end key
-key_help                       khlp    str     kq      -               -       -----   help key
-key_newline                    knl     str     nl      -               -       ----K   newline key
+key_end                                kend    str     @7      KEY_END         0550    -----   end key
+key_help                       khlp    str     %1      -               -       -----   help key
+key_newline                    knl     str     kn      -               -       ----K   newline key
 key_next_pane                  knpn    str     kv      -               -       ----K   next-pane key
-key_prev_cmd                   kppn    str     kp      -               -       ----K   previous-command key
+key_prev_cmd                   kpcmd   str     kp      -               -       ----K   previous-command key
 key_prev_pane                  kppn    str     kV      -               -       ----K   previous-pane key
 key_quit                       kquit   str     kQ      -               -       ----K   quit key
 key_select_aix                 ksel    str     kU      -               -       -----   select key
@@ -543,13 +543,13 @@ key_smap_out4                     kmpt4   str     KY      -               -       ----K   special mapped key 4 output
 key_smap_in5                   kmpf5   str     Kz      -               -       ----K   special mapped key 5 input
 key_smap_out5                  kmpt5   str     KZ      -               -       ----K   special mapped key 5 output
 appl_defined_str               apstr   str     za      -               -       ----K   application-defined string
-key_smap_in6                   kmpf6   str     kr      -               -       ----K   special mapped key 6 input
+key_smap_in6                   kmpf6   str     Kr      -               -       ----K   special mapped key 6 input
 key_smap_out6                  kmpt6   str     KR      -               -       ----K   special mapped key 6 output
-key_smap_in7                   kmpf7   str     ks      -               -       ----K   special mapped key 7 input
+key_smap_in7                   kmpf7   str     Ks      -               -       ----K   special mapped key 7 input
 key_smap_out7                  kmpt7   str     KS      -               -       ----K   special mapped key 7 output
-key_smap_in8                   kmpf8   str     kt      -               -       ----K   special mapped key 8 input
+key_smap_in8                   kmpf8   str     Kt      -               -       ----K   special mapped key 8 input
 key_smap_out8                  kmpt8   str     KT      -               -       ----K   special mapped key 8 output
-key_smap_in9                   kmpf9   str     ku      -               -       ----K   special mapped key 9 input
+key_smap_in9                   kmpf9   str     Ku      -               -       ----K   special mapped key 9 input
 key_smap_out9                  kmpt9   str     KU      -               -       ----K   special mapped key 9 output
 key_sf1                                ksf1    str     S1      -               -       ----K   special function key 1
 key_sf2                                ksf2    str     S2      -               -       ----K   special function key 2
@@ -857,13 +857,13 @@ alt_scancode_esc          scesa   str     S8      -               -       -----   Alternate escape for scancode emulatio
 #%lw25 lw6 lw2 lw20.
 #%\fBVariable  Cap-    TCap    Description\fR
 #%\fBString    name    Code\fR
-enter_horizontal_hl_mode       ehhlm   str     Xh      -               -       -----   Enter horizontal highlight mode
-enter_left_hl_mode             elhlm   str     Xl      -               -       -----   Enter left highlight mode
-enter_low_hl_mode              elohlm  str     Xo      -               -       -----   Enter low highlight mode
-enter_right_hl_mode            erhlm   str     Xr      -               -       -----   Enter right highlight mode
-enter_top_hl_mode              ethlm   str     Xt      -               -       -----   Enter top highlight mode
-enter_vertical_hl_mode         evhlm   str     Xv      -               -       -----   Enter vertical highlight mode
-set_a_attributes               sgr1    str     sA      -               -       -----   Define second set of video attributes #1-#6
+#enter_horizontal_hl_mode      ehhlm   str     Xh      -               -       -----   Enter horizontal highlight mode
+#enter_left_hl_mode            elhlm   str     Xl      -               -       -----   Enter left highlight mode
+#enter_low_hl_mode             elohlm  str     Xo      -               -       -----   Enter low highlight mode
+#enter_right_hl_mode           erhlm   str     Xr      -               -       -----   Enter right highlight mode
+#enter_top_hl_mode             ethlm   str     Xt      -               -       -----   Enter top highlight mode
+#enter_vertical_hl_mode                evhlm   str     Xv      -               -       -----   Enter vertical highlight mode
+#set_a_attributes              sgr1    str     sA      -               -       -----   Define second set of video attributes #1-#6
 set_pglen_inch                 slength str     YI      -               -       -----   Set page length to #1 hundredth of an inch (some implementations use sL for termcap).
 #%.TE
 #%.ad
@@ -928,7 +928,7 @@ gnu_has_meta_key            OTMT    bool    MT      -               -       ----E   has meta key
 # GNU termcap *does* include the following extended capability,  Only the
 # now-obsolete Ann Arbor terminals used it.
 #
-# gnu_change_scroll_region     OTcS    str     cS      -               -       ---GE   alternate set scrolling region 
+# gnu_change_scroll_region     OTcS    str     cS      -               -       ---GE   alternate set scrolling region
 #
 # The following comments describe capnames so ancient that I believe no
 # software uses them any longer.  Some of these have to go because they
@@ -989,7 +989,7 @@ return_does_clr_eol         OTxr    bool    xr      -               -       YB---   return clears the line
 # University of Waterloo termcap extensions (as described in mytinfo).
 # The `xl' termcap file clashes with a terminfo name; this ambiguity cannot
 # be resolved by a type check.  The descriptions are guesses from what was
-# in the mytinfo tables. 
+# in the mytinfo tables.
 #
 # key_interrupt_char           OTki    str     ki      -               -       -----   string set by interrupt key (?)
 # key_kill_char                        OTkk    str     kk      -               -       -----   string set by kill key (?)
@@ -1038,7 +1038,7 @@ return_does_clr_eol               OTxr    bool    xr      -               -       YB---   return clears the line
 # Gv   186 \272 M-:    double vertical line
 #
 # The compiler will translate the single-line caps and discard the others
-# (via IGNORE aliases further down).  We don't want to do normal pad 
+# (via IGNORE aliases further down).  We don't want to do normal pad
 # translation on these, they're often single-character printable ASCII
 # strings that happen to be numerics.  There's awk code in parametrized.sh
 # that detects the acs_ prefix and uses it to suppress pad translation.
@@ -1060,192 +1060,9 @@ acs_plus                        OTGC    str     GC      -               -       -----   single intersection
 #
 # TERMINFO EXTENSION CAPABILITIES
 #
-# This section is almost all comments.  What it's mainly for is to describe
-# what capabilities need to be squeezed out to get down to the XSI Curses
-# standard set.  They are flagged with K.
-#
-# HP extensions
-#
-# These extensions follow ptr_non (replacing everything after it) in HP
-# terminfo files.  Except for memory_lock and memory_unlock, they are
-# functionally identical to SVr4 extensions, but they make the binary format
-# different.  Grrr....
+# (see Caps-ncurses for the complete set of comments)
 #
 memory_lock                    meml    str     ml      -               -       ----K   lock memory above cursor
 memory_unlock                  memu    str     mu      -               -       ----K   unlock memory
-#plab_norm                     pln     str     pn      -               -       -----   program label #1 to show string #2
-#label_on                      smln    str     LO      -               -       -----   turn on soft labels
-#label_off                     rmln    str     LF      -               -       -----   turn off soft labels
-#key_f11                       kf11    str     F1      -               -       -----   F11 function key
-#key_f12                       kf12    str     F2      -               -       -----   F12 function key
-#key_f13                       kf13    str     F3      -               -       -----   F13 function key
-#key_f14                       kf14    str     F4      -               -       -----   F14 function key
-#key_f15                       kf15    str     F5      -               -       -----   F15 function key
-#key_f16                       kf16    str     F6      -               -       -----   F16 function key
-#key_f17                       kf17    str     F7      -               -       -----   F17 function key
-#key_f18                       kf18    str     F8      -               -       -----   F18 function key
-#key_f19                       kf19    str     F9      -               -       -----   F19 function key
-#key_f20                       kf20    str     FA      -               -       -----   F20 function key
-#key_f21                       kf21    str     FB      -               -       -----   F21 function key
-#key_f22                       kf22    str     FC      -               -       -----   F22 function key
-#key_f23                       kf23    str     FD      -               -       -----   F23 function key
-#key_f24                       kf24    str     FE      -               -       -----   F24 function key
-#key_f25                       kf25    str     FF      -               -       -----   F25 function key
-#key_f26                       kf26    str     FG      -               -       -----   F26 function key
-#key_f27                       kf27    str     FH      -               -       -----   F27 function key
-#key_f28                       kf28    str     FI      -               -       -----   F28 function key
-#key_f29                       kf29    str     FJ      -               -       -----   F29 function key
-#key_f30                       kf30    str     FK      -               -       -----   F30 function key
-#key_f31                       kf31    str     FL      -               -       -----   F31 function key
-#key_f32                       kf32    str     FM      -               -       -----   F32 function key
-#key_f33                       kf33    str     FN      -               -       -----   F33 function key
-#key_f34                       kf34    str     FO      -               -       -----   F34 function key
-#key_f35                       kf35    str     FP      -               -       -----   F35 function key
-#key_f36                       kf36    str     FQ      -               -       -----   F36 function key
-#key_f37                       kf37    str     FR      -               -       -----   F37 function key
-#key_f38                       kf38    str     FS      -               -       -----   F38 function key
-#key_f39                       kf39    str     FT      -               -       -----   F39 function key
-#key_f40                       kf40    str     FU      -               -       -----   F40 function key
-#key_f41                       kf41    str     FV      -               -       -----   F41 function key
-#key_f42                       kf42    str     FW      -               -       -----   F42 function key
-#key_f43                       kf43    str     FX      -               -       -----   F43 function key
-#key_f44                       kf44    str     FY      -               -       -----   F44 function key
-#key_f45                       kf45    str     FZ      -               -       -----   F45 function key
-#key_f46                       kf46    str     Fa      -               -       -----   F46 function key
-#key_f47                       kf47    str     Fb      -               -       -----   F47 function key
-#key_f48                       kf48    str     Fc      -               -       -----   F48 function key
-#key_f49                       kf49    str     Fd      -               -       -----   F49 function key
-#key_f50                       kf50    str     Fe      -               -       -----   F50 function key
-#key_f51                       kf51    str     Ff      -               -       -----   F51 function key
-#key_f52                       kf52    str     Fg      -               -       -----   F52 function key
-#key_f53                       kf53    str     Fh      -               -       -----   F53 function key
-#key_f54                       kf54    str     Fi      -               -       -----   F54 function key
-#key_f55                       kf55    str     Fj      -               -       -----   F55 function key
-#key_f56                       kf56    str     Fk      -               -       -----   F56 function key
-#key_f57                       kf57    str     Fl      -               -       -----   F57 function key
-#key_f58                       kf58    str     Fm      -               -       -----   F58 function key
-#key_f59                       kf59    str     Fn      -               -       -----   F59 function key
-#key_f60                       kf60    str     Fo      -               -       -----   F60 function key
-#key_f61                       kf61    str     Fp      -               -       -----   F61 function key
-#key_f62                       kf62    str     Fq      -               -       -----   F62 function key
-#key_f63                       kf63    str     Fr      -               -       -----   F63 function key
-#
-#############################################################################
-#
-# ALIAS DECLARATIONS
-#
-# Here we set up aliases for translating extensions into standard terminfo.
-#
-#---------------------------------- Termcap aliases -------------------------
-#
-# BSD aliases:
-#
-# This is a common error in many termcap files.  We'll get notified during
-# translation when this (or any other alias) fires.
-#
-capalias       sb      sr      BSD     scroll text down
-#
-# AT&T extensions:
-#
-# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
-# nonstandard capabilities.  Its signature is the KM capability, used to name
-# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
-# set.  Comments in the original, and a little cross-checking with other AT&T
-# documentation, seem to establish the following mappings:
-#
-capalias       BO      mr      AT&T    enter_reverse_mode
-capalias       CI      vi      AT&T    cursor_invisible
-capalias       CV      ve      AT&T    cursor_normal
-capalias       DS      mh      AT&T    enter_dim_mode
-#capalias      EE      me      AT&T    exit_attribute_mode     
-capalias       FE      LF      AT&T    label_on
-capalias       FL      LO      AT&T    label_off
-capalias       XS      mk      AT&T    enter_secure_mode
-#
-# We comment out EE because the conflicting XENIX EE is more common in 
-# old entries.
-#
-# XENIX extensions:
-#
-# These are the ones we know how to translate directly:
-#
-capalias       EE      mh      XENIX   exit_attribute_mode     
-capalias       GE      ae      XENIX   exit_alt_charset_mode
-capalias       GS      as      XENIX   enter_alt_charset_mode
-capalias       CF      vi      XENIX   cursor_invis
-capalias       CO      ve      XENIX   cursor_normal
-capalias       EN      @7      XENIX   key_end
-capalias       HM      kh      XENIX   key_home
-capalias       LD      kL      XENIX   key_dl
-capalias       PD      kN      XENIX   key_npage
-capalias       PN      po      XENIX   prtr_off
-capalias       PS      pf      XENIX   prtr_on
-capalias       PU      kP      XENIX   key_ppage
-capalias       RT      @8      XENIX   kent
-capalias       UP      ku      XENIX   kcuu1
-capalias       G6      IGNORE  XENIX   double-ACS_ULCORNER
-capalias       G7      IGNORE  XENIX   double-ACS_LLCORNER
-capalias       G5      IGNORE  XENIX   double-ACS_URCORNER
-capalias       G8      IGNORE  XENIX   double-ACS_LRCORNER
-capalias       Gr      IGNORE  XENIX   double-ACS_LTEE
-capalias       Gr      IGNORE  XENIX   double-ACS_RTEE
-capalias       Gu      IGNORE  XENIX   double-ACS_BTEE
-capalias       Gd      IGNORE  XENIX   double ACS_TTEE
-capalias       Gh      IGNORE  XENIX   double-ACS_HLINE
-capalias       Gv      IGNORE  XENIX   double-ACS_VLINE
-capalias       Gc      IGNORE  XENIX   double-ACS_PLUS
-capalias       GG      IGNORE  XENIX   acs-glitch
-#
-# IBM extensions:
-#
-capalias       kq      %1      IBM     key_help
-#
-# Iris extensions:
-#
-capalias       HS      mh      IRIS    enter_dim_mode
-#
-# Tektronix extensions:
-#
-capalias       KA      k;      Tek     key_f10
-capalias       KB      F1      Tek     key_f11
-capalias       KC      F2      Tek     key_f12
-capalias       KD      F3      Tek     key_f13
-capalias       KE      F4      Tek     key_f14
-capalias       KF      F5      Tek     key_f15
-capalias       BC      Sb      Tek     set_background
-capalias       FC      Sf      Tek     set_foreground
-#
-# There are also the following:
-#
-#      XENIX   XENIX variable name     name clash with terminfo?
-#      -----   -------------------     -------------------------
-#      CL      key_char_left
-#      CR      key_char_right
-#      CW      key_change_window
-#      HP      ??
-#      LF      key_linefeed            label_off
-#      NU      key_next_unlocked_cell
-#      PL      ??
-#      PR      ??
-#      RC      key_recalc              remove_clock
-#      RF      key_toggle_ref          req_for_input
-#      WL      key_word_left
-#      WR      key_word_right
-#
-# If you know what any of the question-marked ones mean, please tell us.
-#
-#--------------------------------- Terminfo aliases ------------------------
-#
-# IBM extensions:
-#
-infoalias      font0   s0ds    IBM     set0_des_seq
-infoalias      font1   s1ds    IBM     set1_des_seq
-infoalias      font2   s2ds    IBM     set2_des_seq
-infoalias      font3   s3ds    IBM     set3_des_seq
-infoalias      kbtab   kcbt    IBM     key_backtab
-infoalias      ksel    kslt    IBM     key_select
-#
-# Some others are identical to SVr4/XPG4 capabilities, in particular:
-# kcmd, kend, khlp, and kf11...kf63.
 #
 #############################################################################