[comp.sys.apollo] SIO Handshaking and TCTL

ferguson@garnet.bucknell.EDU ("Scott R. Ferguson") (12/17/88)

I am working on a serial line transfer program which essentially
reads a character, puts a character, etc. I am having a problem
with the terminal control parameters.

Using emt, I can see the data on the screen, and I noticed the following:

        With TCTL set to -default, the node should be sending ctrl-s and ctrl-q,
        right? However, the node doesn't, and in emt I can manually send ctrl-s
        to stop the data from coming, and ctrl-q to restart the data. Because of
        this, I get continuous character framing errors.

What are the TCTL settings which allow the computer to automatically handshake?
It seems according to the tctl help file that the default setting (-sync) should
take care of it, but it doesn't.

Thanks to anyone who can help.
Scott Ferguson
ferguson@apollo.bucknell.edu

shull@SCROLLS.WHARTON.UPENN.EDU (Christopher E. Shull) (01/05/89)

On Fri, 16 Dec 88 11:17:36 est, Scott R. Ferguson,
<ferguson%garnet.bucknell.edu@CUNYVM.CUNY.EDU>, asks in
message <8812161617.AA01187@apollo.bucknell.edu>:

>I am working on a serial line transfer program which essentially
>reads a character, puts a character, etc. I am having a problem
>with the terminal control parameters.
>
>Using emt, I can see the data on the screen, and I noticed the following:
>
>    With TCTL set to -default, the node should be sending ctrl-s and ctrl-q,
>    right? However, the node doesn't, and in emt I can manually send ctrl-s
>    to stop the data from coming, and ctrl-q to restart the data. Because of
>    this, I get continuous character framing errors.
>
>What are the TCTL settings which allow the computer to automatically
>handshake?  It seems according to the tctl help file that the default
>setting (-sync) should take care of it, but it doesn't.
>

I'm not sure if this will help or not, but here are the files we used to
use at Wharton to talk to our VMS VAXen (before Ethernet & TCP/IP):

/wharton.dir/vax/vax

/com/vt100 /com/sh /wharton.dir/vax/vax.cmds



/wharton.dir/vax/vax.cmds

vsize
vctl -default
args " "
args " After logging in, 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



/wharton.dir/vax/vax.args

# change SIO line numbers here if necessary
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


Good Luck!

-Chris

Christopher E. Shull              
Decision Sciences Department                                             
The Wharton School                      shull@wharton.upenn.edu
University of Pennsylvania              shull@scrolls.wharton.upenn.edu
Philadelphia, PA  19104-6366            215/898-5930
---------------------------------------------------------------------------
"Damn the torpedoes!  Full speed ahead!"  Admiral Farragut, USN, 1801-1870
---------------------------------------------------------------------------