Thread View: comp.unix.programmer
2 messages
2 total messages
Started by Jeff Miller
Wed, 14 Nov 1990 21:40
Setting RS232 port to 8 bits on Tektronix 4301 (mod 4.2 BSD)
Author: Jeff Miller
Date: Wed, 14 Nov 1990 21:40
Date: Wed, 14 Nov 1990 21:40
14 lines
1364 bytes
1364 bytes
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.
Re: Setting RS232 port to 8 bits on Tektronix 4301 (mod 4.2 BSD)
Author: David Burren [Athos]
Date: Thu, 15 Nov 1990 15:45
Date: Thu, 15 Nov 1990 15:45
22 lines
1885 bytes
1885 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads