On Mon, 9 Apr 2012, Stuart Henderson wrote:

On 2012-04-08, edasky <[email protected]> wrote:
hello misc @

For many years under Linux I used http://sjinn.sourceforge.net/
to control the relay card, such as

rs232 -d /dev/ttyUSB1-s'\h 2A 61 00 06 88 01 20 87 3E \r" -r8 -hex

Now I need to achieve the same result under OpenBSD (5.0)

the sjinn project compiles with an error, and is broken
(And dead)

...
...
rs232opts.o (. text +0 x926): In function `setstr ':
: Warning: strcpy () Almost always with the general procedure, please use
strlcpy ()
...
...

This is a warning, not an error, it should still have produced the
program.



Those warnings are quite common.

I use /dev/ttyU0 with Fldigi to drive my Icom ham rig, no problems. The code was written for Linux, no change other than the device name for OpenBSD 5.0.

  Alan, AB1JX

Reply via email to