[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

literal newlines in source of cvs

From: Terrence Enger
Subject: literal newlines in source of cvs
Date: Mon, 12 May 2003 16:35:21 -0400

Greetings, all.

I am trying to make cvs run on the IBM iSeries, and I am trying to make my
changes so that they can be integrated back into the official source, if
that should ever be of interest to the community.  With your indulgence, I
shall be asking this list from time to time how best to maintain
portability in my changes.  Is there a better place for me to take my

Looking at the cvs source, I see literal newlines represented by a mixture
of '\n' and '\012', and I have not found a reason for the difference.
Similarly, the source uses both '\r' and '\015' to represent carriage
return.  Am I missing something?

In my environment, iSeries programs execute in EBCDIC.  One way to make cvs
run on this machine includes changing the source to represent newline
uniformly by '\n'.  Does anybody here see any problems with doing this
throughout the modules I need?  Does anybody actually like the idea?

Thank you, all, for your attention and help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]