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