[image of a Brave GNU World]
Brave GNU World - Issue #20
Copyright © 2000 Georg C. F. Greve <greve@gnu.org>
Permission statement below.

[DE | EN | FR | JA | ES]

Welcome to Georg's Brave GNU World. This month I got several small projects covering a relatively wide spectrum of applications. I'll begin with a very interesting mail reader.

Sylpheed

Sylpheed [5] is an extremely user friendly mail reader developed by Hiroyuki Yamamoto and others. The reason he started the Sylpheed project was his dissatisfaction with existing mail reading programs.

The Emacs based mail readers have problems handling attachments properly, are pretty heavy-weight and they require starting emacs in order to read mail. The other GUI-oriented mail programs have interfaces that the author felt were hard to get used to, sometimes they don't support threads, don't know about the existence of other mail readers or some features can't be controlled via the keyboard. Everyone who has thought similar things in the past might want to give Sylpheed a try.

The advantages of Sylpheed are pretty impressive. Based on the GTK+ toolkit it has a very intuitive interface. Its capability for filtering mail and display it in threads helps you keep your mail organized. Of course it does support multipart MIME and contains an integrated image viewer. X-Faces are supported as are "clickable URIs." But despite this heavy GUI reliance, everything can be done with the keyboard, as well.

An extremely positive feature is the XML-based address book - this way it is guaranteed to be portable and available for other applications. The mail folders are portable, as well. Since they are saved in the MH format, they can be used by other mail readers like Mew.

On top of this Sylpheed can read (but not write) news and it does support calling the external program fetchmail and procmail to retrieve mail. Outgoing mail can be collected in a queue before sending.

Sylpheed is rather young, so there is still a pretty long TODO list that contains IMAP4, LDAP, PGP/GPG support, SSL, compression of mail folders and more. It also needs some work on the English localisation - but since it is gettext based this shouldn't be too hard. Debian users can install Sylpheed directly from the given address; everyone else isn't worse off since it does support autoconf/automake.

If you are unhappy with your mail reader at the moment, you should definitely consider giving it a try.

Xzgv

Xzgv [6] is an image viewer for X11 that has very much been inspired by the console tool zgv. It was written by Russell Marks because he has a very big affinity for the console and he was unhappy about X11 image viewers. His original plan was just to write a zgv port for X11 but he very soon realized that this wouldn't reap the desired results.

Xzgv can be controlled completely using mouse or keyboard and it only uses a single window for selecting and displaying images - no more of the "window zoo" that some image viewers tend to create. Since it has been written based on the GTK+ toolkit with conscious unawareness of GNOME or KDE it can be used anywhere without a problem and has a great responsiveness as well as a good usability.

The author asked me to emphasize that writing a good image viewer is not as trivial a task as some people appear to think. Of course it is not a highly complicated task to "just display some image." But creating a general image viewer that "does things right" requires solving some non-obvious problems.

Xzgv is already very much finished - plans for further development are limited to maybe get away from the Imlib 1.x library and optimize viewing really big pictures.

As it is licensed under the GNU General Public License, I can definitely recommend it without any bad feelings.

I'll continue with a rather special program that has recently joined the GNU Project.

Solfege

Solfege [7] is a program to train your ears. This area has been almost completely dominated by proprietary programs under MS Windows or MacOS. Solfege has been written by Tom Cato Amundsen, a music teacher who began the project for his own lessons.

A remarkable feature is that it is extensible via "lesson files" in ASCII format, so that people with knowledge about music education can easily add their own lessons. It happens that writing more of these files is one of the most urgent tasks at hand.

In the long run the author would like to reimplement large parts of the program as the solutions chosen have proven to be unsatisfactory to him. In doing so the help of people with experience in OSS programming would be very welcome.

it should also be mentioned that the obvious target audience, music students & others interested in training their hearing should not expect too much from this program at the moment because Solfege V1.0 is still a bit away.

The next project has also made its way into the GNU Project and comes from the school area, as well.

Ggradebook

As the name suggests, Ggradebook [8] by Norbert de Jonge and several volunteers is a program to manage grades.

It is based on the GTK+ toolkit and can optionally be compiled with GNOME support. Ggradebook can handle grades in percentages, abstract numerical or alphabetical form; the last two can be matched to percentages automatically and their scales are customizable.

A current problem is that with percentages and the alphabetical grades it is not yet possible to use a "+" or "-" to raise/lower the grades - this can only be done for numerical grades. Further plans involve an import/export filter for similar programs, internationalisation and more features. Additionally, although the interface does allow accessing all functions it could definitely be improved in terms of user-friendliness.

The biggest difficulty the authors are facing at the moment is the lack of feedback - they need more. So all readers who could use something like it are encouraged to give it a try and tell them what you think.

The next three projects are probably are definitely more on the developer's side.

Common C++

Common C++ [9] originally started out as the APE project written by David Sugar; it has been merged in March 2000 with Common C++ by David Silverstone and since David Sugar preferred the name Common C++, the joint project kept that name.

Basically, the Common C++ project starts where the ANSI Std C++ library stops. The goal is to create a portable class library that provides functionality for tasks like abstract threading, sockets, serial I/O and a persistent class-serialization on Posix and Win32 systems.

Most of this functionality is already provided by single, unrelated libraries. For David Sugar, the advantage of Common C++ lies in the consistent structure for all these tasks. It is also very portable and instead of including everything in one big library, Common C++ uses different libraries for the different systems. This makes it possible to write the libraries custom fitted to the machine and system which reduces the overhead. At the same time Common C++ applications will work on both architectures.

