From owner-freebsd-hackers Mon Jul 26 13:49:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id D6BC91512F for ; Mon, 26 Jul 1999 13:49:47 -0700 (PDT) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Mon, 26 Jul 1999 21:49:47 +0100 Received: from voodoo.pandhm.co.uk (VOODOO [10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id PJ2VDV9W; Mon, 26 Jul 1999 21:49:46 +0100 Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1) id 118rgp-0004R4-00; Mon, 26 Jul 1999 21:49:39 +0100 Date: Mon, 26 Jul 1999 21:49:39 +0100 To: Krzysztof Krawczyk Cc: freebsd-hackers@freebsd.org Subject: Re: Pasting data between terminals Message-Id: <19990726214939.B16979@voodoo.pandhm.co.uk> References: MIME-Version: 1.0 X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Krzysztof Krawczyk on Mon, Jul 26, 1999 at 08:01:22PM +0200 From: Dominic Mitchell Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 26, 1999 at 08:01:22PM +0200, Krzysztof Krawczyk wrote: > Maybe this is a wrong list, so tell me about it, but I think you can help > me :) > > I have small problem. I own two virtual terminals, eg. ttyp1 and ttyp2. > Under ttyp1 I run a program. Now I need to transport big count of datas > from terminal ttyp2 to ttyp1. > When I do: > echo "blah blah" >>/dev/ttyp1 > text "blah blah" appear in virtual terminal ttyp1, but only as a text of > "message". I need ttyp1 count those datas as a "command typed by hand", > not just a text displayed in this term as info. I must transport lots of > data between these terminals. Have you any ideas? 1) Try freebsd-questions in future. 2) Try expect. See http://expect.nist.gov/ . -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator In Mountain View did Larry Wall Sedately launch a quiet plea: That DOS, the ancient system, shall On boxes pleasureless to all Run Perl though lack they C. -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message