This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Modifying the behavior of scanf, gets, etc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]