From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ekv7A-0002T9-Hh for qemu-devel@nongnu.org; Fri, 09 Dec 2005 22:09:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ekv76-0002Sv-Uo for qemu-devel@nongnu.org; Fri, 09 Dec 2005 22:09:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ekv76-0002Ss-Qk for qemu-devel@nongnu.org; Fri, 09 Dec 2005 22:09:32 -0500 Received: from [65.74.133.11] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Ekv8P-0005p6-5s for qemu-devel@nongnu.org; Fri, 09 Dec 2005 22:10:53 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] fix for pty device output Date: Sat, 10 Dec 2005 03:09:03 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512100309.04343.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: David Decotigny > BTW, I was also looking for a simple program to dial with these pty, a > kind of telnet for ptys... I couldn't find one. Yet, I am pretty sure it > does exist ! Anyway, attached is the homemade and very basic version of > this program (usage: "./termslave /dev/pts/4" for example once qemu is > running). If someone could tell me the name of THE unix-ish program to > do the job, I would be glad to throw mine away. I'd guess minicom. Something like minicom -p /dev/pts/4 If you're wanting to connect the pty to a process rather than a user you can use "getty -Lnl ./mysctipt" IIIUC You should be able to use the slave end of the qemu pty with pretty much anything you'd normally use for talking to a serial port. Paul