From owner-freebsd-questions Thu May 18 6:44:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (Postfix) with ESMTP id A192F37B6BE for ; Thu, 18 May 2000 06:44:04 -0700 (PDT) (envelope-from niklass@ifi.uio.no) Received: from abbadis.ifi.uio.no (root@abbadis.ifi.uio.no [129.240.66.71]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id PAA12948 for ; Thu, 18 May 2000 15:44:03 +0200 (MET DST) Received: from localhost (niklass@localhost) by abbadis.ifi.uio.no ; Thu, 18 May 2000 15:44:03 +0200 Date: Thu, 18 May 2000 15:44:02 +0200 (MEST) From: Niklas Johannes Saers To: freebsd-questions@freebsd.org Subject: tip or cu? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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