Re: [cdesktopenv-devel] How to run CDE with dtlogin under Xephyr

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > Hello, > > I was little unhappy with Xnest and I wanted > to take some screenshots of dtlogin with > a forthcoming FreeBSD branding. > Hmm... Sounds like a candidate for a wiki page :) -- Jon Trulson The Higgs Field is what make atoms matter.

Re: [cdesktopenv-devel] dtprintinfo daily WTF

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: On Sun, 23 Sep 2012, Jon Trulson wrote: Looks f'ing stupid to me, but what do I know :) I haven't even looked at the ancillary dtprint stuff yet. At XiG, I created a 'dtlp' ksh shell script that worried about the details of a given system's lp imple

Re: [cdesktopenv-devel] [PATCH 4/4] dtpad: kill one warning

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: Applied. -- Jon Trulson The Higgs Field is what make atoms matter. -- Tom L. -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [cdesktopenv-devel] [PATCH 3/4] dtpad: Use XtArgVal for int conversion

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > Avoid overwrite of local variables when using > short (int, etc.) types with XtVaGetValues(). > > Cast XtPointer using (XtArgVal) without > the need to use C99 and friends. Nice, applied. -- Jon Trulson The Higgs Field is what make atoms matter.

Re: [cdesktopenv-devel] [PATCH 2/4] dtpad: Fix 64-bit crash on file open/save

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > Fix SIGSEGV because of implicit declaration > of _XmStringUngenerate. > > The error message reported to the user was: > > TT_ERR_PROCID The process id passed is not valid. Applied. -- Jon Trulson The Higgs Field is what make atoms matter.

Re: [cdesktopenv-devel] dtprintinfo daily WTF

2012-09-23 Thread Marcin Cieslak
On Sun, 23 Sep 2012, Jon Trulson wrote: > Looks f'ing stupid to me, but what do I know :) I haven't even looked > at the ancillary dtprint stuff yet. At XiG, I created a 'dtlp' ksh > shell script that worried about the details of a given system's lp > implementation (old-style, LPNG, CUPS, etc)

Re: [cdesktopenv-devel] [PATCH 1/4] BSD: Remove libXX.so symlink before installing

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > Now we can run "make" in "lib/tt" again > and the symlink will be recreated. Applied. -- Jon Trulson The Higgs Field is what make atoms matter. -- Tom L. ---

Re: [cdesktopenv-devel] [PATCH 4/4] dtprintinfo: sym2num needs ksh

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: Applied. That fix was also in my XiG tree :) -- Jon Trulson The Higgs Field is what make atoms matter. -- Tom L. -- Live Security Virtual Conference Exclu

Re: [cdesktopenv-devel] [PATCH 3/4] dtprintinfo: Use 64-bit values for XtVaGetValues() pointers

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > XtArgVal should be a type that encompasses XtPointer > and long integer types. In the X.org implementation > it is currently defined as (long). > > Don't use (unsigned int *) instead of (Window *). Applied, nice. -- Jon Trulson The Higgs Field is wh

Re: [cdesktopenv-devel] [PATCH 2/4] dtprintinfo: Use CUPS lpq for FreeBSD

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: Applied. > Use /usr/local/bin/lpq from CUPS for FreeBSD > for now; this prevents immediate dtprintinfo > crash. > > In the future we should handle both built-in > /usr/bin/lpq as well as CUPS /usr/local/bin/lpq > output in separate functions. > > Code to

Re: [cdesktopenv-devel] [PATCH 1/4] Fix logic in dtprintinfo

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > Fix values for true/false and boolean type Applied. wow, true == false == 0. Whoever wrote that must've been really high. :) -- Jon Trulson The Higgs Field is what make atoms matter. -- Tom L. -

Re: [cdesktopenv-devel] [PATCH] dtfile: fix pointer to integer conversion

2012-09-23 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: > Use XtArgVal (usually (long)) to convert > (XtPointer) to (int) and back. > > This provides safe way to convert and > avoids compiler warning. Applied, but whenever I see double casts like that, I think "Somethings wrong here"... :) -- Jon Trulson T

Re: [cdesktopenv-devel] xinetd support

2012-09-23 Thread Jon Trulson
On Sun, 23 Sep 2012, Ecmel Ercan wrote: > Hi, > > While packaging CDE for Arch I added the attached xinetd services > which may be useful for other distros. > > cmsd is enabled by default and Calendar seems to work ok with it. > > Have a nice day! > > Ecmel Ercan > Thanks, I've added these to the

