oweals/cde.git
10 years agolinux.cf: fix typo and some formatting.
Jon Trulson [Sun, 9 Mar 2014 20:52:43 +0000 (14:52 -0600)]
linux.cf: fix typo and some formatting.

10 years agonsgmls: fix up some gcc 4.8 warnings.
Jon Trulson [Sun, 9 Mar 2014 20:24:00 +0000 (14:24 -0600)]
nsgmls: fix up some gcc 4.8 warnings.

10 years agolinux: Use installed X11 header files rather than requiring /imports/x11/include
Jon Trulson [Sun, 9 Mar 2014 10:36:42 +0000 (04:36 -0600)]
linux: Use installed X11 header files rather than requiring /imports/x11/include

With this patch, it is no longer neccessary to create the
/imports/x11/include/X11 symlink...

Also, remove the include of xfree86.cf from linux.cf, and define our
own DefaultCCOptions.  Setup to use only -ansi, not -pendantic.

10 years agolibDtTerm: add include <stdio.h> so FILE is properly defined.
Jon Trulson [Sun, 9 Mar 2014 07:21:40 +0000 (00:21 -0700)]
libDtTerm: add include <stdio.h> so FILE is properly defined.

TermPrim/TermPrimDebug.h references FILE without including the
required header file.  I am not sure why this hasn't shown up before.

10 years agolinux depend: stop using makedepend, use gcc instead
Jon Trulson [Sun, 9 Mar 2014 06:43:17 +0000 (23:43 -0700)]
linux depend: stop using makedepend, use gcc instead

gcc can generate dependencies, so use that instead of building and
depending on the rather delicate and archaic 'makedepend'.

This fix removes makedepend from being built or used on linux, and
instead uses gcc to generate dependency data in .depend files.

I think pretty much every platform that uses gcc should do this.  I am
not sure if other compilers (intel, clang) can do this though.

10 years agobuilding_release_archive: add some steps and clean up
Jon Trulson [Sun, 2 Mar 2014 00:01:12 +0000 (17:01 -0700)]
building_release_archive: add some steps and clean up

10 years agoupdate HISTORY file for 2.2.1, though a little too late :)
Jon Trulson [Sat, 1 Mar 2014 23:49:09 +0000 (16:49 -0700)]
update HISTORY file for 2.2.1, though a little too late :)

10 years agoVersion change to 2.2.1 2.2.1
Jon Trulson [Sat, 1 Mar 2014 22:48:49 +0000 (15:48 -0700)]
Version change to 2.2.1

10 years agoadmin: add a BuildNotes dir for documenting release proceedures, etc
Jon Trulson [Sat, 1 Mar 2014 22:47:34 +0000 (15:47 -0700)]
admin: add a BuildNotes dir for documenting release proceedures, etc

10 years agoFix UTF8 problem on non-linux systems
Ulrich Wilkens [Fri, 28 Feb 2014 13:46:34 +0000 (14:46 +0100)]
Fix UTF8 problem on non-linux systems

10 years agoAddition of the en_US.UTF-8 locale: installation support
Eugene Doudine [Tue, 25 Feb 2014 10:52:00 +0000 (12:52 +0200)]
Addition of the en_US.UTF-8 locale: installation support

10 years agoaddition of en_US.UTF-8 locale: fonts.alias and fonts.dir files
Eugene Doudine [Tue, 25 Feb 2014 10:46:03 +0000 (12:46 +0200)]
addition of en_US.UTF-8 locale: fonts.alias and fonts.dir files

10 years agoFix for dtinfo segfaults
Ulrich Wilkens [Thu, 20 Feb 2014 18:48:56 +0000 (19:48 +0100)]
Fix for dtinfo segfaults

10 years agoRe-add NO_DTINFO blocks removed in NetBSD port patch
Jon Trulson [Sun, 23 Feb 2014 02:16:34 +0000 (19:16 -0700)]
Re-add NO_DTINFO blocks removed in NetBSD port patch

10 years agoNetBSD port
Ulrich Wilkens [Thu, 20 Feb 2014 18:19:17 +0000 (19:19 +0100)]
NetBSD port

