Read from stdin

Mario Haza mhaza at tajin.cice.mx
Fri Mar 13 17:16:21 PST 1998


I know this is not related only to kaffe but maybe some of you can help
me.

I am trying to read only one character from the keyboard (i am using kaffe
0.9.2 on text "console" mode) without hiting return.

I can type many characters but they get read only when i hit return.

What i am looking for is something like the C function getche (on Turbo C
or Borland C).

Thanks in advance.


  Mario "Mago" Haza
  Technical Research / Research Center for Educational Computing
  e-mail: mhaza at tajin.cice.mx
          mhaza at www.dcc.anahuac.mx
  Tel. (5) 627-0210 Ext. 8530 or 8527 (Mexico City)




More information about the kaffe mailing list