From: shuford@cs.utk.edu (Richard Shuford)
Newsgroups: comp.terminals,comp.protocols.misc,comp.unix.programmer,comp.periphs
Subject: comp.terminals FAQ
Followup-To: comp.terminals
Date: 7 Sep 92 03:32:33 GMT
Organization: University of Tennessee, Knoxville--Dept. of Computer Science
Distribution: world
Expires: 10 Dec 1992 22:23:24 GMT
NNTP-Posting-Host: duncan.cs.utk.edu
Summary: Frequently Asked Questions
Keywords: terminals, FTP, FAQ

This FAQ list was prepared by pdsmith@bbn.com (Peter D. Smith).
Since school is starting in lots of places, there will be many
people dusting off old terminals during the next few weeks....

.....RSS

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

comp.terminals unofficial FAQ
19-DEC-1991 Modifed Q. 2 (Interesting DEC escape sequences)
		Added d) (printer on/off)
22-NOV-1991 Added Q. 7 (Concept 108 bps rate)
20-NOV-1991 Added Q. 6 (VT125 setups) and changed Q.1 to point to Q.6
 1-NOV-1991 Added Q. 5 (cursor on and off)

1) How do I save my VT100 setups? -- see question 6

2) What are interesting DEC escape sequences?
a) ESC [ ? 5 h   :(white on black) or ESC [ ? 5 l (black on white).
b) ESC [ ? 6 7 l :to make <=] send DEL; ESC[?67h to make it send BackSpace.
c) ESC [ ? 2 5 h :Cursor visible; ESC [ ? 2 5 l   --- Cursor Invisible
d) ESC [ <nnn> i :Printer control, possible <nnn> values are
		  0=print screen 5=turn on printer controller 4=turn off..
		  ?0=print graphics screen ?5=turn on auto-print ?4=turn off..

3) What are the DIP switches for an H19 (or Z19)?
	Switch S402
	    0 cursor is 0=underscore 1=block
	    1 keys 0=will 1=wont click
	    2 lines 0=wont 1=will wrap
	    3 Auto LF on CR is 0=off 1=on
	    4 Auto CR on LF is 0=off 1=on
	    5 Terminal mode is 0=Heath/Zenith 1=Ansi
	    6 keypad 0=normal 1=shifted
	    7 refresh 0=60Hz 1=50Hz
	Switch S401
	    0..3 = Data rate, on of N/A 110 150 300 600 1200 1800 2000
		   2400 3600 4800 7200 9600 N/A N/A N/A such that if all
                   switches are ZERO except switch 0, terminal is 300 bps
	    4 Parity is 0=off 1=on
	    5 Parity is 0=even 1=odd
	    6 Parity is 0=normal 1=stick
	    7 Duplex is 0=half 1=full

From: Joseph Gil <yogi@cs.ubc.ca>
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada

Q: How can an application set the Backarrow (the key at the north east
side of the keyboard which is supposed to erase the previous char.
The icon on it is something like <=] partkey of vt320 to send backspace? DEL?

A: Send ESC[?67l to make <=] send DEL
   Send ESC[?67h to make it send BackSpace.

The following CSH script in unix may turn useful for switching
between the two modes.

	if ($?DEL) then
		stty erase "^?"	
		echo "[?67l"
	else
		stty erase ""
		echo "[?67h"
	endif

5) How do I turn my cursor on and off?
	ESC [ ? 2 5 h   --- Cursor visible
	ESC [ ? 2 5 l   --- Cursor Invisible
    Many "ANSI" terminal implement this, including all DEC VT100 and
    higher, the Kermit terminal emulator, etc, but not all.

6) What are the VT1xx setup items?
    Storing SETUP -- go into SETUP-A mode and press 'S'
    Recalling SETUP -- go into SETUP-A mode and press 'R'
    Resetting to factory default -- go into SETUP-A mode and press 'reset'
    Screen brightness -- go into SETUP-A mode and use up/down arrow keys.

    SETUP B
    Bank 1
	Scroll is 0=jump 1 =smooth
	Auto repeat 0=off 1=on
	Screen background is 0=dark 1=light
	Cursor is 0=underline 1=block

    Bank 2
	Margin Bell is 0=off 1=on
	Key click is 0=off 1=on
	Terminal is a 0=vt52 1=ansi (vt100)
	Auto XON is 0=off 1=on

    Bank 3
	Character set is 0=us 1=uk
	Auto wrap is 0=off 1=on
	Line feed/new line is 0=off 1=on
	Interlace is 0=off 1=on

    Bank 4
	Parity sense is 0=odd 1=even
	Parity is 0=off 1=on
	There are 0=7 1=8 bits/char
	Power supply is 0=60 1=50 hz

    Bank 5
	Reserved = 0
	Aux. Port has 0=7 1=8 bits/char
	Aux port speed is 00=300 01=1200 10=2400 11=9600
	Aux port speed second bit

7. How do I change the data rate of my Concept 108 terminal??
   
    According to the manual...
      3.Display the status line by typing the STAT key.   If the
	terminal is not in Remote mode (Field g), select Remote mode
	by typing the two keys MULT CODE 9.  If the terminal is not in
	Programmer mode (Field h), select Programmer mode by typing
	the two keys MULT CODE U (note - upper case U)
      4.Select the appropriate duplex setting (Field c).  The factory
	default is Half Duplex.  If this setting is correct proceed to
	step 5.  Change the duplex by one of following [sic] two key
	sequences:
		MULT CODE 8 (Full Duplex)
		MULT CODE * (Half Duplex)
	Hint--the following manufacturers are usually Half Duplex ....
	[list of bankrupt manufacturers omitted]
      5.Select the appropriate parity setting (Field e).  The factory
	default is none (no parity bit is sent).  If this is
	correct proceed to step 6.  To change the parity, type one of
	the following three key sequences:
		MULT CODE P Space (none)
		MULT CODE P !     (Even)
		MULT CODE P "     (Odd)
		MULT CODE P #     (Mark)
		MULT CODE P $     (Space)
      6.Select the appropriate Data Rate setting (field b).  The
	factory default setting is 300 bps (bits per second).  If this
 	setting is correct proceed to step 7.  To change the data rate,
	type one of the following three key sequences:
		MULT CODE O Space       50
		MULT CODE O !           75
		MULT CODE O "           110
		MULT CODE O #           135
		MULT CODE O $           150
		MULT CODE O %           300
		MULT CODE O &           600
		MULT CODE O '           1200
		MULT CODE O (           1800
		MULT CODE O )           2000
		MULT CODE O *           2400
		MULT CODE O +           3600
		MULT CODE O ,           4800
		MULT CODE O -           7200
		MULT CODE O .           9600
      7.Select the appropriate stop bit setting (Field d).  The factory
	default setting is two stop bits.  If this is correct proceed
	to step 8.  To change the number of stop bits type one of the
        following four key sequences:
		MULT CODE Space < !     (One stop bit)
		MULT CODE Space < "     (Two stop bits)
	Stop bits are usually set to two for data rates below 300 bits
	per second; any faster speed uses one stop bit.
      8.Once you have achieved communications you can store these
	setting permanently in the terminal by typing the three
	character sequence MULT CODE Space C

(end of FAQ list)

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Additionally, the following files are available for anonymous FTP
from CS.UTK.EDU (128.169.201.1) in /pub/shuford (until the Next
Great Disk Space Crunch)!

 adds_viewpoint_dips.txt
 all-about-sixels.txt
 ansi_pictures.news
 ansi_x3_64.txt
 ascii_table.txt
 comp.terminals.faq
 dec_la50_dips.txt
 ibm_parallel_port.news
 iowa_vt100.news
 joetty_curses.1
 joetty_curses.2
 joetty_curses.3
 msdger.txt
 msvibm.tek
 msvibm.vt
 msvibm.vt.Z
 naplps.news
 private_control.news
 qk-kermit.article
 regis.news
 televideo.news
 televideo.termcap
 televideo_950.chart
 televideo_codes.news
 terminal.news
 tektronix.news
 villanova-vt100-esc-codes.txt
 vt100.demo.Z
 vt100.setup
 vt320_font_edit.vms_shar
 wyse_termcap.news.Z
 xdvorak.tar.Z

-- 
 ....Richard S. Shuford  | "A prudent man sees danger and takes refuge,
 ....shuford@cs.utk.edu  |  but the simple keep going and suffer for it."
 ....BIX: richard        |  Proverbs 22:3 NIV
Newsgroups: comp.terminals