Mikael, you need to change the tty mode :
(tty-mode-set! (repl-input-port) #t #f #t #f 0)
The booleans indicate various settings (ctrl-c handling, input echo, raw input, raw output).
On UNIX, this changes the terminal's line discipline. On Windows, it changes the console mode.
Marc
On 2013-01-02, at 11:59 AM, Mikael mikael.rcv@gmail.com wrote:
Hi,
In using read-char I get results only on a per input line basis. I was trying to switch the input console to byte/character mode instead of line buffered, though I didn't get any result with this.
Any thought or suggestion?
Mikael
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list