[mod.computers.apollo] VT100 emulator

shull@WHARTON-10.ARPA ("CHRISTOPHER E. SHULL") (03/09/87)

In Message-Id: <8703062124.AA29757@teklds.TEK.COM> on 6 Mar 87 21:24:14 GMT,
Harold Trollinger <haroldt%teklds.tek.com@RELAY.CS.NET> asks:

>
>I have been having problems getting my DN3000 to emulate a vt100 through
>the sio1 line.  It appears that command vt100, then emt in raw mode
>>should work but the next line gets just a LF instead of CRLF.  What am I 
>doing wrong?  Is there a different program like emt that is vt100 compatable?
>
>	Thanks
>	Haroldt
>

I include the shell, argument and parameter files that we have been using
here at Wharton since our VAX 8600 came in last summer.  I have indicated
the file names we use, but mess them up as you please:


file /wharton.dir/vax/vax:
-----   cut here   -----
/com/vt100 /com/sh /wharton.dir/vax/vax.cmds
-----   cut here   -----


file /wharton.dir/vax/vax.args:
-----   cut here   -----
# change SIO line numbers here
line 1
# change speed and other line parameters here
tctl -speed 9600 -sync -insync -cvtraw_nl
# VAX/VMS seems to need the following two commands:
interm lf
outterm cr
# set RAW mode and ASCII_ONLY on the next two lines:
raw
asconly
# specify that a session log be kept in ~vax.log:
rcv -r -nokeys ~vax.log

-----   cut here   -----


file /wharton.dir/vax/vax.cmds:
-----   cut here   -----
vsize
vctl -default
args " "
args " After logging in on a VMS system, type:"
args " "
args "  SET TERMINAL /PAGE=#"
args " "
args " where # is the number of lines the vt100 window on the Apollo is."
args " When using this script, this appears at the top of this vt100 window"
args " Failure to change the page length limits the number of lines the VAX"
args " will send to the screen, assuming it is a standard 24 line DEC VT100."
args " "
/com/emt /wharton.dir/vax/vax.args
-----   cut here   -----

file /wharton.dir/vax/vax.install:
-----   cut here   -----
#  
#  This script is used to install the vax?* files on a local (that is,
#  a machine where the vax?* files reside) or a remote node (that is,
#  a machine when the vax?* files are to be referenced across the
#  network).  An option for replicating the vax?* files and directories
#  is not provided.
#       For a local install it takes one argument -- the name of the
#            local disk without the "//"'s.
#       For a remote install, two arguments are required -- the name
#            of the local disk and the name of the remote disk, again
#            without the "//"'s.
#  
#  WARNING:  This script does not trap any errors!!!
#  
#  
if eqs ^2 then
    crl //^1/com/vax     //^1/wharton.dir/vax/vax
else
    crl //^2/wharton.dir //^1/wharton.dir
    crl //^2/com/vax     //^1/wharton.dir/vax/vax
endif
-----   cut here   -----


After cutting and pasting these files back into their filenames, I install
the whole mess onto the local_node (see definition in vax.install) with
the following command:

/wharton.dir/vax/vax.install  local_node_name

and onto a remote_node (again, see definition in vax.install) with the
following command:

/wharton.dir/vax/vax.install  local_node_name  remote_node_name

Best of luck.

If you run into any problems, please feel free to message:

-Chris

Christopher E. Shull
Decision Sciences Department
The Wharton School                      Shull@Wharton-10.ARPA
University of Pennsylvania
Philadelphia, PA  19104-6366            215/898-5930

If it ain't broke, don't fix it!
------