As far as the compilers are concerned, it is very tolerant and supports several of the C++ compilers not obeying the standards - although he believes that with increasing standardization this becomes neglegible.

As most developers know, pretty much every Unix implementation has its own thread implementation that usually does not conform with the standard. For these Common C++ provides an extensive amount of tests during configuration time to assure they can be abstracted in a clean way. Although it does not yet cooperate directly with GNU Pth (GNU Portable Threads, see issue #1 of the Brave GNU World), it should already be able to work with it's pthread emulation. For the future it is planned to provide native GNU Pth support.

Currently a "rewrite" for version 2.0 is scheduled to happen this autumn in order to remove anachronisms for old C++ compilers. Additionally it is planned to support more platforms (BeOS) and as far as functionality is concerned, a library for network protocols will be implemented. The lack of this network protocol library is the biggest weakness of Common C++ right now, as far as David Sugar is concerned. In the long term perspective he expects to take a more administrative role as there is a very active community of developers for this project. He especially wants to see Henner Zeller and Gianni Marianni mentioned who put a lot of work into the latest release.

The license chosen for this project is the GNU General Public License with a few extra terms that are a bit like the Guile license. This places it between GPL and GNU Lesser General Public License as far as the granted rights & freedoms are concerned. Since this has led to some confusion in the past, version 2.0 will probably be distributed under the LGPL.

As of April 2000, Common C++ is an official GNU Project which isn't surprising as it is already the basis for several Free Software projects like Bayonne (see Brave GNU World issue #16).

GNU marst

GNU marst [10] is a program by Andrew Makhorin to translate Algol to C that is another recent addition to the GNU Project.

The project implements the complete Algol 60 programming language as specified in "Modified Report on the algorithmic Language Algol 60" [11]. As this language doesn't really change all that much, the author's current task is to write a front-end shell that makes handling easier for the user. If you happen to have free Algol 60 programs: the author is looking for programs of any kind at the moment.

Gengetopt

Just like the others, Gengetopt [12] is a new official GNU Project. It is a tool originally by Roberto Arturo Tena Sanchez but now maintained by Lorenzo Bettini. Its function is to create a C function that automatically checks and parses commandline options for other programs. The results are then returned in a struct.

This is a very useful tool for every C/C++ programmer, since it does the rather tedious but very important job of parsing the commandline for the programmer. The programmer simply specifies the desired options, whether they are mandatory or optional and whether they require a parameter. The C source code generated by gengetopt is added to the program and a simple function call validates and evaluates the commandline.

In the tradition of the Brave GNU World, I'd like to discuss something not directly related to software as the last project.

OpenTheory

The OpenTheory project by Stefan Meretz tries to transfer the spirit and workings of Free Software development to the development of documents. All the documents are under the GNU Free Documentation License and it is meant to host anything from documentation and books to concepts or theoretical documents.

The main site [13] offers a coordinative hub driven by a web based tool that allows exchanging thoughts and ideas. Projects can be started online and documents can be made available for discussion. All text is transmitted in ASCII format and stored in a MySQL database. The pages are based on PHP3 which makes them dynamic to the extreme.

Each of the projects has its own mailing list that can be posted to over the web interface. Additionally similar projects can be linked and share their mailing lists.

The only thing Stefan Meretz is missing right now is a mail interface to control the OpenTheory functions - at the moment documents cannot be submitted via mail.

The project has already been applied to some rather interesting tasks. The Oekonux project (Brave GNU World, issue #18) sprang to life there but people also used it to discuss and improve their talks for the LinuxTag in Stuttgart, Germany on it.

The OpenTheory project itself - which refers to the software providing the functionality - is licensed under the GNU General Public License and being at version 0.4 other developers are still very much invited to join.

see ya later...

Alright, that's it for this month. With a little luck I'll have something rather special next month - but it may also be delayed for another month or so. No promises. :-)

But as usual I would like to encourage you to contact me with new projects, ideas, question and suggestions [1].

Info
[1] Send ideas, comments and questions to Brave GNU World <column@brave-gnu-world.org>
[2] Home page of the GNU Project http://www.gnu.org/
[3] Home page of Georg's Brave GNU World http://brave-gnu-world.org
[4] "We run GNU" initiative http://www.gnu.org/brave-gnu-world/rungnu/rungnu.en.html
[5] Sylpheed home page http://members.linuxstart.com/~sunnyone/mylinux/sylpheed.en.html
[6] Xzgv home page http://rus.members.beeb.net/xzgv.html
[7] Solfege home page http://www.gnu.org/software/solfege/
[8] Ggradebook home page http://www.gnu.org/software/ggradebook/
[9] Common C++ home page http://www.commoncpp.cx/
[10] GNU marst home page http://www.gnu.org/software/marst/
[11] Modified Report on the Algorithmic Language Algol 60. The Computer Journal, Vol. 19, No. 4, Nov. 1976, pp. 364-79
[12] Gengetopt home page http://www.gnu.org/software/gengetopt/
[13] OpenTheory home page (partially German) http://www.opentheory.org

[ previous issue | Brave GNU World home | next issue ]

Return to GNU's home page.

Please send FSF & GNU inquiries & questions to gnu@gnu.org.
There are also other ways to contact the FSF.

Please send comments on Georg's Brave GNU World (in English or German) to column@gnu.org,
send comments on these web pages to webmasters@www.gnu.org,
send other questions to gnu@gnu.org.

Copyright (C) 2000 Georg C. F. Greve

Permission is granted to make and distribute verbatim copies of this transcript as long as the copyright and this permission notice appear.

Last modified: Mon Nov 13 11:20:44 CET 2000