From owner-freebsd-questions Sat Aug 2 10:50:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA03513 for questions-outgoing; Sat, 2 Aug 1997 10:50:15 -0700 (PDT) Received: from mail.mexcom.net (mail.mexcom.net [206.103.64.97]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA03506 for ; Sat, 2 Aug 1997 10:50:09 -0700 (PDT) Received: from rafa.nix.mexcom.net (rafa.nix.mexcom.net [206.103.64.101]) by mail.mexcom.net (8.8.5/8.8.5) with SMTP id MAA14570 for ; Sat, 2 Aug 1997 12:49:47 -0500 (CDT) Message-ID: <33E32CE8.167EB0E7@mexcom.net> Date: Sat, 02 Aug 1997 07:49:44 -0500 From: "Rafael A. Reta Rodriguez" Organization: rafareta@mexcom.net X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: cu shell Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I am having problems with this shell using cu. cu -l cuaa1 -s 115200 << %% atdt 9,123456 ~+ envia.sh %% where envia.sh is a shel that waits for a connect line and ten it sends a file via lsz. read ; lsz //ymodem /tmp/myfile.txt When I do this manualy without the here document (<< %%) it woks, but I need this automaticly. Any help is wellcome. RafaReta. -- Rafael A. Reta Rodriguez.