[Mono-list] Console.ReadKey() => no spezial chars on Linux

Chris Howie cdhowie at gmail.com
Thu Feb 19 17:30:39 EST 2009

On Thu, Feb 19, 2009 at 5:27 PM, Paebbels <Paebbels at gmail.com> wrote:
> How can I do this?

Make a table of the escape sequences and match them.  :)

> Are you sure thats a mono problem and not linux, environment or shell based?

When you strike the home key, whether in a GUI terminal or a VT, ESC
"OH" is exactly what gets sent to the stdin file handle.  This is
documented, expected behavior on Linux.  It is not a problem, it's
just different behavior.

If you think Mono should abstract this behavior then file a bug.

> Have you any expericenes with GetLine.cs from Miguel de Icaza or any
> knowledge about the new Mono.Terminal namespace? I have read of an Editor
> class, but there is no documentation.

I have not used it, but others may have.

Chris Howie

More information about the Mono-list mailing list