From owner-freebsd-questions Sun Oct 4 18:04:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29539 for freebsd-questions-outgoing; Sun, 4 Oct 1998 18:04:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mixer.visi.com (mixer.visi.com [209.98.98.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29504 for ; Sun, 4 Oct 1998 18:04:07 -0700 (PDT) (envelope-from ekholm@visi.com) Received: from isis.visi.com (ekholm@isis.visi.com [209.98.98.8]) by mixer.visi.com (8.8.8/8.7.5) with ESMTP id UAA20615 for ; Sun, 4 Oct 1998 20:03:41 -0500 (CDT) Posted-Date: Sun, 4 Oct 1998 20:03:41 -0500 (CDT) Received: from localhost (ekholm@localhost) by isis.visi.com (8.8.8/8.8.8) with SMTP id UAA25709 for ; Sun, 4 Oct 1998 20:03:39 -0500 (CDT) X-Authentication-Warning: isis.visi.com: ekholm owned process doing -bs Date: Sun, 4 Oct 1998 20:03:39 -0500 (CDT) From: Mike Ekholm To: freebsd-questions@FreeBSD.ORG Subject: talk to cuaa0 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 I am trying to get a UPS monitoring system going, and in order to do this, I need to send "s" to /dev/cuaa0 set at 1200bps and log the output to a file. I am trying to get this done with cron, but I have not been able to find a non interactive way of doing this. Everything I have tried requires some user input. I am thinking kermit, but so far once I do "connect" the script stops working. any ideas anyone? thanks, -Mike -- ekholm@nospam.visi.com | http://www.visi.com/~ekholm | quake:Nalez ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nospam is valid, filter provided by my isp http://www.visi.com Check my all new home page at http://www.visi.com/~ekholm/ Unix is user-friendly, not beginner-friendly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message