Hi!

The files in this directory are my changes to ctwm 3.5beta1.  You will
find a complete kit as well as diffs.  If you want the original dist,
look in ftp://slhp1.epfl.ch/pub .

Here's the announcement I made on the CTWM mailing list (ctwm@cognac.epfl.ch):

Return-Path: <LEVITTE@lp.se>
Received: from devil.bofh.se (LOCALHOST) by nic.lp.se (MX V4.2 VAX) with SMTP;
          Sat, 01 Mar 1997 09:39:40 +0100
MIME-Version: 1.0
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-PGP-Key-ID: Length=1024; ID=0xB2DEE2AD; Fprint="A6 96 C0 34 3A 96 AA 6C  B0
    D5 9A DF D2 E9 9C 65"
X-PGP-Key-URL: <http://www.lp.se/~levitte/pubkey1.asc>
Date: Sat,  1 Mar 1997 09:39:36 MET
Message-ID: <13079.63832.597383.feedmail.pl5.LEVITTE@devil.bofh.se>
X-Mailer: emacs 19.28.16 (via feedmail 5 I)
From: Richard Levitte - VMS Whacker <levitte@lp.se>
To: ctwm@cognac.epfl.ch
CC: Michael Lemke <ai26@a400.sternwarte.uni-erlangen.de>, 
    Peter.Chang@nottingham.ac.uk, levitte@lp.se
In-reply-to: <13061.50517.271759.feedmail.pl5.LEVITTE@devil.bofh.se> (message
    from Richard Levitte - VMS Whacker on Sat, 15 Feb 1997 14:16:53 MET)
Subject: Port of ctwm 3.5beta1 to VMS

I've now done some work to get ctwm 3.5beta1 running on VMS.  I'll tell you,
it's good to have a pedantic C compiler, but it gives you lots of extra work.

So what have I done?  Well, I've fixed some bugs, like adding a missing
return in CreateMenuPixmap (util.c).  I've added a lot of declarations,
basically doing that until my compiler shut up.  I've also made a small
change so the restart code now works (it's there also in my patches for
3.4pl2, if anyone is interested).  This demanded a change in ctwm.com as
well (basically making it loop if ctwm exits with status code 1).

An additional thing I did was in menus.c, where I made F_QUIT do the same
kind of cleanup as F_RESTART does.  The reason is that if you don't, you'll
find all your windows pushed down and to the left by the hight of the frame
and title and by the width of the frame.  Pretty irritating...

Further, I've enhanced make.com so it's makes correct choises of libraries
and so on depending on the compiler that is used, and also made it possible
to only link.  I've enhanced descrip.mms in the same way, and added a
descrip.submms.  In descrip.mms are also targets to produce .zip files
for VMS, with comments telling the user what to do with it.

I've also modernised the docs, for example ctwm.txt (which is a ready-to-read
version of ctwm.man), and added some notes in vms.txt.  I also clarified
a few things in readme.vms.

Ah, yes, I forgot!  The files gram.c_vms, gram.h_vms and lex.c_vms have
been regenerated using flex and bison for VMS.  Among other things, it
means that the hack vms_do_init() is no longer needed since bison and flex
do the Right Thing.

During my work, I found a lot of calls to XFindContent() with the last
argument cast to (caddr_t *).  According to all Xutil.h I could find (on
a bunch of Unix variants as well as on VMS), this is incorrect.  The cast
should instead be (XPointer *).  I've changed accordingly in all files
where I got a complaint.

In ftp://ftp.lp.se/patches/ctwm-3_5beta1/, I've placed the following files:

        CTWM035-SRC.ZIP         All the source, including the diff files.
        CTWM035.ZIP             All the source, and precompiled object files
                                (only VAX for the moment being, but I can
                                produce Alpha object files as well...)
        CTWM035-DIFFS.ZIP       Diff files only.
        
        CTWM035-SRC.TAR         like CTWM035-SRC.ZIP, but in tar format
        CTWM035-DIFFS.TAR       like CTWM035-DIFFS.ZIP, but in tar format

You pick whatever you wish, but remember that the -DIFFS archive do NOT
contain the newly created files (like descrip.submms).

I've been running this port for a few days now...

I'd appreciate if someone or a few people tried this out and told me how
it worked.  Bug reports, simply.

Thank you.

-- 
R Levitte, Levitte Programming;  Spannv. 38, I;  S-161 43  Bromma;  SWEDEN
      Tel: +46-8-26 52 47;  Cel: +46-10-222 64 05;  No fax right now
  PGP key fingerprint = A6 96 C0 34 3A 96 AA 6C  B0 D5 9A DF D2 E9 9C 65
   Check http://www.lp.se/~levitte for my public key.   bastard@bofh.se

