[comp.windows.x.motif] xmsampler question...

argv@Eng.Sun.COM (Dan Heller) (09/24/90)

Jordan Hayes:
> Another plea for better example programs ... can we contribute some?
> Would OSF put them in their release?  Can vendors ship source to the
> demo programs yet?

Great idea!  I have fixed many of the demo programs to look and
act cleaner by freeing dangling pointers, using the XtVa* args,
removing global variables, adding lots of comments to the code 
explaining what's going on, etc.  These things would definitely
be useful to anyone who is learning Motif from the demos.  Since
these programs are also going to be part of the Motif Programmer's
Manual (vol 6 of the O'Reilly Series), it would certainly solve
the anticipated problem that will ultimately rise when the book
is released: people's asking, "where can I get the example programs
from the O'Reilly book?"

Even if it weren't for that, it would still be useful to have
people donate programs.

Because *I* recognize that people have significant and worthwhile
programs to show in demo form, I invite folks to do the same for me.
If you have programs you want to -donate- as examples for the Motif
book, I will acknowldge you in the book as being a knowledgable and
helpful programmer if I use them.  This is true even if I only use
segments of your submission or change it somewhat.

Things to think about:
    The shorter, the better.
    Comments in code or corresponding discussion adds lots of value.
    Same rules and disclaimers for comp.sources.x applies.
    This is just for eveyrone's benefit and a chance for you to
	get your name in print :-).
    Be creative -- don't send me something that is typical, common
    or usual.  Send me things that are unique or that you think
    will have general mass appeal.

Send to argv@sun.com.


--dan