From: Willy Wittesaele (wittesa@reks.uia.ac.be)
Date: 05/07/93


From: wittesa@reks.uia.ac.be (Willy Wittesaele)
Subject: Re: How to get rid of ^M's in Seyon's Capture?
Date: Fri, 7 May 1993 07:27:39 GMT

John Ngai (ngai@nova.bellcore.com) wrote:
: I just updated my Seyon application from version 1.8 to version 2.12.
: But now when I use the capture option, the captured file has all these
: ^M characters appended to the end of each line. How do I get rid of them
: (other than using an editor) in the first place, they weren't
: there before when I use the older version.
:
: I set NewlineTranslation to <cr>, but I don't think that has anything to
: do with it, right? That refers to the translation when your modem is sending,
: and not when your modem is receiving, right?
:
: Please help.
: Thanks -- John

Hello ,

I had the same problem and solved it as follows in the source code :

look for the program SeTerm.c , this one has somewhere a function

PortToTty() and in this function you'll see

 if (capture) ....

change it as follows :

 if (capture) if (c != 13) fputc(c,cfp)

recompile the seyon and from now on you do not have any ^M in your
received capture files.

willy

/* Windows NT == Windows New Trouble */