ballen@convex.csd.uwm.edu (Bruce Allen) (06/05/91)
Machine: SS2, 4.1.1B I am going to use a Panasonic optical disk recorder to record some video images from my machine. This optical disk recorder takes as input an NTSC signal which will be produced by a VIGRA frame buffer Sbus card. To control its operation (ie record, skip, etc) the recorder has an RS232 interface which inputs and outputs character strings up to 256 characters long. This can be used to control all of its functions. I need to write some code using read(), write(), and ioctl() which reads and writes strings of characters from one of the serial ports. I was wondering if someone could send me a few code fragments that do this sort of thing. I have never written code to control a serial port and the contents of the termio(4) man page are a bit dense. I have thought about looking at the kermit code but then I have the "can't find the forest for the trees" problem. If someone has a couple pages of code fragments, and could e-mail them to me (ballen@dirac.phys.uwm.edu) I would be quite grateful. Thanks, Bruce Allen