delorie.com/archives/browse.cgi | search |
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:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; q=dns; s=default; b=HEPv18eIewcLGYU0I7Aiu1/XxwTH | |
MOMp9f5PGMtJTnQ0Rv1yOaKwdXwnYMDMWITCWazzUM5mAVpXNLXIYxsF0mej8sOY | |
uvsyFvNvbLXWZ/D5Ccwa3VhjsIXik+6zV0U3S+Kv7/oSoX0Be4E4E8PmhiVlpEoj | |
JEtwvtmw4kU6jbc= | |
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:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; s=default; bh=D7uAq4VCee3JY5kNYBffbJO/BUs=; b=ft | |
i1QKGoG294YmgIGxUtKVFYmpKHkRXht0lxEeKaOQS31PGIF3HewkuvnAbLiSq3pd | |
7g5oSSlxUgip0zj6bklO+XEB6fdx2voxShpHpU03ukekaKI7Q9Py4iFHIclpm9Y0 | |
M6ZR0XUdpli6pL3r8QHTmXxi0delNN71zopr7Xr5Q= | |
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.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 |
X-HELO: | etr-usa.com |
Mime-Version: | 1.0 (Mac OS X Mail 8.2 \(2098\)) |
Subject: | Re: file-transfer-over-soundcard |
From: | Warren Young <wyml AT etr-usa DOT com> |
In-Reply-To: | <mjk00u$ib4$1@ger.gmane.org> |
Date: | Thu, 21 May 2015 13:15:24 -0600 |
Message-Id: | <EA5E51E0-2160-4830-A9D2-B52804CAD0CE@etr-usa.com> |
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> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t4LJFmxq030734 |
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? 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. > ./generate.exe -b 25 -r 48000 -o out.data /etc/fstab You’re trying to send *Cygwin’s* /etc/fstab to 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? Anyway, it works here. I get a 25 MiB sound output file for a 531 byte /etc/fstab. > 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 have to ask: Why do you even want this software? It’s a neat hack, but I’m having trouble imagining a situation where you have two computers that each have Internet access in order to fetch Cygwin and this file transfer software, but they have no way to mutually communicate other than via a highly inefficient [*] communication link. I’ve run into real-world situations where one box doesn’t have Internet access and no way to attach an external storage device, so you’re left with hacks like uudecode and serial cables, but that doesn’t seem to be what’s going on here. [*] The Nyquist limit for 48 kHz sampling is 24,000 bps, but the article is recommending 25 bps, three orders of magnitude lower. Even if you could approach the Nyquist limit with better encoding, you’re still going to be transferring slower than a good RS-232 serial link. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |