delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <409508AF.4040301@manoweb.com> |
Date: | Sun, 02 May 2004 16:41:51 +0200 |
From: | Alessio Sangalli <alesan AT manoweb DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | efax on cygwin |
X-IsSubscribed: | yes |
Hi, I would like to send faxes with the eafx program under cygwin. I've tried to compile it and I had to hack a bit the source and the Makefile. You can donwload the efax sources at: http://www.cce.com/efax/ I've used the "stable" release: ftp://ftp.metalab.unc.edu/pub/Linux/apps/serialcomm/fax/efax-0.9.tar.gz I had to edit the "efaxio.c" source file adding: #define SIGIOT 6 then I had to edit efaxlib.h on line 94; this was a strange issue to me, I had to modify "O_TEXT=6" in "O_TXT=6". I also had to modify the Makefile to create an executable called "efax.exe" instead of a simple "efax". Now, the program seems to run, but it doens't recognizes /dev/modem as a device: $ ./efax.exe ./efax: Sun May 02 15:44:00 2004 efax v 0.9 Copyright 1999 Ed Casas ./efax: Sun May 02 15:44:00 2004 efax v 0.9 Copyright 1999 Ed Casas efax: 44:00 compiled May 2 2004 15:40:02 efax: 44:00 Error: can't open serial port /dev/modem: No such file or directory efax: 44:00 done, returning 2 (unrecoverable error) I tried to specify "com1" as a device but it hangs: $ ./efax.exe -d com1 ./efax: Sun May 02 15:44:04 2004 efax v 0.9 Copyright 1999 Ed Casas ./efax: Sun May 02 15:44:04 2004 efax v 0.9 Copyright 1999 Ed Casas efax: 44:04 compiled May 2 2004 15:40:02 efax: 44:05 opened com1 efax: 44:05 Error: tcgetattr on fd=3 failed: Not a typewriter Do you have any advice? Thank you Alessio Sangalli -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |