I have a laptop running RH 7.2, and I'm incoming collecting data off
of the /dev/ttyS0 serial port (or Window's COM1 equivalent).

Presently I'm using minicom along with a capture file to collect the
data.

However, I'd like to do things like change to a new log file every 24
hours, and I'd like to do it automagically.

Using a mechanism like 
    $ cat /dev/ttyS0 >> some_file
makes it easier to rotate logs.

When I've tried it in the past, though, I've gotten garbage.  When I
turned to minicom, I was able to adjust the baud rage, stop bits, and
parity to make things work.

So the question is, how do I make those adjustments so that the cat
method, shown above, will work?  From what I've read, the
    $ stty -F /dev/ttyS0
might be the ticket, but all I know how to adjust is the speed, and
I'm not sure that I'm on the right track anyway.

Alternatively, if someone has any suggestions regarding any ability
minicom might have in the area of automation, that might be helpful.
   === Al



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to