Simple Serial Port Communications?

Simple Serial Port Communications?

Post by Jeremy G. Merenes » Sun, 21 Feb 1993 06:22:08

I need to write a quick and dirty program that sends characters from one
workstation to another through modems. I have never made a program that had
to use the two serial ports in the back of this box. It may be really
simple, but I haven't found any clues in my manuals.

How does one set paramters like parity, speed, etc. and then send
characters either serial port A or B on the back of a sparc? What would be a
quick and dirty way of reading characters coming in through a serial port
and displaying them on a terminal?

I remember once having to modify /etc/ttyio in order to activate a serial
port for connection to a terminal. Is that necessary in this instance?

Thanks in Advance!

|Jeremy Mereness                 | Support    | Ye Olde Disclaimer:     |

|FAST Project, CMU-GSIA          |------------|  Ya Gotta Love It.      |
| B.S. Mech Eng. CMU,1992|Certificate Mixology,1992|'83 Yamaha 650 Twin |
              This year marks 200 years of the Bill Of Rights.


1. How to set up serial port when programming serial communication

I am in the project that uses serial communication between SUN(solaris 2.4)
and Windows 95.
I use the sample program in the Stevens' Advanced Programming
in the UNIX Environment.
How to set up a serial port in this situation?

Thanks in advance.

2. Configuring linux & cable modem

3. remote file open

4. Linux serial port communication - Need help!!!!!!!!!

5. file removal problem solved.

6. Serial Port Communication

7. crontab enrty

8. Linux serial port communication

9. Serial port communication - Need help!!!

10. Help with Serial port Communications on DSR/DTR lines

11. Newbie Q: Serial port communication with 'cu'