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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: file-transfer-over-soundcard Date: Fri, 22 May 2015 09:18:42 +0200 Lines: 44 Message-ID: References: <8604DCD9-8901-46AD-9FA1-D20543B09680 AT etr-usa DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0.4) Gecko/20150321 Firefox/36.0.4 In-Reply-To: X-IsSubscribed: yes -------- Original Message -------- > On May 21, 2015, at 1:03 AM, Spet 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