[ECOS] Modifying the behavior of scanf, gets, etc

Andrew Lunn andrew.lunn@ascom.ch
Fri Jun 6 08:05:00 GMT 2003


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



More information about the Ecos-discuss mailing list