Setting up a real DEC VT100 terminal

 //////////////////////////////////////////////////////////////////////////////

Newsgroups: comp.terminals
Lines: 63
Message-ID: <29245@nntpd.lkg.dec.com>
Organization: DEC -- Video, Image and Printer Systems Group
Date: 25 Oct 1991 02:02:07 GMT
From: sherwin@royalt.enet.dec.com (Jim Sherwin)
Subject: Re: VT100 (DEC) Setup Problem (online/offline)


	Striking the SET-UP key places you into SET-UP A mode.  SET-UP A is
	basically your tab stops.  Use the space bar to move along the ruler
	and strike the T key at the desired tab stop location.

	SET-UP B may only be entered from SET-UP A and is done be striking
	the 5 on the main keyboard (i.e. top-row).

	To exit SET-UP B strike the SET-UP key.

	The SET-UP parameters are as follows:


  	Bank	Position   Parameters
  
  	1	1	   Scroll;        0=jump;       1=smooth
  	1	2	   Autorepeat;    0=off;        1=on
  	1	3	   Screen;        0=dark;       1=light
  	1	4	   Cursor;        0=underline;  1=block
  
  	2	1	   Margin Bell;   0=off;        1=on
  	2	2	   Keyclick;      0=off;        1=on
  	2	3	   ANSI/VT52;     0=VT52;       1=ANSI
  	2	4	   Auto XON/XOFF; 0=off;        1=on
  
  	3	1	   Pound Sign;    0=octothorpe; 1=British Pound
  	3	2	   Wrap Around;   0=off;        1=on
  	3	3	   New Line;      0=off;        1=on
  	3	4	   Interlace;     0=off;        1=on
  
  	4	1	   Parity Sense;  0=odd;        1=even
  	4	2	   Parity;        0=off;        1=on
  	4	3	   Bits per Char; 0=7 bits;     1=8 bits
  	4	4	   Power;         0=60 Hz;      1=50 Hz

	While in SET-UP B mode, these features are set by positioning the
	cursor above the feature switch, using the spacebar, and striking
	the 6 key on the main keyboard.

	To set the ANSWERBACK MESSAGE, enter SET-UP B and strike the SHIFT
	and A keys simultaneously.  The terminal will respond with A = on
	the screen.  Type a message delimiter character which may be any
	chaacter not used in the actual message.  Type the ANSWERBACK
	MESSAGE, up to 20 characters.  Type the message delimiter
	character.  The message will disappear from the screen.  You may
	not edit an ANSWERBACK MESSAGE.  You may only supercede it with a
	new ANSWERBACK MESSAGE.

	To save the SET-UP, strike the SHIFT and S keys simultaneously,
	while in SET-UP mode.

	I hope this helps.

	Jim


 <>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>
 <> "When things are going well,   \    Jim Sherwin a.k.a.                  <>
 <>  someone will inevitably        \   sherwin@royalt.enet.dec.com         <>
 <>  experiment detrimentally."      \  !decwrl!royalt.enet.dec.com!sherwin <>
 <>               Boyle's Second Law  \ sherwin%royalt.enet@decwrl.dec.com  <>
 <>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>


 //////////////////////////////////////////////////////////////////////////////


Newsgroups: comp.dcom.modems,alt.bbs
Path: utkcs2!darwin.sura.net!jvnc.net!yale.edu!think.com!news.bbn.com!news.bbn.com!news
NNTP-Posting-Host: bbn.com
Lines: 82
Message-ID: <l5s9bpINNqdt@news.bbn.com>
References: <1992Jul8.204233.13120@csusac.csus.edu> <1992Jul9.053233.11670@f109f.mil.se>
Date: 11 Jul 1992 00:04:09 GMT
From: Paul Placeway <pplacewa@bbn.com>
Subject: Re: Detecting ANSI on a remote system

nils@f109f.mil.se (Nils Hammar) writes:

< emamid@athena.ecs.csus.edu (David Emami) writes:


< >I am currently writing a communications app using TurboVision; I've got a
< >view that can display ANSI, but how do I let the system that I hook up with
< >that I can use ANSI codes. Most BBS's that I've tried respond with "ANSI
< >detected" or "ANSI not detected" when I login using a commercial term
< >program, based on the emulation I'm using. I presume that the BBS sends a
< >string which I need to respond to in a certain way; what should my program
< >be looking for, and how should it answer? Any help would be appreciated.