[cdesktopenv-devel] How to run CDE with dtlogin under Xephyr

2012-09-23 Thread Marcin Cieslak
Hello, I was little unhappy with Xnest and I wanted to take some screenshots of dtlogin with a forthcoming FreeBSD branding. Here's how I got a fully working environment (including proper fonts): 1) I set up xfs (X font server) to serve all fonts I have. I started it to listen on TCP port 7100 (

Re: [cdesktopenv-devel] dtprintinfo daily WTF

2012-09-23 Thread Jon Trulson
On Sun, 23 Sep 2012, Marcin Cieslak wrote: > I am working on dtprintinfo now - > "dtprintinfo -populate" does not create > any printer actions, despite the fact that > it finds the printes via CUPS. > > Here's the output of the preprocessing stage > of programs/dtprintinfo/UI/DtPrinterIcon.C > >

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Jon Trulson
On Sun, 23 Sep 2012, Jelle Hermsen wrote: > > I can't help looking at the future of this project. I guess we're not just in > it for getting things up and running purely for old time sake right? At one > point it might be a good idea to split up the several applications and > libraries that mak

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Robert Tomsick
On Sun, 23 Sep 2012, Jon Trulson wrote: > On Sun, 23 Sep 2012, Robert Tomsick wrote: > >> >> >> On Sun, 23 Sep 2012, Christopher Turkel wrote: >> > CDE might also benefit from a better website. Go ahead :) >>> I'd love to. I see that cdesktopenv.org has been registered by Peter

[cdesktopenv-devel] [PATCH 3/4] dtprintinfo: Use 64-bit values for XtVaGetValues() pointers

2012-09-23 Thread Marcin Cieslak
XtArgVal should be a type that encompasses XtPointer and long integer types. In the X.org implementation it is currently defined as (long). Don't use (unsigned int *) instead of (Window *). --- cde/programs/dtprintinfo/UI/DtDetailsLabel.C |6 -- cde/programs/dtprintinfo/libUI/MotifUI/Dt

[cdesktopenv-devel] [PATCH 4/4] dtpad: kill one warning

