Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx 10 Sep 2020 19:23 UTC
Responding to the one question I can immediately answer:
> From: "Marc Nieper-Wißkirchen" <xxxxxx@nieper-wisskirchen.de>
> Date: Thursday, September 10, 2020 2:07 PM
>
> [...]
>
> PS How can I find out whether (current-input-port) or
> (current-output-port) is a terminal?
Ummm, and copying from a REPL just to be sure:
> (terminal? (port-internal-fd (current-input-port)))
#t
port-internal-fd returns a FDO. terminal? can accept a FDO.
- Harold