Thread (15 messages) flat view 15 messages, 9 authors, 2016-06-15

Re: Make "git clone" less of a deathly quiet experience

From: Alex Riesen <hidden>
Date: 2016-06-15 22:42:18

Petr Baudis, Sat, Feb 11, 2006 14:33:40 +0100:
quoted
It probably should default to quiet if (!isatty(1)).
isatty(2) or something, 1 is in practice always a ref generator. Perhaps
it would be better not to clutter stderr, though; what about directly
opening /dev/tty? Does Cygwin support that?
It can't. Windows has no terminals (as in "none at all"). It has a
Console, which is a special kind of window attached to an application
and where the unbuffered stdout and stderr are magically redirected.

A test for is stdout/err is a tty can only check if the process has
the console attached, and an attempt to open it for writing will
probably just create the thing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help