2012-09-23 Thread Marcin Cieslak
--- cde/programs/dtpad/dtpad.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtpad/dtpad.c b/cde/programs/dtpad/dtpad.c index eba15a9..b5303cf 100644 --- a/cde/programs/dtpad/dtpad.c +++ b/cde/programs/dtpad/dtpad.c @@ -1107,7 +1107,7 @@ SetWorkSpaceHints(

[cdesktopenv-devel] [PATCH 2/4] dtprintinfo: Use CUPS lpq for FreeBSD

2012-09-23 Thread Marcin Cieslak
Use /usr/local/bin/lpq from CUPS for FreeBSD for now; this prevents immediate dtprintinfo crash. In the future we should handle both built-in /usr/bin/lpq as well as CUPS /usr/local/bin/lpq output in separate functions. Code to support CUPS should probably shared between other operating systems.

[cdesktopenv-devel] [PATCH 3/4] dtpad: Use XtArgVal for int conversion

2012-09-23 Thread Marcin Cieslak
Avoid overwrite of local variables when using short (int, etc.) types with XtVaGetValues(). Cast XtPointer using (XtArgVal) without the need to use C99 and friends. --- cde/programs/dtpad/main.c|4 ++-- cde/programs/dtpad/printJob.c|9 ++--- cde/programs/dtpad/printOutput

[cdesktopenv-devel] [PATCH 4/4] dtprintinfo: sym2num needs ksh

2012-09-23 Thread Marcin Cieslak
--- cde/programs/dtprintinfo/Imakefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtprintinfo/Imakefile b/cde/programs/dtprintinfo/Imakefile index 82ead70..749f0a2 100644 --- a/cde/programs/dtprintinfo/Imakefile +++ b/cde/programs/dtprintinfo/Imakefile @@

[cdesktopenv-devel] [PATCH 2/4] dtpad: Fix 64-bit crash on file open/save

2012-09-23 Thread Marcin Cieslak
Fix SIGSEGV because of implicit declaration of _XmStringUngenerate. The error message reported to the user was: TT_ERR_PROCID The process id passed is not valid. --- cde/programs/dtpad/fileCB.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/cde/programs/dtpad/fileCB.c b/cde/programs/dt

[cdesktopenv-devel] [PATCH 1/4] Fix logic in dtprintinfo

2012-09-23 Thread Marcin Cieslak
Fix values for true/false and boolean type --- cde/programs/dtprintinfo/libUI/BaseUI.h|7 +-- cde/programs/dtprintinfo/objects/BaseObj.h |7 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/cde/programs/dtprintinfo/libUI/BaseUI.h b/cde/programs/dtprintinfo/l

[cdesktopenv-devel] [PATCH 1/4] BSD: Remove libXX.so symlink before installing

2012-09-23 Thread Marcin Cieslak
Now we can run "make" in "lib/tt" again and the symlink will be recreated. --- cde/config/cf/bsdLib.rules |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cde/config/cf/bsdLib.rules b/cde/config/cf/bsdLib.rules index 5f9d69d..f2fff8c 100644 --- a/cde/config/cf/bsdLib.rules

[cdesktopenv-devel] [PATCH] dtfile: fix pointer to integer conversion

2012-09-23 Thread Marcin Cieslak
Use XtArgVal (usually (long)) to convert (XtPointer) to (int) and back. This provides safe way to convert and avoids compiler warning. --- cde/programs/dtfile/ChangeDirP.c |2 +- cde/programs/dtfile/Desktop.c |2 +- cde/programs/dtfile/Encaps.c |8

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Jon Trulson
On Sun, 23 Sep 2012, Robert Tomsick wrote: > > > On Sun, 23 Sep 2012, Christopher Turkel wrote: > CDE might also benefit from a better website. >>> >>> Go ahead :) >> I'd love to. I see that cdesktopenv.org has been registered by Peter >> Howkin. > > You guys also have commondesktop.org and o

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Robert Tomsick
On Sun, 23 Sep 2012, Christopher Turkel wrote: >>> CDE might also benefit from a better website. >> >> Go ahead :) > I'd love to. I see that cdesktopenv.org has been registered by Peter > Howkin. You guys also have commondesktop.org and opencde.org too. -R ---

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Christopher Turkel
-Original Message- From: Jelle Hermsen To: cdesktopenv-devel Sent: Sun, Sep 23, 2012 4:40 pm Subject: Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress Good evening (in GMT+1 that is), On Sep 23, 2012, at 11:53 AM, Marcin Cieslak wrote: > On Sun, 23 Sep 2012, Jelle Hermse

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Jelle Hermsen
Good evening (in GMT+1 that is), On Sep 23, 2012, at 11:53 AM, Marcin Cieslak wrote: > On Sun, 23 Sep 2012, Jelle Hermsen wrote: > >> It would be great if you would only need to teach one configuration >> header about an OS > We have config/cf/* for that. I noticed, I've got some updates for th

[cdesktopenv-devel] xinetd support

2012-09-23 Thread Ecmel Ercan
Hi, While packaging CDE for Arch I added the attached xinetd services which may be useful for other distros. cmsd is enabled by default and Calendar seems to work ok with it. Have a nice day! Ecmel Ercan cmsd Description: Binary data ttdbserver Description: Binary data -

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Christopher Turkel
> I would love to hear what plans there are on this aspect. Frankly I don't > know. My primary motivation is sentimental - I did use CDE as my primary work > environment since ca. 1994till ca. 1998 on AIX. I just like the blinking LED > on the front panel, designof the dtgreet login screen and

[cdesktopenv-devel] dtprintinfo daily WTF

2012-09-23 Thread Marcin Cieslak
I am working on dtprintinfo now - "dtprintinfo -populate" does not create any printer actions, despite the fact that it finds the printes via CUPS. Here's the output of the preprocessing stage of programs/dtprintinfo/UI/DtPrinterIcon.C if (stat(filename, &statbuff) < 0 || statbuff.st_size ==

Re: [cdesktopenv-devel] NetBSD/DragonFlyBSD progress

2012-09-23 Thread Marcin Cieslak
On Sun, 23 Sep 2012, Jelle Hermsen wrote: > It would be great if you would only need to teach one configuration > header about an OS, defining a bunch of have_something macros in > there. However, this will be quite a bit of work, especially when you > consider the support for legacy systems and O