BTW, some message files have a “.cat” suffix, and are generated by gencat(1). Some OS’s offer a command that can dump those binary files back in a text form that can be edited and resubmitted to gencat. That command is called “dspcat”. Solaris doesn’t have that command, so I recreated it a long time ago according to my understanding of another OS’s man page for it (I never actually used it on the other OS). On anything other than Solaris, it’s brute force, which can be quite slow if the message set numbers or message numbers are very sparse, since the library routines only provide for retrieving a message by message set and message number, not for enumerating the existing messages. On Solaris, I could examine the binary format and enumerate the contents, so it’s got code to make it much faster there. If anyone might need it, a copy is at
http://www.smart.net/~rlhamil/goodies/dspcat.tar.gz That’s no big deal when one has full source for everything, but I’d needed it when I wanted to tweak a copy of dthello.cat back when CDE was still closed. On Mar 8, 2015, at 11:29 PM, Isaac Dunham <ibid...@gmail.com> wrote: > On Sun, Mar 08, 2015 at 12:37:48PM +0100, Edmond Orignac wrote: >> I have a file with datatypes for PDF, DJVU, wordprocessor and spreadsheets >> formats, multimedia formats, compressed formats (bzip, gzip, zoo, pkzip, >> winrar, lzma) and some programming languages. >> >> I have not tried to generate a source file for it, but it could be included >> in contrib/ > > Ah, that's almost all that I wanted, and more besides. > > So I've hacked up a little tool that will convert it into the source. > Said tool is rather clumsy; it *must* be invoked as: > nlsize file.dt <NUMBER> > > and it will generate temp.dt.src and temp.dt.tmsg, > overwriting them if they exist. > <NUMBER> is whereever you want the index number for localization to start. > There is of course no sanity checking; it calls > fopen(argv[1]); atoi(argv[2]); > and doesn't check them. Also note the hardcoded output filenames. > It also assumes that the input file is valid, and that all lines are under > 4096 chars long. > > But here it is, along with the output from > nlsize extra_datatypes.dt 4000 > > You may treat it as public domain, via CC0. > >> The associated actions are defined in separate files. They can be found >> from my homepage at: >> >> http://edmond.orignac.pagesperso-orange.fr/appconfig.tgz >> >> I also have a set of XPM icons (*.l.pm, *.m.pm, *.s.pm, *.t.pm) for the >> various OpenOffice formats obtained by converting Windows .ico files created >> by Lee Corbin in 2002 for OpenOffice 2.0 that might be used in CDE to >> support Openoffice files. If you are interested to use them, I may add a tgz >> file to my homepage. > > I haven't been using OO/LO recently, though if I had I'd be > interested. > > > Thank you, > Isaac Dunham > > > <cde-data.tgz>------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. > http://goparallel.sourceforge.net/_______________________________________________ > cdesktopenv-devel mailing list > cdesktopenv-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel