Date: Tue, 4 Feb 1997 10:19:29 +1100 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Troy Curtiss <troyc@sandy.merix.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Two-way pipe possible without C/perl? Message-ID: <Pine.BSF.3.91.970204101827.25849M-100000@panda.hilink.com.au> In-Reply-To: <troyc-9701032246.AA0002700@sandy>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Feb 1997, Troy Curtiss wrote: > Hi, > I am looking for a very quick and dirty way to have my FreeBSD > box page me when certain systems go down at work. The easiest way > I can think of is to create a 2-way pipe between a chat command and > the cu command. Something like: > > chat " '' ATZ OK ATDT1800PAGER# CONNECT 'PIN12345' Sent ATH" <-> > cu -l /dev/cuaa0 -s 300 stty -f /dev/cuaa0 300 chat " '' ATZ OK ATDT1800PAGER# CONNECT 'PIN12345' Sent ATH" \ < /dev/cuaa0 > /dev/cuaa0 cheers, Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970204101827.25849M-100000>