dave@csd4.milw.wisc.edu (David A Rasmussen) (03/15/89)
I asked the net for a vt340 termcap entry a few times over the last month.
All I got back was a dozen requests for any entries I got, and the
following from nice person in toronto:
#From erlebach@turing.toronto.edu Tue Mar 7 19:22:17 1989
uw|vt320|vt320 emulating a vt100:\
:is=\E\\\E<\E[61"p\E[2;4;20l\E[?1;3l\E[12h\E[?7;25h\E[1;24r\E>\E[m:\
:tc=vt220:
Anyways, seems to work on this professor's vt340. I am still interested if
improves upon this entry, or writes a 340 entry or whatever. Enjoy this for
now.
--
Dave Rasmussen c/o Computing Services Division @ U of WI - Milwaukee
Internet: dave@csd4.milw.wisc.edu Uucp: uwvax!uwmcsd1!uwmcsd4!dave {o,o}
Any opinions expressed are my own. Now, for a limited time, they can be yours
too, for the incredible price of only $19.95.composer@bucsf.bu.edu (Jeff Kellem) (03/20/90)
About a month ago, I posted a vt320 termcap entry. Below is the same entry
with a few minor additions, basically an extra entry to take advantage of
some control sequences that MS-Kermit's vt320 emulation understands. There
may be others to add, if you feel I've missed something, please let me
know. The only fix is the addition of the `bs' capability. Now, all you
nethack fiends can play it on a vt320 using a vt320 termcap entry. :-)
Enjoy...
-jeff
p.s. Previously, I had said that I would probably post it again without
most of the comments..so, I lied. ;-) Anyways, here's the whole thing
again. I doubt there will be another repost.
Jeff Kellem
INTERNET: composer@cs.bu.edu (or composer@bu.edu)
UUCP: ...!harvard!bu-cs!composer
===CUT HERE===
# -*-Text-*-
# Description: DEC vt320 termcap entry
#
# Created by: composer@cs.bu.edu on 10 Feb 1990.
# Last modified by: composer@cs.bu.edu on 20 Mar 1990.
# Posted to USENET newsgroup comp.terminals on 15 Feb 1990.
# Reposted to USENET newsgroup comp.terminals on 20 Mar 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
# INTERNET: composer@cs.bu.edu (or composer@bu.edu)
# 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
# bs: ADDED 27 Feb 1990, nethack and some older programs need this
# `bs' capability is obsolete now, though...
# 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
#
db|vt320|vt300|vt320-am|vt300-am|dec vt320 w/am:\
:co#80:li#24:\
:hs:\
:es:\
:ts=\E[1$}\E[;H\E[K:\
:fs=\E[0$}:\
:ds=\E[1$}\E[;H\E[K\E[0$}:\
:im=\E[4h:ei=\E[4l:mi:\
:IC=\E[%d@:\
:dc=\E[P:DC=\E[%dP:\
:al=\E[L:AL=\E[%dL:dl=\E[M:DL=\E[%dM:\
:cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\
:am:xn:\
:ce=\E[K:cl=\E[H\E[J:cd=\E[J:ec=\E[%dX:\
:cm=\E[%i%d;%dH:ho=\E[H:\
:cr=^M:nw=\EE:ta=^I:bs:\
:le=\E[D:nd=\E[C:up=\E[A:do=\E[B:\
:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:DO=\E[%dB:\
:sc=\E7:rc=\E8:\
:so=\E[7m:se=\E[27m:ms:\
:mb=\E[5m:md=\E[1m:mk=\E[m:mr=\E[7m:me=\E[m:\
:us=\E[4m:ue=\E[24m:\
:vi=\E[?25l:ve=\E[?25h:\
:bl=^G:\
:ks=\E[?1h\E=:ke=\E[?1l\E>:\
:kl=\EOD:kr=\EOC:ku=\EOA:kd=\EOB:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
:is=\E<\E[63;1"p\E[!p\E[?3l\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\
:rs=\E<\E[63;1"p\E[!p\E[?3l\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\
:st=\EH:ct=\E[3g:
#
db|vt320-w|vt300-w|dec vt300:\
:co#132:\
:is=\E<\E[63;1"p\E[!p\E[?3h\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\
:tc=vt320:
#
# da: says scroll up may bring back some lines..does it? haven't
# tried it. (Maybe should get rid of `da'...up to you.)
# Are there any other enhancements made in Kermit's vt320 emulation
# that I should add?
de|vt320-kermit|mskermit|kermit-vt320|MS-Kermit v3.00 vt320 emulation:\
:ch=\E[%dG:cv=\E[%dd:\
:da:tc=vt320:
# these names are getting ridiculous ..
de|vt320-kermit-w|mskermit-w|kermit-vt320-w|MS-Kermit vt320 (wide):\
:co#132:\
:is=\E<\E[63;1"p\E[!p\E[?3h\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\
:tc=vt320-kermit:
# End of vt320 termcap entry