On Fri, 12 Apr 2002, Edouard Gomez wrote:

> 
> Hi,
> 
> I'll take a look at the code this week end and will try to merge
> both sync and async stuff using a switch and function pointers.
> If you can do that before i hack it myself, it would be great :-)
> 
> 
I think it is easier that that :-)

1. remove the #else /* TIMS */ code - this is the original stuff.

2. Make syncHDLC a variable rather than a #define

3. Put an option into main() to set/reset syncHDLC. - I suggest that
the default is on as that is what everyone who has a working connection
is using :-)

4. Fix the code that does the ioctl(...,N_HDLC) - I think you just
need to change my #if syncHDLC into if(syncHDLC) BICBW.

5. Pray that I haven't broken anything in the sync stuff :-)

N.B. I'm not sure what the ioctl(TTYDISC) stuff is all about so I have
studiously ignored it :-) Is it something to do with BSD or is it
something I should know about? You might need to modify this like
the N_HDLC ioctl.


Regards,

Tim.



-- 
God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t," 
and there was light.

     http://tjw.hn.org/      http://www.locofungus.btinternet.co.uk/



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to