/dev/tty does not work from shell

Achim Gratz Stromeko@nexgo.de
Tue Feb 10 17:21:00 GMT 2015


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



More information about the Cygwin mailing list