<div dir="ltr">Hello!<div><br></div><div>I have been trying to get characters on the console without the need to</div><div>press enter using the |read-char| function.</div><div>The section 17.4.1 of Gambit's manual explains that setting the property</div><div><i>buffering </i>of a port should be enough to get chars without #\newline.</div><div>But I wasn't able to make it work with |current-input-port| or |console-port|.</div><div><br></div><div><font face="monospace">(define (getchar)</font></div><div><font face="monospace">  (port-settings-set! (current-input-port) (list buffering: #f))</font></div><div><font face="monospace">  (let loop ()</font></div><div><font face="monospace">    (write-char (read-char (current-input-port)))</font></div><div><font face="monospace">    (loop)))<br></font></div><div><br></div><div>I have been told that one option is to change my terminal settings to raw mode.</div><div>I have also tried to use <i>telnet</i> and I was able to make it work properly with the</div><div>client on <i>mode character</i>.</div><div><br></div><div>But, as far as I understand, there should be no need of <i>telnet</i> or raw terminal mode.</div><div>What am I missing here?</div><div><br></div><div>Thanks in advance,</div><div>Phil</div></div>