10 years agoFix dtcm build on OpenBSD-current.
Pascal Stumpf [Fri, 21 Feb 2014 17:02:36 +0000 (18:02 +0100)]
Fix dtcm build on OpenBSD-current.

libcompat and header files will be gone in the upcoming 5.5 release, so we
cannot use the ftime(3) interface there.  Fall back to the SVR4 version of the
code, but use the tm_gmtoff field of struct tm to get the timezone.
Unfortunately, that is not portable (because I really really would like to
remove that old and crummy struct timeb from the public API).

10 years agoFixes segfault in dtprintinfo when used UTF-8 locale, bug was caused by unchecked...
Eugene Doudine [Fri, 21 Feb 2014 11:52:25 +0000 (13:52 +0200)]
Fixes segfault in dtprintinfo when used UTF-8 locale, bug was caused by unchecked return value of XmeRenderTableGetDefaultFont()

10 years agoFix for several segfaults in dtwm that happen with UTF-8 locale and were caused by...
Eugene Doudine [Fri, 21 Feb 2014 11:34:04 +0000 (13:34 +0200)]
Fix for several segfaults in dtwm that happen with UTF-8 locale and were caused by unckeked XmeRenderTableGetDefaultFont return value

10 years agowwl: fixed dtinfo segfault due to missing copy constructor in WArgList
alx [Fri, 21 Feb 2014 14:29:15 +0000 (15:29 +0100)]
wwl: fixed dtinfo segfault due to missing copy constructor in WArgList

10 years agodtscreen: cosmic flame fractals missing drawing code
alx [Fri, 21 Feb 2014 14:21:20 +0000 (15:21 +0100)]
dtscreen: cosmic flame fractals missing drawing code

10 years agodtfile: fclose called twice on same handle
alx [Fri, 21 Feb 2014 14:18:36 +0000 (15:18 +0100)]
dtfile: fclose called twice on same handle

10 years agoBugfix for #9 Cut off fonts in titles
Eugene Doudine [Mon, 17 Feb 2014 22:12:19 +0000 (00:12 +0200)]
Bugfix for #9 Cut off fonts in titles

10 years agoFix for xorg-xkb partially freezes dtwm when keyboard layout is changed.
Jon Trulson [Mon, 17 Feb 2014 21:37:09 +0000 (14:37 -0700)]
Fix for xorg-xkb partially freezes dtwm when keyboard layout is changed.

Patch submitted by Eugene Doudine <dudinea@gmail.com>

10 years agodtexec: use proper FD_CLOEXEC rather than a hardcoded 1
Jon Trulson [Sun, 29 Dec 2013 22:41:56 +0000 (15:41 -0700)]
dtexec: use proper FD_CLOEXEC rather than a hardcoded 1

10 years agodtexec: fix a case on linux where an infinite loop could occur.
Jon Trulson [Sun, 29 Dec 2013 22:00:16 +0000 (15:00 -0700)]
dtexec: fix a case on linux where an infinite loop could occur.

10 years agoAdd dtwm.mgg Greek UTF translation from Antonis Tsolomitis
Jon Trulson [Sun, 29 Dec 2013 19:54:55 +0000 (12:54 -0700)]
Add dtwm.mgg Greek UTF translation from Antonis Tsolomitis

11 years agoIntroduction of BSDArchitecture
Ulrich Wilkens [Sat, 19 Oct 2013 21:55:59 +0000 (23:55 +0200)]
Introduction of BSDArchitecture

11 years agoAdd -quiet option to dtlogin.
Isaac Dunham [Sun, 22 Sep 2013 03:30:52 +0000 (20:30 -0700)]
Add -quiet option to dtlogin.

This should shut up the console spamming, for those who use VT1.
Default behavior is not changed.

11 years agodtlogin: use proper path to getty and /usr/local/bin in path on Linux
Isaac Dunham [Mon, 23 Sep 2013 00:15:06 +0000 (17:15 -0700)]
dtlogin: use proper path to getty and /usr/local/bin in path on Linux

