X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:content-type
	:content-transfer-encoding:in-reply-to:references:date
	:message-id:mime-version; q=dns; s=default; b=Yc5tI7oDcY0Zn2L8gN
	U73uDMVPT4YE1CiS2AiO14xFb427gUd6L6lQYyzwttOEVyOrRcehYhV/ghsdQAFF
	+Lq//eL+tFPFHLmn7mwPmLTtLdgUFAolUQGlyUzRPJP4iBpPH0bMvVEb9WguCL/Q
	3Jf1DRF3rWpedaDkq6OJvs/Ao=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:content-type
	:content-transfer-encoding:in-reply-to:references:date
	:message-id:mime-version; s=default; bh=8QpOBxalybZk/QBjkBppbchu
	V5A=; b=CDAF3l/xjWSKtBgFA4xu859Sp7dsaeUymuUS3fr8GLM+haDep5NkSCFl
	g5ih/7to3dejJoz1PJbN0UkMGoBhPf6gKhx91f9VHz/wIc6PrrkksM9s0P8jFBlr
	OBp7qoYG8lTiyKyg/E29mt439aYX7SAT6Y/JlibU/N6PfpfvARs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mailout.ish.de
X-Spam-Score: -0.01
From: Helmut Karlowski <helmut.karlowski@ish.de>
To: cygwin@cygwin.com
Subject: Re: /dev/tty does not work from shell
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <54D8741A.5020805@towo.net>
References: <1598899839.20150209072327@yandex.ru> <54D8741A.5020805@towo.net>
Date: Mon, 9 Feb 2015 11:36:20 +0100
Message-Id: <20150209113620.F876DF38.helmut.karlowski@ish.de>
MIME-Version: 1.0
X-IsSubscribed: yes


--------------------------------------------------
Thomas Wolff <towo@towo.net> wrote:
(09/02/2015 09:47)

> 
> Am 09.02.2015 um 05:23 schrieb Andrey Repin:
> > Greetings, Thomas Wolff!
> >
> >> echo bla > /dev/tty
> >> bash: /dev/tty: cannot overwrite existing file
> > WJFFM
> >
> > Please be more specific.
> > I.e. terminal type and any other relevant information would help resolving
> > your issue.
> >
> > (Though, I fail to replicate it with both mintty and native terminal.)
> Hmm, I've observed this for a while already on all my cygwin
> installations (64bit/32bit on 64/32bit Windows, ...)
> and in different terminals (mintty, console, ...), so I'd thought it
> would be reproducible. Pondering...

bash prints that message when it has the noclobber-option set. Maybe 
you check it?



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

