From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100456 invoked by alias); 22 May 2015 07:18:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 100435 invoked by uid 89); 22 May 2015 07:18:53 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 22 May 2015 07:18:52 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YvhEG-00033U-G3 for cygwin@cygwin.com; Fri, 22 May 2015 09:18:48 +0200 Received: from dynamic-adsl-78-15-47-16.clienti.tiscali.it ([78.15.47.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 May 2015 09:18:48 +0200 Received: from spora by dynamic-adsl-78-15-47-16.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 May 2015 09:18:48 +0200 To: cygwin@cygwin.com From: Spet Subject: Re: file-transfer-over-soundcard Date: Fri, 22 May 2015 07:52:00 -0000 Message-ID: References: <8604DCD9-8901-46AD-9FA1-D20543B09680@etr-usa.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 X-SW-Source: 2015-05/txt/msg00301.txt.bz2 -------- 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