From: "Mockern" <Mockern@yandex.ru>
To: linux-os@analogic.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: cat, cp operations for tty driver (like for char one)
Date: Fri, 16 Feb 2007 16:55:51 +0300 (MSK) [thread overview]
Message-ID: <45D5B7E7.000004.26865@webmail19.yandex.ru> (raw)
In-Reply-To: <Pine.LNX.4.61.0702151146400.2062@chaos.analogic.com>
Thanx for your respond.
Does it mean I have to change nothing in my tty driver (based on serial_core.c) to use: cat and cp? No "nonstandard " special functions to implement?
>
>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/
>_
>\x1a\x04
>
>****************************************************************
>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.
next prev parent reply other threads:[~2007-02-16 13:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 15:08 Mockern
2007-02-15 16:50 ` linux-os (Dick Johnson)
2007-02-16 13:55 ` Mockern [this message]
2007-02-16 15:18 ` linux-os (Dick Johnson)
2007-02-16 15:28 ` Mockern
2007-02-16 6:59 Mockern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45D5B7E7.000004.26865@webmail19.yandex.ru \
--to=mockern@yandex.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®