This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /dev/tty does not work from shell
- From: Helmut Karlowski <helmut dot karlowski at ish dot de>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Feb 2015 11:36:20 +0100
- Subject: Re: /dev/tty does not work from shell
- Authentication-results: sourceware.org; auth=none
- References: <1598899839 dot 20150209072327 at yandex dot ru> <54D8741A dot 5020805 at towo dot net>
--------------------------------------------------
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