delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/22/03:19:12

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=geWP1cMcgXmDK1JTtA82xe4M+ab8xO
vUx70lv2WEgAT4UCIX8kONzYKY89qbNo6ivXdQhWpRKmnoo5EfrZqwoe69cLnkZD
ygNog3PnA83j+wamyUjzr8U5FVx+czNqLQmtxhriXa9JbfI0Q1+qf/a2nKq3LJll
v1nlEHEHQWyo8=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=+yvJGU/gWAfUhhbvicWoXSJgxx4=; b=mh+D
OPF3nN3Qwun2XqeZUQ9U1KhFWcTKNIrtcd+IlL/qSRayaipPT7M2+nu//Fiino3E
nN4UeeLxFfP8dj1wdB+g/6etFxx+QrdghRHjNtjmvW5OII4czfzVguHl3QQqBcxT
Oy/dPhr3Cgxn8i4PFFXy/DbsKdWfnuexSXvDuxA=
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=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Spet <spora AT email DOT it>
Subject: Re: file-transfer-over-soundcard
Date: Fri, 22 May 2015 09:18:42 +0200
Lines: 44
Message-ID: <mjml8i$ckt$1@ger.gmane.org>
References: <mjik7r$kq3$4 AT ger DOT gmane DOT org> <8604DCD9-8901-46AD-9FA1-D20543B09680 AT etr-usa DOT com> <mjk00u$ib4$1 AT ger DOT gmane DOT org> <EA5E51E0-2160-4830-A9D2-B52804CAD0CE AT etr-usa DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0.4) Gecko/20150321 Firefox/36.0.4
In-Reply-To: <EA5E51E0-2160-4830-A9D2-B52804CAD0CE@etr-usa.com>
X-IsSubscribed: yes

-------- Original Message --------
> On May 21, 2015, at 1:03 AM, Spet <spora AT email DOT it> wrote:
>>
>> When i execute from dos console:
>
> Why aren’t you using Cygwin Terminal instead?
This is my first time.
However I have to use it in windows console.

>
> The Cygwin Terminal has a huge number of features missing from the Windows console, some of which allow it to work better with Cygwin programs.  (UTF-8 support, for example.)
>
> Meanwhile, the DOS console offers zero advantage over the Cygwin Terminal when it comes to running Cygwin executables.
Ok
>
>> ./generate.exe -b 25 -r 48000 -o out.data /etc/fstab
>
> You’re trying to send *Cygwin’s* /etc/fstab to another box?
*Cygwin’s* ???
another box???

> Why?  Typically the contents of that file are so trivial that it’s faster to just transcribe any changes in it when setting up a new box.
>
> Does "cat /etc/fstab" show something from the Cygwin Terminal?
Yes, text file
>
> Anyway, it works here.  I get a 25 MiB sound output file for a 531 byte /etc/fstab.
Now here, I understood better how it works.
>
>> generate.exe -b 25 -r 48000 -o "k:\TEMP\a.txt" c:\cygwin\etc\fstab
>
> Are you sure you built it with the Cygwin C compiler, and not something else, like the MinGW or Visual Studio compilers?  That’s the only explanation I can think of for why the POSIX path (/etc/fstab) would fail, but a DOS path would succeed.
I've only done "makefile" in terminal.
>
> I have to ask: Why do you even want this software?
Just a curiosity to transmit files via audio and compile a C source 
Linux in Windows.

Finally, the compilation work.  The sound file is recorded and the audio 
capture works.
But the transmission of the file fails because I get a bit sequence 
completely different from the original.

Ty :)


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