usr/src/cmd/terminfo/visual.ti
changeset 13444 c1ed50709bff
parent 13443 76ab5b799560
child 13445 4dad26dd1fb9
equal deleted inserted replaced
13443:76ab5b799560 13444:c1ed50709bff
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License, Version 1.0 only
       
     6 # (the "License").  You may not use this file except in compliance
       
     7 # with the License.
       
     8 #
       
     9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
    10 # or http://www.opensolaris.org/os/licensing.
       
    11 # See the License for the specific language governing permissions
       
    12 # and limitations under the License.
       
    13 #
       
    14 # When distributing Covered Code, include this CDDL HEADER in each
       
    15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    16 # If applicable, add the following below this CDDL HEADER, with the
       
    17 # fields enclosed by brackets "[]" replaced with your own identifying
       
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    19 #
       
    20 # CDDL HEADER END
       
    21 #
       
    22 #	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
       
    23 #	  All Rights Reserved
       
    24 
       
    25 
       
    26 #ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.7	*/
       
    27 # # --------------------------------
       
    28 #
       
    29 # visual: VISUAL
       
    30 #
       
    31 vi50|visual50|v50 adm3a mode with goodies,
       
    32 	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, il1=\EL, dl1=\EM,
       
    33 	ed=\Ek, el=\EK, clear=^Z, cup=\E=%p1%' '%+%c%p2%' '%+%c, cols#80,
       
    34 	home=\EH, kbs=^H, kcud1=\EB, khome=\EH, kcub1=\ED,
       
    35 	kcuf1=\EC, kcuu1=\EA, lines#24, msgr, cuf1=^L, ht=^I, smso=\EU,
       
    36 	rmso=\ET, cuu1=^K,
       
    37 # The Visual 200 beeps when you type a character in insert mode.
       
    38 # This is a horribly obnoxious misfeature, and some of the entries
       
    39 # below try to get around the problem by ignoring the feature or
       
    40 # turning it off when inputting a character.  They are said not to
       
    41 # work well at 300 baud.  (You could always cut the wire to the bell!)
       
    42 vi200|visual 200 with function keys,
       
    43 	cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#80,
       
    44 	il1=\EL, am, cub1=^H, ed=\Ey, el=\Ex$<4*>, clear=\Ev,
       
    45 	cup=\EY%p1%' '%+%c%p2%' '%+%c, dch1=\EO$<4*>, dl1=\EM$<4*>,
       
    46 	home=\EH, ich1=\Ei \b\Ej, is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek,
       
    47 	kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E , kf4=\E!, kf5=\E", kf6=\E#,
       
    48 	kf7=\E$, kf8=\E%, kf9=\E&,
       
    49 	kcub1=\ED, kcuf1=\EC, kcuu1=\EA, kcud1=\EB, khome=\EH,
       
    50 	cuf1=\EC, ht=^I, ri=\EI, cuu1=\EA, cvvis=\Ed, cnorm=\Ec,
       
    51 vi200-rv-ic|visual 200 reverse video using insert char,
       
    52 	rmir=\Ej, smir=\Ei, ich1@, use=vi200-rv,
       
    53 # The older Visuals didn't come with function keys. This entry uses
       
    54 # smkx and rmkx so that the keypad keys can be used as function keys.
       
    55 # If your version of vi doesn't support function keys you may want
       
    56 # to use vi200-f.
       
    57 vi200-f|visual|visual 200 no function keys,
       
    58 	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24,
       
    59 	il1=\EL, am, cub1=^H, ed=\Ey, el=\Ex$<4*>, clear=\Ev,
       
    60 	cup=\EY%p1%' '%+%c%p2%' '%+%c, dch1=\EO$<4*>, dl1=\EM$<4*>,
       
    61 	home=\EH, ich1=\Ei \b\Ej, is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek,
       
    62 	smkx=\E=, rmkx=\E>,
       
    63 	kf0=\E?p, kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
       
    64 	kf7=\E?w, kf8=\E?x, kf9=\E?y,
       
    65 	kcub1=\ED, kcuf1=\EC, kcuu1=\EA, kcud1=\EB, khome=\EH,
       
    66 	cuf1=\EC, ht=^I, ri=\EI, cuu1=\EA, cvvis=\Ed, cnorm=\Ec,
       
    67 vi200-rv|visual 200 reverse video,
       
    68 	smso=\E4, rmso=\E3, ri@, cvvis@, cnorm@, use=vi200,
       
    69 vi200-ic|visual 200 using insert char,
       
    70 	rmir=\Ej, smir=\Ei, ich1@, use=vi200,
       
    71 # the function keys are programmable but we don't reprogram
       
    72 # them to their default values with "is" because programming
       
    73 # them is very verbose. maybe an "if" file should be made for
       
    74 # the 300 and they could be stuck in it.
       
    75 vi300|visual 300 ansi x3.64,
       
    76 	cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
       
    77 	am, cub1=^H, bw, mir, ht=^I, xenl, cols#80, lines#24,
       
    78 	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
       
    79 	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cud1=\E[B, cuf1=\E[C, ri=\EM,
       
    80 	cbt=\E[Z, home=\E[H, ed=\E[J, clear=\E[H\E[2J, el=\E[K,
       
    81 	il1=\E[L, dl1=\E[M, smir=\E[4h, rmir=\E[4l, dch1=\E[P$<40>,
       
    82 	smso=\E[1m, rmso=\E[m, smul=\E[4m, rmul=\E[m, khome=\E[H,
       
    83 	kcud1=\E[B, kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, kf1=\E_A\E\\,
       
    84 	kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, kf5=\E_E\E\\,
       
    85 	kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, kf9=\E_I\E\\,
       
    86 vi300-rv|visual 300 reverse video,
       
    87 	cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
       
    88 	is2=\E[7s\E[2;3;4;20;?6l\E[12;?5;?7h\E[1Q\E[0;1(D\E[8s,
       
    89 	use=vi300,
       
    90 # slow scroll doesn't work that well; if you type on the
       
    91 # keyboard while the terminal is scrolling it drops characters
       
    92 vi300-ss|visual 300 slow scroll,
       
    93 	cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
       
    94 	cvvis=\E[?4l, cnorm=\E[?4h, use=vi300,
       
    95 # some of the vi300s have older firmware that has the command
       
    96 # sequence for setting editing extent reversed.
       
    97 ovi300|visual 300 old,
       
    98 	cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
       
    99 	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
       
   100 	use=vi300,
       
   101 # if your version of ex/vi doesn't correctly implement xn
       
   102 # use this termcap for the vi300
       
   103 vi300-aw|visual 300 no autowrap,
       
   104 	am@, xenl@,
       
   105 	cvvis=\E[?7l, cnorm=\E[?7h,
       
   106 	use=vi300, 
       
   107 # the visual 550 is a visual 300 with tektronix graphics,
       
   108 # and with 33 lines. clear screen is modified here to
       
   109 # also clear the graphics.
       
   110 vi550|visual 550 ansi x3.64,
       
   111 	cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
       
   112 	lines#33, clear=\030\E[H\E[2J, use=vi300,