Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 15:44:02 +0200 (MEST)
From:      Niklas Johannes Saers <niklass@ifi.uio.no>
To:        freebsd-questions@freebsd.org
Subject:   tip or cu?
Message-ID:  <Pine.LNX.4.21.0005181539290.10740-100000@abbadis.ifi.uio.no>

next in thread | raw e-mail | index | archive | help
Hi. I wish to do the following:

read everything coming in on /dev/cuaa1 at 115200 baud and log it to file
/var/log/mylog and do this in the background

cat /dev/cuaa1  >> /var/log/mylog &

does not work very well

By setting the line /etc/remote
com2|cua1b:dv=/dev/cuaa1:br#115200:pa=none:

and then doing
tip com2 >> /var/log/mylog &
gives me 
[1]+  Stopped                 tip com2 >>/var/log/mylog


cu -l ''/dev/cuaa1'' -s ''115200'' >> /var/log/mylog &
gives me
cu: Stale lock /var/spool/lock/LCK..cuaa1 held by process 1576 created
2000-05-18 15:42:21

Which also seems not very right, especially since my log then sais:
[1]+  Stopped                 cu -l ''/dev/cuaa1'' -s ''115200''
>>/var/log/mylog



How can I do this?

Sincerely yours

	Niklas Saers



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0005181539290.10740-100000>