*BSD News Article 32131


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!usenet.ins.cwru.edu!ljo
From: ljo@johnny5.eeap.cwru.edu (L Jonas Olsson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD 1.1R and FlexFax?
Date: 26 Jun 1994 14:11:14 GMT
Organization: Case Western Reserve Univ. Cleveland, Ohio (USA)
Lines: 39
Message-ID: <2uk2a2$6bb@usenet.INS.CWRU.Edu>
References: <2uikr1$bqs@werple.apana.org.au>
NNTP-Posting-Host: johnny5.eeap.cwru.edu

In article <2uikr1$bqs@werple.apana.org.au> gfm@werple.apana.org.au (Graham Menhennitt) writes:
>
>Has anybody got FlexFax 2.2.2pl1 working under FreeBSD 1.1 Release to the
>point where you can use it to receive and send faxes and also be able to
>use the modem for incoming and outgoing data connections e.g. via uucp or
>tip.

<...>

>Thanks,
>	Graham

 There was a bug in the 1.1 kernel that caused faxd never to answer
the phone.  With this fix I have had FlexFAX work. Also watch out for
the paths of ghostscript (/usr/gnu/bin/gs) and bash (/bin/bash).
 I have not tried to get it to work with uucp.

 Jonas

*** tty.c.orig	Sat May  7 13:28:44 1994
--- tty.c	Sat May  7 12:18:59 1994
***************
*** 719,725 ****
  	nread = RB_LEN(tp->t_can);
  	if ((tp->t_lflag & ICANON) == 0) {
  		nread += RB_LEN(tp->t_raw);
! 		if (nread < tp->t_cc[VMIN])
  			nread = 0;
  	}
  	return (nread);
--- 719,725 ----
  	nread = RB_LEN(tp->t_can);
  	if ((tp->t_lflag & ICANON) == 0) {
  		nread += RB_LEN(tp->t_raw);
! 		if (nread < tp->t_cc[VMIN] && tp->t_cc[VTIME] == 0)
  			nread = 0;
  	}
  	return (nread);