This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /dev/tty does not work from shell


--------------------------------------------------
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]