[comp.unix.programmer] Setting RS232 port to 8 bits on Tektronix 4301

jeff@theory.tn.cornell.edu (Jeff Miller) (11/15/90)

Here is my problem:
	I am trying to control a digital disk recorder remotely by sending
it commands through its RS232 port.  I want to use a Tektronix 4301 computer
which is using a Tektronix modified version of 4.2 BSD to send the control
messeges.  Using a VT340 terminal I have sent commands to the recorder 
through the RS232 successfully, using 8 bit, even parity mode.  However,
the Tektronix is sending out 7 bit bytes.  I have been researching ioctl
commands to change the port to sending 8 bits, but have not had any luck.
The port I am trying to use will be exclusively for interfacing with the
recorder, so I can modify anything about it.  I am looking for any advice
as to how I can change this port to 8 bits, whether in unix shells, changing
device characteristics, or C programms.  

Please e-mail responses to jeff@theory.tn.cornell.edu.  Thanks.

s872007@otto.bf.rmit.oz.au (David Burren [Athos]) (11/15/90)

In <1990Nov14.214019.25745@batcomputer.tn.cornell.edu> jeff@theory.tn.cornell.edu (Jeff Miller) writes:

>Using a VT340 terminal I have sent commands to the recorder 
>through the RS232 successfully, using 8 bit, even parity mode.  However,
>the Tektronix is sending out 7 bit bytes.  I have been researching ioctl
>commands to change the port to sending 8 bits, but have not had any luck.

>Please e-mail responses to jeff@theory.tn.cornell.edu.  Thanks.

I'd be interested to see any responses summarized to the net, as I've recently
hit the same problem.
Some Motorola radio equipment I have to interface to uses 8 data bits and
even parity, and I could not convince my Sony 1750 to talk to it.
In the system installation the Motorola equipment will be connected via a
Xylogics Annex, and I've managed to get the Annex to talk 8E1, so my problem
is solved for now.
But as far as I could see there was no way to get the Sony (it's Unix is what
I'd call a Sony port of 4.3BSD-Tahoe) to talk 8E1.  8N1 or 7E1 yes, 8E1 no.
_______________________________________________________________________
David Burren (Wookie Athos)	      Work:   david@bacchus.esa.oz.au
Software Development Engineer	      Home:   athos%eyrie@labtam.oz.au
Expert Solutions Australia	      School: s872007@otto.rmit.oz.au