delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/10/12:39:58

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: /dev/tty does not work from shell
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>
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
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019