Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2008 13:01:50 -0600
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data? 
Message-ID:  <200802141901.m1EJ1oxh095809@m.it.okstate.edu>

next in thread | raw e-mail | index | archive | help
Warren Block writes:
> Depending on the switch, you may find that the /usr/ports/comms utilities
> atslog or cdr_read will do the work for you.

Derek Ragona writes:
>You still need to handle when the cord is unplugged, or put the server in a 
>secure location away from other people.

>If you want the program to be more capable of staying running you can have 
>the program fork a child and if the child dies, fork a new child.  This is 
>the method used for many running services.  Just be sure if the child dies 
>the log file is closed and that same file is opened by the new child.

	Excellent ideas from both! Thank you.

Martin McCormick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802141901.m1EJ1oxh095809>