[ECOS] Help: How to get Keyboard input in synthetic environmet?

Andrew Lunn andrew.lunn@ascom.ch
Thu Mar 20 08:10:00 GMT 2003

1On Thu, Mar 20, 2003 at 01:51:06PM +0800, Zhangzheng wrote:
> Hi, everyone:
>      I need your helps on eCos synthtic console.
>      I am trying to port an application about Command Line Interface to the eCos synthetic
> environment in RH8.0. Now I can drive the ethernet and output messages to the console.
>      But from the documentation I know that the console only support the output now, and I
> didn't find any TCL files that support keyboard input.
>      Would you tell me how can I get the keyboard input from synthetic(except the telnet)?

What you need to do is write a synthetic serial driver. You can then
bind this to either a real serial port on your host, or to a pty. You
can then use a terminal emulator to give you a console.


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