Xref: utzoo comp.unix.programmer:483 comp.unix.misc:549 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!batcomputer!jeff From: jeff@theory.tn.cornell.edu (Jeff Miller) Newsgroups: comp.unix.programmer,comp.unix.misc Subject: Setting RS232 port to 8 bits on Tektronix 4301 (mod 4.2 BSD) Message-ID: <1990Nov14.214019.25745@batcomputer.tn.cornell.edu> Date: 14 Nov 90 21:40:19 GMT Sender: jeff@batcomputer.tn.cornell.edu (Jeff Miller) Organization: Cornell Theory Center Lines: 14 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.