Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 1995 15:19:59 -0700 (PDT)
From:      ambrisko@tcs.com (Douglas Ambrisko)
To:        jhs@vector.eikon.e-technik.tu-muenchen.de (Julian Stacey)
Cc:        chapman@miller.cs.uwm.edu, ports@freebsd.org
Subject:   Re: Hylafax 3.0
Message-ID:  <9507252219.AA02395@cozumel.tcs.com>
In-Reply-To: <199507171213.OAA06851@vector.eikon.e-technik.tu-muenchen.de> from "Julian Stacey" at Jul 17, 95 02:13:15 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Stacey writes:
| 
| 
| Due to an edit error I failed to add to my
| 
| >> Has anyone out here successfully set-up the data-call for hylafax 3.0.0 
| > I assume your config is wrong, please compare your old & new config
| 
| My config also doesnt work for data incoming, just for fax i/o,
| I mean to look at the config .. some time .. 
| but I have 2 modems, so it's not critical for me.
| 
| I never had a good flexfax data incoming config to compare against,
| feel free to to uuencode & mail me your old was-working flexfax config
| to compare against our less functional current config.
| 
| I'd like to solve this.
| I'd be even happier if you solve it for us, & send me diffs to commit :-)
| Cheers,
| 
| Julian

Okay, I have some further info and have hacked a solution to make getty to
work with HylaFax.  It seems that getty fails in getname and fails on the
read call and exits which hangs up the connection.  This change makes getty
work with HylaFax but I do not claim this is a fix, but if you do this
to the getty sources it doesn't seem to break getty and it works so now I
can send/receive faxes, accept incoming dial-ins, outgoing tip and 
outgoing iij-ppp sessions with the same modem.  You will also want to
set getty args in the config file to "std.38400 -" or you can do a 
"std.%s -" but I just run it at 38400 no matter what and let the modem
negotiate the incoming rate.  It is also helpfull to make sure your
modem is configured to respect DTR etc.  BTW I'm using 2.0.5-RELEASE.


*** main.c.orig Tue Jul 25 15:04:54 1995
--- main.c      Tue Jul 25 15:05:07 1995
***************
*** 292,298 ****
        for (;;) {
                oflush();
                if (read(STDIN_FILENO, &cs, 1) <= 0)
!                       exit(0);
                if ((c = cs&0177) == 0)
                        return (0);
                if (c == EOT || c == 4 /*^D*/)
--- 292,298 ----
        for (;;) {
                oflush();
                if (read(STDIN_FILENO, &cs, 1) <= 0)
!                       return(0);
                if ((c = cs&0177) == 0)
                        return (0);
                if (c == EOT || c == 4 /*^D*/)

I hope that with this information it will provide some more insight into
why getty is geting triped up on the read in getname and bailing out.  Then
maybe we will get a real solution.  But atleast now I can dial into my system.

Doug A.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9507252219.AA02395>