Vojtech Horky wrote:
> But I think that this shall be implemented rather in the console
> server. This server has two interfaces - a file (where it communicates
> with VFS) and a special console interface.
Yup, it's a bug in the console server. Not surprising either. Any interactive 
application in HelenOS *should* use the console_*() interfaces and not read 
stdin. Any application reading stdin is considered non-interactive. Normally 
non-interactive application would read its input from a file. Reading from the 
console works somehow, but needs more work. Currently it's implemented in the 
console server.

> For the file interface (namely VFS_OUT_READ), special characters might
> be skipped while they would be returned via the special console
> interface (namely CONSOLE_GET_EVENT message).
Probably it does not check whether the key event maps to any character.

Tobias wrote:
> ... and maybe I should have thought about this a little bit longer.\
Well it's a good idea to find the root cause of a problem before trying to fix 
it. Otherwise you are curing the symptoms instead of the disease.

Cheers
-Jiri

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to