[Cvs-mvs] Hello, and basic questions
Wayne Johnson
wdtj@yahoo.com
Wed, 27 Nov 2002 10:45:56 -0800 (PST)
--- Terrence Enger <tenger@iseries-guru.com> wrote:
> I am hacking cvs onto the iSeries. cvs/mvs faces many of the same
> issues
> of code page translation that I am coming to terms with. Perhaps we
> can
> help each other.
If I remember from my AS/400 days (that is the iSeries, right?), you are
correct about the ASCII/EBCDIC mapping. Of more concern would be the use
of stat/fstat to detect file sizes and times. I'm sure they won't work
right on the old style AS/400 libraries, only the HFS, and last I knew
(and it was quite a while ago), the C/400 compiler didn't like the HFS.
Since that time we've been using VisualAge/400 on NT, cross compiling for
the 400 and we had no need for the port... But your welcome to port it.
> (*) Do you envisage being able to merge your changes back into the
> "official" cvs source, or is this a permanent fork from the common code
> base?
I have discuessed this with the CVS developers, but they wanted to wait
for CVS/MVS to be used by more people (a greater need) before merging.
That's one of the reasons for starting this mailing list, to find who was
using CVS/MVS.
> (*) Have you tried to track the common code base since you started the
> project? What release of cvs would form the best basis for comparison
> to
> cvs/mvs?
LetMeSee... It's been over a year since I touched the code, so I'm a bit
fuzzy. This port was last updated to cvs_1_11_0. Cvs is now at 1.11.1.
So there probably should be a merge of the 1.11.1 stuff to bring us
current. CVS does have the ability to identify changes made, so if you
want to find what changes have been made between 1.11.0 and the cvsmvs
branch it's as simple as a cvs diff command.
> (*) It is clear from Changes_390.txt that cvs/mvs runs in EBCDIC, and I
> see
> nothing there that I recognize as implementing translation between code
> pages. Are you using ASCII for the repository files and for
> communication
> between client and server? Does the 390 do the translation
> automagically?
All network communications are done in UNIX format ASCII. The client
side does the translation (be it CR/LF<->NL or ASCII<->EBCDIC). I
originally used iconv to convert the code, but during one of the merges
that got dropped in favor of the __atoe_? routines of MVS. Probably
should be put back to iconv.
> (*) How do you handle text files which are not ASCII? (My hack does
> not
> deal with this.)
CVS has the ability to identify binary files as having the -kb flag set.
If -kb is set, no translation occurs.
> (*) cvs controls files and, to a lesser extent, directories. Does the
> 390
> have other kinds of things which it would be useful to control, and
> does
> (or will) cvs/mvs do anything with them? (My hack does not deal with
> these.)
MVS can use libraries called PDSs. CVS/MVS does not handle these.
Probably similar to AS/400 libraries.
> (*) Is it appropriate to post attachments to this mailing list?
I do not have attachments turned off, but please remember, this mailing
list is based on a P166 (called Nexus) in my basement attached to a 640kb
DSL line which I share with my wife and 3 teen age children who like to
play interactive computer games and do lots of downloads. Please be
considerate.
BTW, I just found that I hadn't copied over the CVS project file
containing cvsmvs during my last upgraded. So anyone who tried to check
it out with cvs got a error. I've fixed this and you should be able to
check out the source directly. See the web page for directions
(cvsmvs.dccmn.com).
Good luck and keep in touch.
=====
---
Wayne Johnson, | There are two kinds of people: Those
3943 Penn Ave. N. | who say to God, "Thy will be done,"
Minneapolis, MN 55412-1908 | and those to whom God says, "All right,
(612) 522-7003 | then, have it your way." --C.S. Lewis
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com