delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/09/05:48:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 DOT karlowski AT ish DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: /dev/tty does not work from shell
In-Reply-To: <54D8741A.5020805@towo.net>
References: <1598899839 DOT 20150209072327 AT yandex DOT ru> <54D8741A DOT 5020805 AT towo DOT 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 AT towo DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019