< What I have been using is the function that reports the cursor position.
< If you get an answer on that request that is correct, it's ANSI, or a VT100
< compatible terminal. To determine if it's a VT100 or similar, you will have
< to send a second request that's only recognized by the VT100 or
< similar terminals. That request will result in an answer that tells you
< almost everything that you need to know about the terminal.
< If this secondary request doesn't give you any response, then it's only
< ANSI. This is a really nice way to find out if you can send high resolution
< graphics to the caller too. What a surprise to get a hig resolution
< picture on the screen when you are calling an ordinary BBS!

The ANSI Device Status Report (DSR) is

	ESC [ <n> n

where <n> is 5 for a status report (OK reply is "ESC [ 0 n"), and 6
for report cursor position (reply is "ESC [ <row> ; <col> R").

ANSI (and DEC) Send Device Attributes is

	ESC [ <n> c

where <n> is a number, in ASCII 0-9, and usually is 0 for the request.

Here are a (small) selection of replies:

	what			reply			comments
	----			-----			-----------
	xterm			ESC[?1;2c		VT100 w/AVO
	MacKermit		ESC[?1;2c
	VT102			ESC[?6c
	VT320			ESC[63;1;2;8;9c

(These are from vttest, by Per Lindberg)

	vanilla VT100			ESC[?1;0c	no options
	VT100 with STP			ESC[?1;1c
	VT100 with AVO			ESC[?1;2c	could be a VT102
	VT100 with STP and AVO		ESC[?1;3c
	VT100 with GPO			ESC[?1;4c
	VT100 with STP and GPO		ESC[?1;5c
	VT100 with AVO and GPO		ESC[?1;6c
	VT100 with STP, AVO and GPO	ESC[?1;7c
	VT100 with PP and AVO		ESC[?1;11c
	VT100 with PP, GPO and AVO	ESC[?1;15c
	VT132 with AVO			ESC[?4;2c
	VT132 with AVO and STP		ESC[?4;3c
	VT132 with GPO and AVO		ESC[?4;6c
	VT132 with GPO, AVO, and STP	ESC[?4;7c
	VT132 with PP and AVO		ESC[?4;11c
	VT132 with PP, GPO and AVO	ESC[?4;15c
	VT131				ESC[?7c
	VT125				ESC[?12;5c   VT125 also has ROM version
	VT125 with AVO			ESC[?12;7c   number, so this won't work
	VK100 (GIGI)			ESC[?5;0c
	VK100 (GIGI)			ESC[?5c

	DXterm (DEC's version of xterm)	ESC[?63;1;3;4;6;8;9;15;16;29c

< For this reason, I once wrote a program that convert PCX pictures
< to DEC Sixel Graphics. It was interesting to view those pictures
< on the screen with MS-KERMIT (which supports Sixel Graphics in colour.)
< The only disadvantage was that Sixel graphics is bitmapped and slow.

This is cute, but one needs to be careful about assuming what a
terminal emulator will do based on what it claims to be.  There are a
lot of mediocre "emulations" out there.  This is partially because the
ANSI spec allows the terminal to do a lot of weird and unexpected
things, like embedding simple control characters in the middle of an
escape sequence.  ("foo ^H^[^H[^H4^HCbar" should render as "foo bar".
Yuck.)

		-- Paul Placeway <pplacewa@bbn.com>

 //////////////////////////////////////////////////////////////////////////////


From cssun.mathcs.emory.edu!swrinde!elroy.jpl.nasa.gov!usc!math.ohio-state.edu
     !hobbes.physics.uiowa.edu!newsrelay.iastate.edu!news.iastate.edu
     !not-for-mail Fri Oct 27 11:47:31 EDT 1995
Newsgroups: comp.terminals
Path: cs.utk.edu!cssun.mathcs.emory.edu!swrinde!elroy.jpl.nasa.gov!usc
      !math.ohio-state.edu!hobbes.physics.uiowa.edu!newsrelay.iastate.edu
      !news.iastate.edu!not-for-mail
Message-ID: <46na44$5vr@news.iastate.edu>
References: <461rra$t6u@news.azstarnet.com>
NNTP-Posting-Host: cumquat.cs.iastate.edu
Lines: 65
Organization: Iowa State University, Ames, IA, USA
Date: 26 Oct 1995 06:33:40 GMT
From: set@cs.iastate.edu (Set)
Subject: Re: Success!! (was Re: serial flow control) [what the vt102 bits are]

In article <461rra$t6u@news.azstarnet.com>,
Nathan  Hendler <equant@azstarnet.com> wrote:
>
> It seems that my problem with the VT102 has ended.  Xon Xoff was the
> answer.  My stty is set to ixon -ixoff.  I used at&k4 for my modem to
> turn on Xon/Xoff (not transparent xon/xoff).  I'm sure that there is
> a way to turn on hardware flow control, but being that there are 3
> banks of 4 binary settings that I don't know, it's no supprise that
> I didn't figure it out.
>
> If anyone knows what the last 3 banks in setup b are for, please let
> me know.  Also, I highly recomend buying a VT102 if you see one for
> $10.  It's what I did, and it's quite a deal.  Almost as good as the
> Televideo I found for $1.25
>
> Nathan Hendler

	This is off the bank of my vt102 keyboard....relating to setup B

bank1
scroll	0jump 1smooth
auto repeat 	0off 1on
screen 0dark 1light
cursor 0underline 1block

bank2
bell 0off 1on
keyclick 0off 1on
ansi/vt52 0vt52 1ansi
auto xon/xoff 0off 1on

bank3
us/uk char 0us 1uk
autowrap 0off 1on
line feed/new line 0off 1on
local echo 0off 1on

bank4
print term.char 0none 1ff
print extent 0scroll reg 1full screen
stop bits 0(1bit) 1(2bits)
recieve parity 0ignore 1check

bank5
break enable 0off 1on
disconnect char enable 0off 1on
disc delay 0uk 1other
auto answerback 0off 1on

bank6
initial dir 0RCV 1XMT
auto turnaround 0manual 1auto
res (0)
res (0)

bank7
power 060hz 150hz
wpsterm 0off 1on
clock (1)
res (0)

-- 
Paul
set@CS.iastate.edu


 //////////////////////////////////////////////////////////////////////////////

NNTP-Posting-Host: 24.15.149.110
NNTP-Posting-Date: Sat, 29 Sep 2007 16:33:55 -0500
References: <1190414803.639079.4580@w3g2000hsg.googlegroups.com>
    <46F5DB06.7843F05A@spam.comcast.net>
    <slrnffc75d.lhh.stanb45@citadel.metropolis.local>
    <1190979508.742728.263330@w3g2000hsg.googlegroups.com>
Message-ID: <46FEC4C1.F9E25CD5@spam.comcast.net>
Date: Sat, 29 Sep 2007 16:33:53 -0500
From: David J Dachtera <djesys.no@spam.comcast.net>
Subject: Re: incredulous -- VT100 "doesn't work with UNIX?"

wm.s.armstrong@gmail.com wrote:
>
> [snip]
> Thanks for the affirmation, gents!  The terminal in question is on its
> way to me!

NOW...

If you've never owned a |D|I|G|I|T|A|L| VT100 before, beware:

The power-on operation does a "destructive" read of the ROM-based firmware.
After so many power-ups, the ROM becomes unreadable. This was a design issue at
the time -- the technology to fix it did not evolve until the VT200 series.

Once you power it up, plan on leaving it on until the next power outage, and
then hope you have a generator and a UPS with enough lifetime to carry over
until the generator starts up and the transfer switch kicks in.

On the UNIX thing, VT100s go back to long before VMS (RSX, RSTS, RT-11, etc.).

--
David J Dachtera
dba DJE Systems
http://www.djesys.com/

Unofficial OpenVMS Marketing Home Page
http://www.djesys.com/vms/market/

Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/

Unofficial OpenVMS-IA32 Home Page:
http://www.djesys.com/vms/ia32/

Unofficial OpenVMS Hobbyist Support Page:
http://www.djesys.com/vms/support/

 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

Newsgroups: comp.terminals
References: <1190414803.639079.4580@w3g2000hsg.googlegroups.com>
    <46F5DB06.7843F05A@spam.comcast.net>
    <slrnffc75d.lhh.stanb45@citadel.metropolis.local>
    <1190979508.742728.263330@w3g2000hsg.googlegroups.com>
    <46FEC4C1.F9E25CD5@spam.comcast.net>
Message-ID: <13ftmga4fitup8a@corp.supernews.com>
Date: Sat, 29 Sep 2007 23:04:42 -0000
From: Thomas Dickey <dickey@saltmine.radix.net>
Subject: Re: incredulous -- VT100 "doesn't work with UNIX?"

David J Dachtera <djesys.no@spam.comcast.net> wrote:
>
> On the UNIX thing, VT100s go back to long before VMS (RSX, RSTS, RT-11, etc.).


1976 (VT100) versus VMS (1978).
Not so long from a 30-year perspective.


-- 
Thomas E. Dickey
http://invisible-island.net/
 ftp://invisible-island.net/


 //////////////////////////////////////////////////////////////////////////////
