This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Modifying the behavior of scanf, gets, etc
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: "Gunner, Jonathan" <Jonathan dot Gunner at analog dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 6 Jun 2003 10:05:18 +0200
- Subject: Re: [ECOS] Modifying the behavior of scanf, gets, etc
- References: <8FDC0F9BE1F91D44BE964AA54AAA67B604B2EA45@wilmexm3.analog.com>
On Thu, Jun 05, 2003 at 10:28:34AM -0400, Gunner, Jonathan wrote:
> Hi,
>
> I recently took over an eCos project for a PowerPC based board. I am
> using either scanf() or gets() to read input from the serial port. What
> I would like to do is prevent eCos from spitting back all input that it
> sees when using these functions.
Echoing is the proper name for this.
See
http://sources.redhat.com/ecos/docs-2.0/ref/io-tty-driver.html
where it tells you how to disable/enable it.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss