create_replace_merge_dialog: "A folder named ... already exists in this location.
Do you want to merge the contents of the two folders?" and Stop / Merge, no radio
box. Merge is the default (Return), Escape and the Stop button cancel. The
hidden G_merge_toggle keeps replace_merge_ok_callback and the pipe protocol as
they were; "replace the whole folder" is no answer of this question any more.
Found while measuring Stop: the focus of both dialogs sat on the FIRST button
(Stop here, Keep Both in the single-file dialog of t0156), and in Motif Return
activates the focused button, so Return did not take the default. XmNinitialFocus
is ignored on the form for a button in a RowColumn (a tab group of its own); it
is set on the row now, to Merge and Replace.
Measured (real dtfile on Xvfb; Cmd+C opens the Copy Object dialog, the
destination typed there; folders A/ord{one.txt}, B/ord{two.txt}):
folder: Return -> B/ord one.txt two.txt; Merge button -> the same; Escape and
Stop button -> B/ord two.txt only; A/ord one.txt every time.
file (A/f.txt "from-A", B/f.txt "from-B"): Return -> f.txt=from-A; Escape and
Stop button -> f.txt=from-B (the Stop of t0156 now measured); Keep Both ->
f_1.txt=from-B and f.txt=from-A.
Before the focus fix Return in the folder dialog did NOT merge (B/ord two.txt).
Cross compile for NetBSD (x86_64--netbsd-gcc, the build's flags): no error, no
warning in the changed code. Screenshots: Finder-Copy-Merge-mcde.png (new),
Finder-Copy-Replace-mcde.png (retaken: the focus is on Replace).
Not done: the multi-collision dialog "Do this for all" (item 3 of the task).
Keep Both renames the EXISTING file (CDE's rename protocol); the Finder keeps
the incoming copy under the new name -- noted in AGENTS.md, not changed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CDE - The Common Destop Environment
In 2012, CDE was opensourced under the terms of the LGPL V2 license by the Open Group.
You may reuse and redistribute this code under the terms of this license. See the COPYING file for details.
Downloading
Downloading this release:
CDE may be downloaded in source form from the Common Desktop Environment website:
http://sourceforge.net/projects/cdesktopenv/
Or via git:
git clone git://git.code.sf.net/p/cdesktopenv/code CDE
The git repository will always be more up to date than the downloadable tarballs we make available, so if you have problems, please try the latest version from git master.
Note also that the master branch may be unstable, so your milage may vary.
Compiling
Complete build and installation instructions can be found on the CDE wiki:
http://sourceforge.net/p/cdesktopenv/wiki/Home/
Please go there and read the appropriate section(s) for your OS (Linux or FreeBSD/OpenBSD/NetBSD currently) prior to attmpting to build it.
There are a variety of dependencies that must be met, as well as specific set up steps required to build, especially relating to localization and locales.
Do not expect to just type 'make' and have it actually work without meeting the prerequisites and following the correct steps as spelled out on the wiki.
There are also a lot of other documents and information there that you might find useful.
Assuming you've met all of the requirements regarding packages needed for the build, you can follow the standard autoconf method:
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
NOTE: BSD users must currently install and use gmake to compile, as well as specify the location of the TCL libraries and headers. So the instructions for them would looke like:
$ ./autogen.sh
$ ./configure --with-tcl=/usr/local/lib/tcl8.6 MAKE="gmake"
$ gmake
$ sudo gmake install
Of course change to location of your TCL directory as needed for your system.
Support
Mailing list
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
IRC
There is a CDE IRC channel on irc.libera.chat, channel #cde
Patches welcome
Please see
https://sourceforge.net/p/cdesktopenv/wiki/Contributing%20to%20CDE/
for information on how to contribute.