Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 1999 21:49:39 +0100
From:      Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
To:        Krzysztof Krawczyk <cys@denied.cx>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Pasting data between terminals
Message-ID:  <19990726214939.B16979@voodoo.pandhm.co.uk>
In-Reply-To: <Pine.BSF.4.05.9907261936010.55805-100000@tepsa.lame.pl>; from Krzysztof Krawczyk on Mon, Jul 26, 1999 at 08:01:22PM %2B0200
References:  <Pine.BSF.4.05.9907261936010.55805-100000@tepsa.lame.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990726214939.B16979>