X-Recipient: archive-cygwin@delorie.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:references:date:in-reply-to
	:message-id:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=mi1QBGavXyATolIRICyi3AP7yXkkptv49iKTv9fGHNV
	qXwUCyNZNCiVzTt3WWQOdSXtNRaNcEDd3+67XXkk844O0/rFi8SIlnUaYHlRLA9K
	n/VtezrkhkaRUWtlYb5IRB9PeiPh5YTPgMKyf+xt9LB9mJUGoOajLeJ01Fd9DuG4
	=
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:references:date:in-reply-to
	:message-id:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=/Bq6GHP7C6D7iv6VQV+3pJD6XS8=; b=eXyYeWS82LfVPBReM
	WtiVoWLXN8EwyCcYNOxtW9hTPAqxNjs1mwCLS9wGo+ayyEqGpBHnbK/eq0QjafFw
	5vbzCRkpdmQVg9F7y47fqoCZ6u2yMys2OpcPa/mjLXX76N9ZifbInts3mYLg72pd
	yTQ9D4GgYyoE+tsToS/1nCZxsY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-04.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3khW9s1rXsz6Gry
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: /dev/tty does not work from shell
References: <1598899839.20150209072327@yandex.ru> <54D8741A.5020805@towo.net>	<20150209113620.F876DF38.helmut.karlowski@ish.de>	<54D91AC6.8030101@towo.net> <54D91E53.5080907@redhat.com>	<54DA31C1.9060406@redhat.com> <54DA32D9.5070909@redhat.com>
Date: Tue, 10 Feb 2015 18:21:52 +0100
In-Reply-To: <54DA32D9.5070909@redhat.com> (Eric Blake's message of "Tue, 10	Feb 2015 09:33:29 -0700")
Message-ID: <8761b98yxb.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1AHdsQW021828

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


