This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Sun May 12 23:31:48 2024 Delivery-date: Thu, 15 Feb 2007 16:50:53 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966112AbXBOQuW (ORCPT ); Thu, 15 Feb 2007 11:50:22 -0500 Received: from spirit.analogic.com ([204.178.40.4]:1625 "EHLO spirit.analogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966080AbXBOQuV convert rfc822-to-8bit (ORCPT ); Thu, 15 Feb 2007 11:50:21 -0500 Received: from chaos.analogic.com ([10.112.50.11]) by phoenix.analogic.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 15 Feb 2007 11:50:18 -0500 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from chaos.analogic.com (localhost [127.0.0.1]) by chaos.analogic.com (8.12.11/8.12.11) with ESMTP id l1FGoI9f002145; Thu, 15 Feb 2007 11:50:18 -0500 Received: (from linux-os@localhost) by chaos.analogic.com (8.12.11/8.12.11/Submit) id l1FGoHOO002144; Thu, 15 Feb 2007 11:50:17 -0500 X-OriginalArrivalTime: 15 Feb 2007 16:50:18.0118 (UTC) FILETIME=[5F7D8260:01C75121] content-class: urn:content-classes:message Subject: Re: cat, cp operations for tty driver (like for char one) Date: Thu, 15 Feb 2007 11:50:17 -0500 Message-Id: In-Reply-To: <45D47779.000006.08064@webmail16.yandex.ru> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cat, cp operations for tty driver (like for char one) Thread-Index: AcdRIV+mWzYmA7zgQcmlk7qKfM0RDw== References: <45D47779.000006.08064@webmail16.yandex.ru> From: "linux-os \(Dick Johnson\)" To: "Mockern" Cc: Reply-To: "linux-os \(Dick Johnson\)" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Feb 2007, Mockern wrote: > I have a question about linux tty driver > > how to support cp, cat operations in tty driver (like tiny_tty)? > (e.g. echo "hello tty" > /dev/ttyS3, cat < ttyS10 etc) > > There a lot of examples with char drivers, but I could not find it for tty Linux driver. > It works out of the box. Just keep hardware flow-control turned off if there are no receivers connected to the output port. Also, you need to set up the port's baud-rate and (usually) to make it transparent to control characters (man tc-get/set-attr). Cheers, Dick Johnson Penguin : Linux version 2.6.16.24 on an i686 machine (5592.61 BogoMips). New book: http://www.AbominableFirebug.com/ _  **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/