(Previous discussion continued)
|
||
Re: Remove file descriptors completely from srfi-170?
Lassi Kortela
(10 Sep 2020 15:55 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Duy Nguyen
(10 Sep 2020 15:59 UTC)
|
||
open-file and fd->*port
Lassi Kortela
(10 Sep 2020 16:05 UTC)
|
||
Re: open-file and fd->*port
Duy Nguyen
(10 Sep 2020 16:15 UTC)
|
||
Re: open-file and fd->*port
Shiro Kawai
(10 Sep 2020 17:33 UTC)
|
||
Re: open-file and fd->*port
Duy Nguyen
(10 Sep 2020 17:40 UTC)
|
||
Re: open-file and fd->*port
John Cowan
(10 Sep 2020 18:18 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(10 Sep 2020 16:29 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(10 Sep 2020 16:33 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Duy Nguyen
(10 Sep 2020 16:42 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Lassi Kortela
(10 Sep 2020 16:57 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Duy Nguyen
(10 Sep 2020 17:08 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Lassi Kortela
(10 Sep 2020 17:21 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Duy Nguyen
(10 Sep 2020 17:34 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(10 Sep 2020 17:37 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(10 Sep 2020 17:36 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Duy Nguyen
(10 Sep 2020 17:50 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
John Cowan
(10 Sep 2020 18:10 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(10 Sep 2020 18:40 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Duy Nguyen
(10 Sep 2020 18:48 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
John Cowan
(10 Sep 2020 18:52 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(10 Sep 2020 19:01 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Lassi Kortela
(10 Sep 2020 19:12 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(10 Sep 2020 19:07 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Lassi Kortela
(10 Sep 2020 19:16 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(10 Sep 2020 19:23 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(10 Sep 2020 19:28 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Shiro Kawai
(10 Sep 2020 19:57 UTC)
|
||
Re: Remove file descriptors completely from srfi-170? Marc Nieper-Wißkirchen (10 Sep 2020 20:02 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Shiro Kawai
(10 Sep 2020 20:13 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
John Cowan
(10 Sep 2020 20:19 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(10 Sep 2020 20:49 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(11 Sep 2020 13:19 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
hga@xxxxxx
(11 Sep 2020 14:03 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(11 Sep 2020 14:56 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
John Cowan
(11 Sep 2020 15:31 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
John Cowan
(10 Sep 2020 20:18 UTC)
|
||
Re: Remove file descriptors completely from srfi-170?
Marc Nieper-Wißkirchen
(11 Sep 2020 13:49 UTC)
|
||
R7RS scope & yearly editions
Lassi Kortela
(11 Sep 2020 14:10 UTC)
|
||
Re: R7RS scope & yearly editions
Marc Nieper-Wißkirchen
(11 Sep 2020 14:22 UTC)
|
||
Re: R7RS scope & yearly editions
Lassi Kortela
(11 Sep 2020 14:26 UTC)
|
||
Re: R7RS scope & yearly editions
hga@xxxxxx
(11 Sep 2020 14:30 UTC)
|
||
Re: R7RS scope & yearly editions
Marc Nieper-Wißkirchen
(11 Sep 2020 14:47 UTC)
|
||
Re: R7RS scope & yearly editions & language interop
Lassi Kortela
(11 Sep 2020 15:20 UTC)
|
||
Re: R7RS scope & yearly editions & language interop
Marc Nieper-Wißkirchen
(11 Sep 2020 15:28 UTC)
|
||
Re: R7RS scope & yearly editions & language interop
John Cowan
(11 Sep 2020 17:11 UTC)
|
||
Language interop
Lassi Kortela
(11 Sep 2020 17:55 UTC)
|
||
Re: Language interop
Marc Nieper-Wißkirchen
(11 Sep 2020 18:04 UTC)
|
||
Re: Language interop
Lassi Kortela
(11 Sep 2020 18:14 UTC)
|
||
Re: Language interop
Marc Nieper-Wißkirchen
(11 Sep 2020 18:28 UTC)
|
||
Re: Language interop
hga@xxxxxx
(11 Sep 2020 18:50 UTC)
|
||
Re: Language interop
Marc Nieper-Wißkirchen
(11 Sep 2020 20:28 UTC)
|
||
Re: Language interop
hga@xxxxxx
(11 Sep 2020 21:00 UTC)
|
||
Re: Language interop
Marc Nieper-Wißkirchen
(12 Sep 2020 07:26 UTC)
|
||
Re: Language interop
Lassi Kortela
(11 Sep 2020 19:17 UTC)
|
||
Re: Language interop
Marc Nieper-Wißkirchen
(11 Sep 2020 20:38 UTC)
|
||
Re: Language interop
John Cowan
(11 Sep 2020 20:50 UTC)
|
||
Re: Language interop
hga@xxxxxx
(11 Sep 2020 18:30 UTC)
|
||
Re: Language interop
John Cowan
(11 Sep 2020 19:45 UTC)
|
||
Re: Language interop
Marc Nieper-Wißkirchen
(11 Sep 2020 20:15 UTC)
|
||
Re: Language interop
John Cowan
(11 Sep 2020 19:42 UTC)
|
||
Re: R7RS scope & yearly editions
hga@xxxxxx
(11 Sep 2020 15:34 UTC)
|
||
Re: R7RS scope & yearly editions
Marc Nieper-Wißkirchen
(11 Sep 2020 15:56 UTC)
|
||
Re: R7RS scope & yearly editions & syntax debates are so 1980
Lassi Kortela
(11 Sep 2020 16:36 UTC)
|
||
Re: R7RS scope & yearly editions & syntax debates are so 1980
John Cowan
(11 Sep 2020 17:02 UTC)
|
||
Interlisp and structural code editing
Lassi Kortela
(11 Sep 2020 17:45 UTC)
|
||
Re: Interlisp and structural code editing
John Cowan
(11 Sep 2020 20:16 UTC)
|
||
Re: R7RS scope & yearly editions
John Cowan
(11 Sep 2020 16:57 UTC)
|
||
Re: R7RS scope & yearly editions
Marc Nieper-Wißkirchen
(11 Sep 2020 17:23 UTC)
|
||
Re: R7RS scope & yearly editions
John Cowan
(11 Sep 2020 20:31 UTC)
|
||
Re: R7RS scope & yearly editions
Arthur A. Gleckler
(12 Sep 2020 17:39 UTC)
|
||
Re: R7RS scope & yearly editions
John Cowan
(11 Sep 2020 16:39 UTC)
|
||
Re: R7RS scope & yearly editions
Marc Nieper-Wißkirchen
(11 Sep 2020 17:01 UTC)
|
||
Re: R7RS scope & yearly editions
Lassi Kortela
(11 Sep 2020 17:15 UTC)
|
Re: Remove file descriptors completely from srfi-170? Marc Nieper-WiÃkirchen 10 Sep 2020 20:02 UTC
Am Do., 10. Sept. 2020 um 21:58 Uhr schrieb Shiro Kawai <xxxxxx@gmail.com>: > > On Thu, Sep 10, 2020 at 9:28 AM Marc Nieper-Wißkirchen <xxxxxx@nieper-wisskirchen.de> wrote: >> >> But if the Scheme implementation does not export any FDOs, >> port-internal-fd won't help. I may have missed it earlier, but why >> doesn't terminal? also work on a port? > > > At this moment, I see terminal? is the same as POSIX isatty(). So if there's no FDO, terminal? can't return #t, I think. > The equivalence of terminal? and isatty() can make differencet, because there's a case that isatty() returns -1 for a "terminal"--MinGW-w64/MSYS2 console uses named pipe to realize POSIX console features. MinGW-w64 isatty() returns -1 for the fd connected to MSYS2 console, since technically it's a pipe, not a console device. > > If we take terminal? as an abstract sense---that it returns #t if the argument is somehow connected to what Scheme runtime thinks a terminal, then it may return #t for the default (current-input-port) running on MSYS2 console, even MSYS2 isatty() returns -1 for its internal fd. If we make this choice, then it makes sense that (termina? port) => #t even if (port-internal-fd port) => #f. > > Well, MINGW/MSYS isn't strictly POSIX, but it'll be nice for srfi-170 to work on it consistently whenever possible. For the application writer who doesn't care about fdos or other POSIX internals, it would be nice to have a more or less reliable way to find out whether the current input/output Scheme port is a terminal, e.g. to decide whether to provide a REPL interface.