| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 741.1 | Don' change #includes | VINO::WITHROW | Robert Withrow | Tue May 09 1989 13:03 | 9 | 
|  | > modify X11.C
> Replaced "#include <X11/" with "#include <DECW$INCLUDE/".
> Found all "#ifdef UNIX", and provided compatible code with
> "#ifdef VMS" around it.
Recommend not doing this as it just builds in another incompatability.
Rather, $define x11 decw$include.  Even if included in a #ifdef it is
unnecessary noise.
 | 
| 741.2 | It is not quite obvious...WHAT IS DECWINDOWS?! | 32956::graham | Rude Movements..... | Thu May 11 1989 19:07 | 17 | 
|  | 
Should this note have a title like..
"Porting UNIX/X11"  code to DECwindows/VMS" or something similar?
[The xconq will run under Ultrix without a single line change.]
Based on the premise that DECwindows is supported under DOS, Ultrix and
VMS.
Flame:
This kind of noting is very rampant in this conference!
Flame off:
Kris..
 | 
| 741.3 | Can a novice port X -> VMS DECwindows? | TALLIS::INGRAHAM |  | Fri Feb 23 1990 16:46 | 22 | 
|  | This is a novice question.  I've only looked into this notesfile a little;
hope I'm not boring you with yet-another-novice-question, or you're-in-
the-wrong-notesfile, or something to that effect.
I have a program, that was written to optionally use the X windowing
system.  And now, due to a VMS upgrade, I find myself with a workstation
in front of me that is capable of running DECwindows, only a reboot away. 
DECwindows is based on X, right?  So it might be possible to make this
application work under DECwindows (he says, naively).
So the question is:  Can I make the application "play" DECwindows?  How?
How difficult is that likely to be, in general?  I know zilch about X or
DECwindows; I hack around a bit with programming; my real interest for now
is kind of a "midnight hack" to see how the program runs and looks.  (The
program has bugs anyway.)
Is this something a novice can just pick up and do, or should I not even
try?  Is one better off investing a few weeks/months and a course or some
books to really learn DECwindows?  I wasn't intending to become fluent in
X or DECwindows programming, just get this one to work.
Andy
 | 
| 741.4 |  | CVG::PETTENGILL | mulp | Fri Feb 23 1990 21:13 | 12 | 
|  | If it were simply a matter of the program being written for X rather than for
Unix, then it would be a simple matter of compiling it and fixing minor bugs.
Instead you will find that you need to both convert from Unix to VMS and
make up for some unsupported X usage that is typical and an occasional
incompatibility caused by the different baselevels of X used for each
release.
However, many people have hacked existing X programs in a very short time;
sometimes as short as an hour.  Sometimes they just compile and run.
I suggest you check out the ELKTRA::DW_EXAMPLES conference; many of the
things there are the result of similar efforts.
 | 
| 741.5 |  | PSW::WINALSKI | Careful with that VAX, Eugene | Fri Feb 23 1990 23:06 | 10 | 
|  | RE: .3
DECwindows *is* X Windows, so, as .4 said, aside from some possible minor
version skew differences, the X calls themselves should require no modification
at all.  A lot of the X Windows freeware that's floating around was developed
for Unix, and so the Unix-isms tend to be the real problem.  I've ported
several of these little programs to VMS DECwindows, and I never found the X
calls to be a problem.  What work I had to do involved Unix-isms.
--PSW
 |