John, Love the idea of using Git... why not publish your finished port there as well as CBTTape?
Generally, we use Eclipse CDT on our workstation for editing C/C++ code, and then use Ant to do (delta) uploads with either FTP or SFTP. But you can use Ant by itself. If you are doing a three-way merge of code, I highly recommend trying "Meld". Its not a C aware editor, but as a diff/merge tool it is far superior to Eclipse. Here's an FTP example of an Ant script (put it in a .xml file in an "ant-src" directory under your source tree, along with a build.properties file. Add it to the Eclipse Ant view so that with one click you can synch your source to z/OS.) <project name="my-project_upload" default="all" basedir=".."> <target name="all" depends="upload_src" /> <target name="init" > <!-- Customized properties... --> <property file="ant-src/build.properties" /> </target> <target name="upload_src" depends="init" > <echo message="Uploading source to ${server}:${serverSrcDir}" /> <ftp server="${server}" userid="${userid}" password="${password}" remotedir="${serverSrcDir}" depends="no" verbose="yes" umask="002" passive="yes" binary="no" > <fileset dir="." casesensitive="yes" > <include name="src/**" /> <!-- customize includes/excludes here --> <modified/> <!-- creates a cache.properties file in basedir --> </fileset> </ftp> </target> <target name="clear.cache" depends="init"> <delete file="cache.properties" /> </target> </project> Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Sep 12, 2014 at 10:43 AM, John McKown <john.archie.mck...@gmail.com> wrote: > On Fri, Sep 12, 2014 at 8:33 AM, David Crayford <dcrayf...@gmail.com> > wrote: > > Wow, you're porting BASH! I'll be an alpha tester for that one. > > > > __ASSUMING__ that I succeed, it will go up on the CBTTape. I am doing > it somewhat strangely. I got the source to IBM's port of BASH 2.03. I > got the current source(s) to BASH from the GNU Savanah site onto my > Linux desktop by doing a "git clone > git://git.savannah.gnu.org/bash.git". I created my own, personal, > branch in GNU's code which I called bash-4.2-zos. Using this as my > base, I tried fitting the IBM 2.03 changes into 4.2. The then tar'd up > this source and ftp'd it to a z/OS 2.1 system to which I have been > granted access. I unwound it and converted it to IBM-1047 using pax. I > have been making changes to address problems. As I make changes, I > have ftp'd them back to my Linux system. Where I've been updating the > git repository. This way, I will have a nice(?) git repository with > the changes. Which means that I will have a very good log of what I > did. Which, I hope, means that it will be easier to maintain the port > when the FSF comes out with more releases. In reality, what I have > done, to date, is currently on github under my acccount. Which I keep > up to date with what is on my Linux box. > > I'm having a number of problems trying to get things so that they > would "correctly". Unfortunately, when I find a mistake which requires > updating config-bot.h, then I must start all over again from the > ./configure . Oh well, it only costs me time. > > -- > There is nothing more pleasant than traveling and meeting new people! > Genghis Khan > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN