:

               INFORMIX


        UNIX-  
 termcap,       (  )
,        .   ,    
      (        
   TERM   -      TERM=d460      TERM=d211),
UNIX-        termcap  ,
        ,   
   ,  .

INFORMIX         ,
  /usr/informix/etc/termcap ,    
       termcap UNIX'. 
 ,  UNIX,  INFORMIX  termcape  
.         -
  (..,        
d211, d460, vt220),     .

   termcap-     termin
fo(4) ("  UNIX V"),      
,        ,    
     .



   termcap/terminfo

        terminfo UNIX,
,       ,    
/usr/informix/etc/termcap

    vt220   terminfo 
      vt220 :
---------------------------------------------------------------
infocmp -r1 vt220 > vt220
---------------------------------------------------------------

    vt220     
terminfo
---------------------------------------------------------------
tic vt220
---------------------------------------------------------------

     vt220   termcap 
      tmp :
---------------------------------------------------------------
infocmp -Cr1 vt220 > tmp
---------------------------------------------------------------

    vt220   termcap
---------------------------------------------------------------
,  ,     
       /etc/termcap /
/usr/informix/etc/termcap
---------------------------------------------------------------

   terminfo    termcap
---------------------------------------------------------------
captoinfo vt220.cap > vt220
---------------------------------------------------------------

      , -
   INFORMIX  ,   -
.

       ,  ,  (
,  ,   ):



        :am:\         
        :bw:\          0  
        :mi:\           
        :ms:\           
        :xo:\        xon/xoff


                 .

termcap         |
  |  
----------------+------------------------------------------
k0 ... k9          F1 ... F10
kA ... kK          F11 .. F20

ki                   
kj                   
kf                    
kg                    

ku                  
kd                  
kr                  
kl                  

        ,  xterm:
 :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\



vi        
ve        
vs        

cm        # #
        ( - ),
         :cm=\E[%i%d;%dH:\       vt220
                 :cm=^P%r%.%.:\          d211

bc       
le       
do       
nd       
up       

ho        
cr       
nl         
nw            

        ,  vt100:
 :up=\E[A:do=\E[B:nd=\E[C:le=\E[D:\



cl       
ic       
dc       
bl      



ti           .
te      ""  
 ,   d211-132:
        :ti=^^FK:\       132  
        :te=^^FJ:\       80  



as                
ae                
ac                 
mr               REVERSE
me               



           ASCII, , 
           ,  ""
gb             pqbd-|
gs        .
ge        .
 ,   d460:
        :gb=1324;\::\
        :gs=^^FS11:ge=^^FS00:\



    ZA  ,    -
   : REVERSE  NORMAL. ( termcap UNIX' 
  sa.)

 ZA  _   .
   :

  ,  , _:
  ,   , -
   p1  p8,  .
  ,      -
,       ,   
           
.

  INFORMIX     ,  -
   p1 - p4  ,     
  ,   ZA.     
ESC-,         
().

 |   |   ( )  
---------+-----------+---------------------------------------
p1         0  7          ( WHITE  BLACK)
-------------------------------------------------------------
p1   0              NORMAL               WHITE
p1   1              BOLD                 CYAN
p1   2              BOLD                 YELLOW
p1   3              BOLD                 MAGENTA
p1   4              DIM                  RED
p1   5              DIM                  GREEN
p1   6              DIM                  BLUE
p1   7              INVISIBLE            BLACK

p2  1  0          REVERSE     (  )
p3  1  0          DIM         (  )
p4  1  0          UNDERLINE   (  )

-   :

%pi      i         i=1,2,...,8
%{n}     n  
%c            %c (1 )
%d            %d ( )

   %? %t %e %;    , ,
       (0  /  0),    .
.
%?  %t __ %e __ %;
%?  %t __ %;

    ,     .
       .



    ,       
   ESC-:

\E[0m             .      ( p1=0)
\E[0;1m          BOLD             ( p1>0)
\E[0;7m          REVERSE          ( p2=1)
\E[0;5m          BLINK            ( p3=1)
\E[0;4m          UNDERLINE        ( p4=1)

        :
ZA=\E[0 #    \E[0 -   
        #  .
 %?%p1          #  p1   0
   %t;1%;         #      ;1
 %?%p2%t;7%;    #  p2  1     ;7
 %?%p3%t;5%;    #  p3  1     ;5
 %?%p4%t;4%;    #  p4  1     ;4
 m             #   m

        ZA  
vt220

        :ZA=\E[0%?%p1%t;1%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m:

 ,   ZA     -
.         
       p1.

Last-modified: Tue, 25 Nov 1997 06:58:27 GMT
: