This is the mail archive of the ecos-discuss@sourceware.org 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: Re: Problems with tcgetattr()


On Fri, Aug 18, 2006 at 10:20:30AM -0400, Andre-John Mas wrote:

> I am trying this on STDIN_FILENO, based on examples I have seen
>  posted on the net. Currently I am connecting via the serial port,
>  but later on it is likely to be via a telnet or ssh connection. I
>  thought STDIN_FILENO was meant to be mapped to the current device?

You are thinking in Unix way, not the eCos way. termio controls only
work on the termios devices and no other devices.

However, there is currently no ssh or telnet daemon for eCos, so when
you implement these things, you can add support for this in however
you implement telnet or ssh.

Also, not there is no concept of a per thread STDIN. It is one STDIN
for the whole system.

    Andrew
 
 
 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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