From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-serial@vger.kernel.org
Subject: Re: serial port read working but not write.
Date: Wed, 28 Jul 2004 22:08:40 +0200 [thread overview]
Message-ID: <20040728200840.GA13671@lug-owl.de> (raw)
In-Reply-To: <20040728192943.44863.qmail@web8201.mail.in.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
On Wed, 2004-07-28 20:29:43 +0100, suresh shenoy <msureshshenoy@yahoo.co.in>
wrote in message <20040728192943.44863.qmail@web8201.mail.in.yahoo.com>:
> Also does any one have a write program that i could
> use??
Easy: Just configure the port correctly (using stty), then simply use
"echo" or "printf" (right, there's a printf fos shell use) with output
redirection. printf helps you to send binary data.
Oh, I just today learned (the hard way...) that CR and LF may get
mangled at the sender's and/or receiver's side. I think
"-ocrnl -onlcr onocr -onlret -icanon -echo -echoe -echok -echonl"
may be a start against that:)
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-07-28 20:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 23:36 serial port read working but not write suresh shenoy
2004-07-26 7:24 ` Salomon, Frank
2004-07-26 8:12 ` Jan-Benedict Glaw
2004-07-28 19:29 ` suresh shenoy
2004-07-28 20:08 ` Jan-Benedict Glaw [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-24 14:39 suresh shenoy
2004-07-24 15:11 ` Jan-Benedict Glaw
2004-07-24 2:04 Serial " suresh shenoy
2004-07-22 16:48 suresh shenoy
2004-07-22 22:20 ` Lukasz Michal Rak
2004-07-23 8:18 ` Justinas
2004-07-23 9:30 ` Salomon, Frank
2004-07-23 10:02 ` Jan-Benedict Glaw
2004-07-23 12:12 ` Salomon, Frank
2004-07-23 12:41 ` Jan-Benedict Glaw
2004-07-23 12:50 ` Salomon, Frank
2004-07-23 13:14 ` Jan-Benedict Glaw
2004-07-23 13:49 ` Salomon, Frank
2004-07-23 14:16 ` Jan-Benedict Glaw
2004-07-23 9:40 ` Jan-Benedict Glaw
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=20040728200840.GA13671@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=linux-serial@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.