This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Help: How to get Keyboard input in synthetic environmet?
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Zhangzheng <zzhang at acornsoftcorp dot com>
- Cc: eCos_discuss <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 20 Mar 2003 09:04:50 +0100
- Subject: Re: [ECOS] Help: How to get Keyboard input in synthetic environmet?
- References: <200303192143125.SM00183@Longbow>
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.
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