[Cvs-mvs] Hello, and basic questions
Terrence Enger
tenger@iSeries-guru.com
Wed, 27 Nov 2002 18:51:24 -0500
At 10:45 2002-11-27 -0800, Wayne Johnson wrote:
>--- 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
Right.
>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.
Hmm, I haven't noticed any problems with stat/fstat, but it is early days
yet. My work deals strictly with the HFS; there is much code in source
physical files on 400's, and it would be really valuable to contol that
source with cvs, but I am nowhere near to dealing with that issue. C/400
seems perfectly happy to work with files in the IFS now (V5R1 of OS/400).
>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.
>
Ah, good. The source changes in my own hack are more than I could expect
to introduce into the official source; I look forward very much to seeing
how you do things.
>> (*) 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.
Actually, 1.11.2 was released last April, and there are ongoing changes in
the development source.
>
>> (*) 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.
Okaaaay. But the sources for cvs/mvs, for example, are in EBCDIC. Can
cvs/mvs support both 390 and PC programmers working on these files? I
think that the -kb flag would deliver an EBCDIC file to the PC programmer,
right?
>
>> (*) 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.
Yup. Like I said, I see why that facility would be useful, but I have
almost no idea of how to accomplish it.
>
>> (*) 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.
I'll try to be considerate. Anyway, perhaps I am flattering myself about
how much I may have to contribute.
>
>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.
Thank you. Please forgive me for running on. It is a long time since I
had a chance to share my thoughts with anybody; no doubt I shall start to
run down soon.
>
>=====
>---
>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
>_______________________________________________
>Cvs-mvs mailing list
>Cvs-mvs@www.dccmn.com
>http://www.dccmn.com/mailman/listinfo/cvs-mvs
>
>