11 years agocorrection of message files
Ulrich Wilkens [Sat, 14 Sep 2013 21:33:49 +0000 (23:33 +0200)]
correction of message files

11 years agoNo symlinks to libraries on OpenBSD (default install)
Ulrich Wilkens [Wed, 4 Sep 2013 22:03:16 +0000 (00:03 +0200)]
No symlinks to libraries on OpenBSD (default install)

11 years agoMerge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Jon Trulson [Tue, 3 Sep 2013 17:53:03 +0000 (11:53 -0600)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code

11 years agodtstyle: Resolve 70 compiler warnings
Peter Howkins [Tue, 3 Sep 2013 14:41:58 +0000 (15:41 +0100)]
dtstyle: Resolve 70 compiler warnings

11 years agodtstyle: Alphabetically sort the backdrops in the backdrop list.
Peter Howkins [Tue, 3 Sep 2013 13:34:11 +0000 (14:34 +0100)]
dtstyle: Alphabetically sort the backdrops in the backdrop list.

11 years agoDo not install symlinks to libraries on OpenBSD.
Pascal Stumpf [Sat, 31 Aug 2013 17:16:09 +0000 (19:16 +0200)]
Do not install symlinks to libraries on OpenBSD.

11 years agodtinfogen_worker: don't free variables then use them later.
Jon Trulson [Sat, 31 Aug 2013 23:18:53 +0000 (17:18 -0600)]
dtinfogen_worker: don't free variables then use them later.

In several places, variables were XFree()'d, but then used in system()
commands later.  This would cause various issues - on my system, I'd
get:

sh: 1: Syntax error: EOF in backquote substitution
system for rm failed; exiting...

while building the guides.

11 years agodtinfo activation
Ulrich Wilkens [Wed, 28 Aug 2013 19:30:37 +0000 (21:30 +0200)]
dtinfo activation

11 years agodtinfo other files
Ulrich Wilkens [Wed, 28 Aug 2013 19:16:39 +0000 (21:16 +0200)]
dtinfo other files

11 years agodocuments for dtinfo
Ulrich Wilkens [Wed, 28 Aug 2013 18:35:54 +0000 (20:35 +0200)]
documents for dtinfo

11 years agodtinfo subdirectory mmdb
Ulrich Wilkens [Wed, 28 Aug 2013 18:32:11 +0000 (20:32 +0200)]
dtinfo subdirectory mmdb

11 years agodtinfo subdirectory dtinfogen
Ulrich Wilkens [Wed, 28 Aug 2013 18:07:21 +0000 (20:07 +0200)]
dtinfo subdirectory dtinfogen

11 years agodtinfo subdirectory dtinfo
Ulrich Wilkens [Wed, 28 Aug 2013 17:45:57 +0000 (19:45 +0200)]
dtinfo subdirectory dtinfo

11 years agodtinfo subdirectory DtMmdb
Ulrich Wilkens [Wed, 28 Aug 2013 17:16:37 +0000 (19:16 +0200)]
dtinfo subdirectory DtMmdb

11 years agoRemove installation of motif man pages.
Ulrich Wilkens [Sun, 25 Aug 2013 19:40:32 +0000 (21:40 +0200)]
Remove installation of motif man pages.

11 years agodtlp: Fix the path to DtFuncs.dtsh if CDE_INSTALLATION_TOP != /usr/dt.
Pascal Stumpf [Tue, 6 Aug 2013 12:21:48 +0000 (14:21 +0200)]
dtlp: Fix the path to DtFuncs.dtsh if CDE_INSTALLATION_TOP != /usr/dt.

While here, also point the man page to the correct default location.

11 years agoavoid identical Vector instantiations.
Ulrich Wilkens [Mon, 29 Jul 2013 23:47:52 +0000 (01:47 +0200)]
avoid identical Vector instantiations.

11 years agodtlogin: correct path to getty.
Pascal Stumpf [Thu, 25 Jul 2013 10:28:33 +0000 (12:28 +0200)]
dtlogin: correct path to getty.

11 years agolib/DtHelp: added missing include.
Ulrich Wilkens [Wed, 24 Jul 2013 23:09:25 +0000 (01:09 +0200)]
lib/DtHelp: added missing include.

11 years agoinclude unistd.h for read(2) prototype. Fixes dtdocbook on PowerPC.
Pascal Stumpf [Tue, 23 Jul 2013 22:55:59 +0000 (00:55 +0200)]
include unistd.h for read(2) prototype. Fixes dtdocbook on PowerPC.

There are a lot more warnings here, but this one was an actual bug.  Full
treatment pending ...

11 years agoMake dtksh build on OpenBSD/powerpc.
Pascal Stumpf [Tue, 23 Jul 2013 21:19:16 +0000 (23:19 +0200)]
Make dtksh build on OpenBSD/powerpc.

11 years agoOpenBSD.cf: don't include xorg.cf (leftover)
Pascal Stumpf [Tue, 23 Jul 2013 20:32:35 +0000 (22:32 +0200)]
OpenBSD.cf: don't include xorg.cf (leftover)

11 years agottsnoop: deal with iostream.h and missing sentinels.
Pascal Stumpf [Tue, 23 Jul 2013 11:49:26 +0000 (13:49 +0200)]
ttsnoop: deal with iostream.h and missing sentinels.

Replacing strstream may be possible, but requires more work and a better
understanding of the code.

11 years agoKill iostream.h deprecation warnings on *BSD.
Pascal Stumpf [Tue, 23 Jul 2013 11:21:51 +0000 (13:21 +0200)]
Kill iostream.h deprecation warnings on *BSD.

11 years agoSECURITY fix for dtappintegrate: Use mktemp(1) to generate a template.
Pascal Stumpf [Mon, 22 Jul 2013 22:59:23 +0000 (00:59 +0200)]
SECURITY fix for dtappintegrate: Use mktemp(1) to generate a template.

Using a fixed filename in /tmp is just begging for a symlink attack ...

11 years agoerror.ds.src: don't hardcode /usr/dt
Pascal Stumpf [Mon, 22 Jul 2013 22:19:04 +0000 (00:19 +0200)]
error.ds.src: don't hardcode /usr/dt

11 years agoAdapt dtlogin/config/_common.ksh.src for OpenBSD:
Pascal Stumpf [Mon, 22 Jul 2013 21:39:13 +0000 (23:39 +0200)]
Adapt dtlogin/config/_common.ksh.src for OpenBSD:

* ps(1) is totally different on BSD and Linux.  The OSF commandline works fine.
* fontpath is in /usr/X11R6 on OpenBSD.

11 years agoSimplify programs/Imakefile a bit. dtksh, dtlogin and dtcm build everywhere.
Pascal Stumpf [Mon, 22 Jul 2013 20:03:34 +0000 (22:03 +0200)]
Simplify programs/Imakefile a bit. dtksh, dtlogin and dtcm build everywhere.

11 years agos,/usr/dt,CDE_INSTALLATION_TOP,g in dtlogin/config
Pascal Stumpf [Mon, 22 Jul 2013 20:14:45 +0000 (22:14 +0200)]
s,/usr/dt,CDE_INSTALLATION_TOP,g in dtlogin/config

11 years agoXreset.src: Do not hardcode /usr/dt.
Pascal Stumpf [Mon, 22 Jul 2013 19:59:15 +0000 (21:59 +0200)]
Xreset.src: Do not hardcode /usr/dt.

11 years agoDo not hardcode /usr/dt in print.dt.
Pascal Stumpf [Mon, 22 Jul 2013 19:56:37 +0000 (21:56 +0200)]
Do not hardcode /usr/dt in print.dt.

11 years agoSilence lots of warnings in lib/DtHelp.
Pascal Stumpf [Mon, 22 Jul 2013 16:44:04 +0000 (18:44 +0200)]
Silence lots of warnings in lib/DtHelp.

* 64bit warnings
* Missing prototypes
* explicit parentheses / brackets

There's still some work to be done, but, as always, it's a start ...

11 years agokill a few more warnings in DtPrint
Pascal Stumpf [Mon, 22 Jul 2013 12:31:46 +0000 (14:31 +0200)]
kill a few more warnings in DtPrint

11 years agosync warning flags betseen cc and c++ on OpenBSD
Pascal Stumpf [Mon, 22 Jul 2013 11:38:58 +0000 (13:38 +0200)]
sync warning flags betseen cc and c++ on OpenBSD

11 years agoDo not use -fpermissive in programs/nsgmls. It's not needed.
Pascal Stumpf [Mon, 22 Jul 2013 11:07:00 +0000 (13:07 +0200)]
Do not use -fpermissive in programs/nsgmls. It's not needed.

11 years agoKill most warnings in lib/DtTerm.
Pascal Stumpf [Mon, 22 Jul 2013 10:34:15 +0000 (12:34 +0200)]
Kill most warnings in lib/DtTerm.

Mostly missing headers, explicit parentheses and new prototypes.

Some Caveats:
* I haven't compile-tested the SVR4 getpty file, it might need another tweak
* There were operator precedence bugs in TermPrimCursor.c and TermPrimRender.c
  (^ vs. !=).  This might change behaviour, but at least I haven't experienced
  any crashes ...
* This adds a little more dependencies for include ordering, but unless we
  want to play the "headers that include headers that include headers..." game,
  this is unavoidable.

11 years agoKill lots of warnings in DtSvc.
Pascal Stumpf [Sun, 21 Jul 2013 20:55:09 +0000 (22:55 +0200)]
Kill lots of warnings in DtSvc.

11 years agodticon: fixed "rubber string" drawing on high/true color displays
alx [Mon, 24 Jun 2013 20:29:19 +0000 (22:29 +0200)]
dticon: fixed "rubber string" drawing on high/true color displays

11 years agoupdate for 2.2.0d release 2.2.0d
Jon Trulson [Thu, 30 May 2013 21:20:09 +0000 (15:20 -0600)]
update for 2.2.0d release

11 years agoupdate for release
Jon Trulson [Thu, 30 May 2013 21:11:21 +0000 (15:11 -0600)]
update for release

11 years agoUpdate date in copyright (and splash screen)
Peter Howkins [Thu, 30 May 2013 15:08:58 +0000 (16:08 +0100)]
Update date in copyright (and splash screen)

11 years agoFix screen locking for BSDs
Ulrich Wilkens [Tue, 28 May 2013 22:30:06 +0000 (00:30 +0200)]
Fix screen locking for BSDs

11 years agoRevert "Enable the use of the TIRPC library on Linux."
Jon Trulson [Tue, 28 May 2013 01:34:08 +0000 (19:34 -0600)]
Revert "Enable the use of the TIRPC library on Linux."

This reverts commit 8a8619bfa8a25342d898d2cc4decd7bb66b9c060.

More work will need to be done to use tirpc on 64bit systems.  It
works 'accidentally' on 32b systems.  The issue is that tirpc
includes *must* be used, and there is some work required to properly
support this (like proper include paths, proper definition of XDR,
etc).

So for now, we revert this until that work can be completed and tested,
otherwise 64b linux builds are likely to have problems.

11 years agoEnable X11 screen saver extension on Linux
alx [Mon, 27 May 2013 00:13:27 +0000 (02:13 +0200)]
Enable X11 screen saver extension on Linux

11 years agoMerge branch 'master' into multi-monitor
Jon Trulson [Sun, 26 May 2013 23:50:12 +0000 (17:50 -0600)]
Merge branch 'master' into multi-monitor

11 years agoMerge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Jon Trulson [Sun, 26 May 2013 23:48:55 +0000 (17:48 -0600)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code

11 years agoEnable the use of the TIRPC library on Linux.
Jon Trulson [Sun, 26 May 2013 23:47:00 +0000 (17:47 -0600)]
Enable the use of the TIRPC library on Linux.

This should avoid the need to run rpcbind in insecure mode.  You will
need to have the libtirpc-dev package, or equivalent installed.

11 years agodtstyle: Sort color palette names into alphabetical order for displaying.
Peter Howkins [Mon, 20 May 2013 14:53:44 +0000 (15:53 +0100)]
dtstyle: Sort color palette names into alphabetical order for displaying.

11 years agodtksh: fix a build issue with Kubuntu x86_64.
Jon Trulson [Sat, 18 May 2013 05:22:33 +0000 (23:22 -0600)]
dtksh: fix a build issue with Kubuntu x86_64.

Remove an apparently unnecessary 'mac' definition for feature/fs and
an unnecessary struct stat forward declaration.

11 years agoMerge branch 'master' into multi-monitor
Jon Trulson [Sat, 18 May 2013 05:55:51 +0000 (23:55 -0600)]
Merge branch 'master' into multi-monitor

11 years agodtksh: fix a build issue with Kubuntu x86_64.
Jon Trulson [Sat, 18 May 2013 05:22:33 +0000 (23:22 -0600)]
dtksh: fix a build issue with Kubuntu x86_64.

Remove an apparently 'mac' definition for feature/fs and an
unnecessary struct stat forward declaration.

11 years agoTT RPC server: Don't search 538 million transients trying to allocate one.
Jon Trulson [Fri, 17 May 2013 22:16:17 +0000 (16:16 -0600)]
TT RPC server: Don't search 538 million transients trying to allocate one.

Currently, mp_rpc_server.C tries 538 million ports to acquire an
available transient rpcbind port number.  This is bad when rpcbind is
running in secure mode (and you are not using tirpc) - Xsession will
'hang' at the dthello (blue) screen filling up your error logs with
RPC errors.

Now, just try +- 50 (for a total of 100 ports) before bailing.  The
dthello 'blue screen of death' is the most common problem in starting
CDE when rpcbind isn't set up properly.  This should at least not
cause the appearance of a 'hang'.

11 years agoFixed dtpad server crash when closing editor window associated with primary document
alx [Tue, 2 Apr 2013 20:44:14 +0000 (22:44 +0200)]
Fixed dtpad server crash when closing editor window associated with primary document

11 years agoBuild dtksh on more OSs
Ulrich Wilkens [Tue, 26 Mar 2013 03:08:13 +0000 (04:08 +0100)]
Build dtksh on more OSs

11 years agoAdd basic Xinerama support via new lib/DtXinerama
Jon Trulson [Wed, 27 Mar 2013 01:49:50 +0000 (19:49 -0600)]
Add basic Xinerama support via new lib/DtXinerama

This adds a basic library and support to dtsession and dtlogin to
support Xinerama/Twinview, where multimple monitors are used to make
up an X11 screen.

The main goal here is to draw dialogs and such centered on a monitor,
rather than spread out over multiple monitors.

Might need to add sorting - as on my test system, what I would
consider monitor 0, appears to actually be monitor 1.  So a sort might
need to be added to sort the screens according to increasing x and y
offsets so it make sense to a user.

Also, this library is built statically and not documented.  Maybe it
could be 'filled' out and refactored/redesigned in the futre if need
be and suppoerted.

It is enabled via a define, CDE_USEXINERAMA in site.def.  It's a very
simple lib, so I do not expect any issues with the BSD's - it should
build and work fine, assuming your X server has the XINERAMA
extension, which I think pretty much all of them do at this point.

11 years agoAdd initial Greek UTF-8 translations.
Jon Trulson [Tue, 12 Mar 2013 21:03:43 +0000 (15:03 -0600)]
Add initial Greek UTF-8 translations.

Supplied by Antonis Tsolomitis <antonis.tsolomitis@gmail.com>

11 years agoFixed building on FreeBSD 8.x
Karsten Pedersen [Tue, 26 Feb 2013 19:12:35 +0000 (19:12 +0000)]
Fixed building on FreeBSD 8.x

11 years agoFixed colored border around workspace buttons
Karsten Pedersen [Tue, 26 Feb 2013 19:09:17 +0000 (19:09 +0000)]
Fixed colored border around workspace buttons

11 years agoAvoid negative array subscript; break out of the loop if that happens.
Pascal Stumpf [Tue, 27 Nov 2012 20:12:23 +0000 (21:12 +0100)]
Avoid negative array subscript; break out of the loop if that happens.

12 years agoIntroduce DTKORNSHELL, analogous to KORNSHELL.
Pascal Stumpf [Thu, 22 Nov 2012 14:49:51 +0000 (15:49 +0100)]
Introduce DTKORNSHELL, analogous to KORNSHELL.

DTKORNSHELL is used to specify the install location of dtksh on your system,
preventing hardcoding of /usr/dt/bin/dtksh in Shebang lines and such.

12 years agoKeep track of the length of the string in ExpandVariables().
Pascal Stumpf [Thu, 22 Nov 2012 13:27:26 +0000 (14:27 +0100)]
Keep track of the length of the string in ExpandVariables().

On OpenBSD, the 'S' option to malloc(3) enables guard pages (among other
things).  This loop could have triggered this trap when reading beyond the
buffer.  Also, the whole "while(*ip)" construct was based on the assumption that
the memory after the string is always zero-filled.

12 years agoRevert "Older Linux installations do not have svcfd_create()."
Jon Trulson [Sun, 25 Nov 2012 02:16:58 +0000 (19:16 -0700)]
Revert "Older Linux installations do not have svcfd_create()."

This reverts commit 44e384aedb3b8aabbd3c556af28848fc58c09c60.

This code is actually needed.  If svcfd_create() is not available, it
should be fixed only for those systems that it affects.

12 years agoSet NATIVEXBINDIR on OpenBSD.
Pascal Stumpf [Tue, 20 Nov 2012 19:08:34 +0000 (20:08 +0100)]
Set NATIVEXBINDIR on OpenBSD.

12 years agoRespect CDE_CONFIGURATION_TOP and CDE_INSTALLATION_TOP.
Pascal Stumpf [Tue, 20 Nov 2012 21:42:29 +0000 (22:42 +0100)]
Respect CDE_CONFIGURATION_TOP and CDE_INSTALLATION_TOP.

Do not hardcode /etc/dt and /usr/dt.

12 years agodtgreet: Do not crash if LANG is not set in the environment.
Pascal Stumpf [Tue, 20 Nov 2012 18:42:33 +0000 (19:42 +0100)]
dtgreet: Do not crash if LANG is not set in the environment.

In that case, catopen() will have never been called, and we'd feed 0 as the
first argument to catgets().  This crashes, at least on OpenBSD.

12 years agoCorrect paths to xterm as failsafe client on the BSDs.
Pascal Stumpf [Tue, 20 Nov 2012 21:03:30 +0000 (22:03 +0100)]
Correct paths to xterm as failsafe client on the BSDs.

12 years agoUse same SIGCHLD handling for OpenBSD as for OSF.
Pascal Stumpf [Tue, 20 Nov 2012 09:09:16 +0000 (10:09 +0100)]
Use same SIGCHLD handling for OpenBSD as for OSF.

12 years agodtaction: Resolve 8 warnings caused by -Wall
Peter Howkins [Tue, 20 Nov 2012 16:22:04 +0000 (16:22 +0000)]
dtaction: Resolve 8 warnings caused by -Wall

12 years agodtcalc: Resolve 82 warnings causing by enabling -Wall
Peter Howkins [Tue, 20 Nov 2012 14:49:40 +0000 (14:49 +0000)]
dtcalc: Resolve 82 warnings causing by enabling -Wall

12 years agoOn OpenBSD, use FILE_MAP_OPTIMIZED.
Pascal Stumpf [Mon, 19 Nov 2012 15:22:47 +0000 (16:22 +0100)]
On OpenBSD, use FILE_MAP_OPTIMIZED.

This has the effect of not performing a tt call each time in
ResolveLocalPathName() if we're on the local host anyway.  Drastically reduces
dtfile startup time.

12 years agoUse /usr/sbin/sendmail as default mailer on OpenBSD.
Pascal Stumpf [Sun, 18 Nov 2012 23:26:54 +0000 (00:26 +0100)]
Use /usr/sbin/sendmail as default mailer on OpenBSD.