SUMMARY: Compiled Terminfo Entry

From: Derald McMillan (
Date: Fri Sep 08 1995 - 08:41:42 CDT

Original Question:

> Does anyone have a Compiled Terminfo Entry for vt320 to put in
> /usr/share/lib/terminfo/v?

I recieved only one response to my query, however that one response
worked like a charm.

The reply came from a SUN employee: Casper Dik <casper@Holland.Sun.COM>,
Thank you Casper very much.

----- Begin Included Message -----

Compile the following with "tic".
(it says termcap, but its terminfo)

The kernit distribution has one as well.

# Description: DEC vt320 termcap entry
# Created by: on 10 Feb 1990.
# Last modified by: on 15 Feb 1990.
# Posted to USENET newsgroup comp.terminals on 15 Feb 1990.
# ------------------------------------------------------------------------
# This vt320 termcap entry is a test entry for a vt320. (Imagine that? ;-)
# It was written from scratch. All (well, at least, most :) of the
# capabilities have been commented and should be approximately in the order
# that they are in the entry. I took some educated guesses at some of
# these, with info from the vt320 "Installing and Using .." manual and from
# some other termcap entries. I have yet to test the status line stuff, I
# will probably test it soon, though. Where I wasn't sure what to put for
# a capability, I added a comment of some sort. Also, the initialization
# string has comments about what each control sequence is supposed to do.
# If you have any comments or questions regarding this termcap entry, or if
# you see something I missed, please send me a note. Thanks...
# Enjoy!!
# -jeff
# p.s. Yeah, all these comments don't need to be included, but (who knows?)
# they might be useful for some of those out there that have not built a
# termcap entry before, or have forgotten. If any changes are made that I
# feel should be reposted, I will probably only post the main termcap entry
# with the comment for the `is' capability only. But, then...I dunno.. :)
# Jeff Kellem
# UUCP: ...!harvard!bu-cs!composer
# ------------------------------------------------------------------------
# hs: has status line
# es: other display cmds work while writing the status line
# ts: cmds to move cursor into status line
# moves to status line, moves cursor to 1,1 in status line (?),
# then clears to end of line
# fs: cmds to move cursor back from status line to previous position
# ds: cmds to disable the display of the status line
# maybe we should just set status line type to none for disable
# as in, :ds=\E[0$~
# but, then, may have to chg to host-writable stat line to
# move into it. :( probably leave it alone for now..
# anyways, would rather just keep it host-writable..
# currently, we're doing ..
# moves to status line, moves cursor to 1,1 in status line (?),
# clears to end of line, then moves cursor back to prev position
# im: enter insert mode
# ei: exit insert mode
# IC: insert N chars
# mi: safe to move cursor in insert mode. I'm assuming that the
# terminal remains in insert mode. (I need better technical docs ;-)
# dc: cmds to delete one char position at the cursor
# DC: cmds to delete N chars
# dm & ed: enter/exit delete mode .. should these be here? NO del mode!
# in some termcap entries they seem to be set to nothing, as in:
# :dm=:ed=: ... and others they are nonexistent
# al & AL: insert one/N line/s
# dl & DL: delete one/N line/s
# cs: set scroll region - 2 args, top and bottom lines of region
# sf: cmds to scroll one line up
# sr: cmds to scroll one line down
# am: flag says wrap on margin
# xn: flag says cursor on last column/line wrap glitch
# ce: cmds to clear to EOL
# cl: cmds to clear entire screen and position cursor at upper left
# cd: cmds to clear the line the cursor is on to end of screen
# ec: cmds to clear N chars, starting with char cursor is on
# cm: cmds to move to cursor position LINE, COLUMN
# ho: cmds to move cursor to home position, upper left corner
# @@@ NO ll: cursor to lower left ??
# cr: cursor to beginning of line ?? set to ^M right now, why not?
# nw: cmds to move cursor to beginning of next line
# ta: cmds to move cursor forward to next hardware tab
# @@@ NO bt: NO backward tab that I can find .. so, NOT included
# le: cmds to move cursor left one column - should this just be ^H ??
# bc: OBSOLETE - same as `le' capability --REMOVED
# nd: cmds to move cursor right one column
# up & do: cmds to move cursor up/down one line
# LE,RE,UP,DO: move cursor N of above lower case capabilities
# sc & rc: save/restore cursor position
# so & se: start/end standout mode (reverse video)
# ms: says that it is safe to move cursor in standout mode..
# is this ok??? @@@ ?? seems so..but, maybe not..who knows?
# mb: cmds to turn on blinking attribute
# md: cmds to turn on bold/double-bright attribute
# mk: cmds for invisible attribute
# mr: cmds to turn on reverse attribute
# me: cmds to turn OFF all attributes
# @@@ What about uc & ul capabilities .. old underlining stuff..??
# @@@ doesn't seem like vt320 can deal with it, but who knows?
# @@@ What to do about alternate character set?? vt320 can handle more
# @@@ than one alternate set, it looks like.
# vi & ve: cmds to turn cursor off & on
# bl: cmds to sounds bell
# ks: cmds to put numeric keypad and cursor keys in application mode
# ke: cmds to put numeric keypad and cursor keys back to normal
# kl/kr/ku/kd: chars sent by left/right/up/down arrow keys in appl mode
# k1 .. k4: chars sent by pf1 .. pf4 keys
# l1 .. l4: strings on pf1 .. pf4 keys (really, "pf1" to "pf4")
# @@@ put here so as not to confuse with f1 to f4 keys
# kD: chars sent by the `Remove' key ("delete char" key)
# kI: chars sent by the `Insert Here' key ("ins char" or
# "enter ins mode" key)
# kN: chars sent by the `Next Screen' key ("next page" key)
# kP: chars sent by the `Prev Screen' key ("previous page" key)
# what about "scroll forward/reverse" key capabilties instead?? nah..
# is: initialization string
# exit vt52 mode
# set operating mode to vt300 mode, 7-bit controls (default)
# soft terminal reset
# set screen width to 80 columns, side-effect => clears screen
# set screen mode to dark background
# OVERRIDE disabling of autowrap (from soft reset)
# probably shouldn't, but who cares? :)
# set autorepeat mode on
# set scrolling to jump scroll
# set keyboard usage mode to typewriter
# set status line type to host-writable
# @@@ set tab stops to every 8 positions (only first 9, for 80 col)
# @@@ *NO* need to set tab stops. `tset' should try to do it, since `ct'
# @@@ and `st' capabilities exist. It uses a combination of `ct', `st',
# @@@ and `ch' (or `cm') capabilities to set tab stops at every 8 pos.
# rs: reset string, same as `is' capability, right now..
# any other suggestions?
# st: cmds to set tab stop at current cursor column
# ct: cmds to clear all tab stops
vt320|vt320-am|dec vt320 w/am,
        am, eslok, hs, mir, msgr, xenl, xon,
        cols#80, lines#24,
        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
        clear=\E[H\E[J, cnorm=\E[?25h, cr=\r,
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
        dsl=\E[1$}\E[;H\E[K\E[0$}, ech=\E[%p1%dX, ed=\E[J,
        el=\E[K, fsl=\E[0$}, home=\E[H, ht=\t, hts=\EH,
        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
        kdch1=\E[3~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, lf1=PF1, lf2=PF2,
        lf3=PF3, lf4=PF4, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=,
        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
vt320-w|dec vt320,
# End of vt320 termcap entry
        am, eslok, hs, mir, xenl, xon,
        cols#80, lines#24, vt#3,
        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
        clear=\E[;H\E[2J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
        cub1=\b, cud1=\n, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
        dl1=\E[M, dsl=\E[1$}\E[;H\E[K\E[0$}, ed=\E[J$<50>,
        el=\E[K$<3>, fsl=\E[0$}, home=\E[H, ht=\t, il1=\E[L,
        ind=\n, is2=\E[1;24r\E[24;1H, kbs=\b, kcub1=\EOD,
        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2>,
        rf=/usr/lib/tabset/vt100, ri=\EM, rmacs=\E(B$<4>,
        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
        sgr0=\E[m$<2>, smacs=\E(<$<2>, smir=\E[4h,
        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,

----- End Included Message -----


Derald H McMillan III ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SolTech Systems Corporation 1180 Sam Rittenberg Blvd. Phone: 803-556-2500 Suite 310 Fax: 803-556-2596 Charleston, SC 29407 email:

"Out the 10Base-2, through the router, over the leased line, off the bridge, past the firewall...nothing but Net" -Gary Predmore ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:33 CDT