From: John Cowan <xxxxxx@ccil.org>
Date: Thursday, August 15, 2019 12:11 PM

On Thu, Aug 15, 2019 at 12:38 PM <xxxxxx@ancell-ent.com> wrote:

[...]
 
So with-rare-mode should get the min and time arguments like with-raw-mode.

I looked it up this time instead of shooting from the hip.  Rare (cbreak) mode is precisely -ICANON -ECHO VMIN=1 VTIME=0, so read-char will hang until a character is available and then return it.  That's why no min/time arguments are needed.  You can of course call read-line or any other read-* in rare or raw mode, but it will chew up a lot of CPU going into and out of kernel mode for every character.

Could you look up the rest so I know what you intend for (with-raw-mode port min time thunk), (without-interrupt-chars port thunk), and (without-echo port thunk)?

- Harold