This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /dev/tty does not work from shell
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 10 Feb 2015 18:21:52 +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> <20150209113620 dot F876DF38 dot helmut dot karlowski at ish dot de> <54D91AC6 dot 8030101 at towo dot net> <54D91E53 dot 5080907 at redhat dot com> <54DA31C1 dot 9060406 at redhat dot com> <54DA32D9 dot 5070909 at redhat dot com>
Eric Blake writes:
> The same test from the command line:
>
> $ stat -c %i /dev/tty - 0>/dev/tty
> 327680
> 8912896
>
> use any other (already-existing) file to see that the two numbers should
> normally be the same.
Interestingly enough IÂget exactly the same numbers, both on 32bit and
64bit Cygwin. Plus the first of those two numbers looks rather
suspicously like its 10*0x8000.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
--
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