Wenn es um das Verfassen längerer Texte oder um immer wiederkehrende strukturkongruente Dokumente wie Briefe geht, erzeuge ich komfortabel mit emacs und AucTeX Tex-Code. Die Vorlage für das Schreiben, die dabei verwendet wird, ist auch Benutzern von OpenOffice.org bekannt. Sie zu kopieren, ihr einen neuen Namen zu geben und mit dem Output, der durch pdflatex generiert wird, zur Archivierung in einen eigenen Ordner zu kopieren, ist allerdings mit einigem nicht zu unterschätzenden Aufwand verbunden.
#!/bin/bash
# Copyright 2005 by Moritz Beller (use and distribute under the GPL)
if [ -z "$1" ]; then
echo "please supply name of new letter!"
elif [ -e "./$1" ]; then
echo "letter already exists!"
else
cp letter-template $1 -R
mv $1/lettertemplate.tex $1/letter.tex
echo "successfully generated new letter $1!"
emacs $1/letter.tex &
echo "now modifying it with emacs ..."
fi
exit 0
Als Beispiel ist hier die Briefvorlage implementiert.

I was rather surprised (not to say shocked) as I saw how much quicker KDE was able to open Emacs than Fluxbox. As it turns out, I was not quite satisfied with my Fluxbox setup anymore. KDE, Gnome etc. are all no real alternatives on this system, though. I don't want to waste too much resources on the environment, I definitely need the power elsewhere, and I'm not willing to wait circa 10 seconds for my window manager to open, either. From past experiences I knew that most common wms wouldn't fit my needs (fvwm, waimea, xfce, etc.), so I went take a look on Enlightenment. At first glance, this seemed really cool, after all. Although yesterday I thought I was gonna make it the default and leave Fluxbox on the machine, just in case, I decided now to only alter my Fluxbox configuration. This did the job, as well.
Some other updating processes regarded an update of Gnome (haven't come across any improvements other than the new printer interface, yet. I don't use it, anyway) and the install of the most-hated KDE (must have been some dependency I didn't pay attention to). Once KDE's been compiled, it's no real anger, so I'll just leave it on the system.
For those looking out for a neat PDF viewer I've finally found one: Highly recommended can be Evince from the Gnome Project. It's got every feature I need and doesn't look nasty (in contrast to xpdf). It displays regular texts quite smoothly (so does it with maths), doesn't perform too bad with images, runs fast and has a neat search-feature. No need to utilise Adobe's proprietary Acroread.
And, hey, xmms got a refresh! As an output, you can now move the xmms windows without getting crack-like sounds. Very nice, indeed.
Furthermore, I made my dcron run correctly now, which took me a while to figure out, since there was a bug in the version I'd used prior.

Woohoo, I've finally finished it: simback's first semi-official release is simback-0.1-alpha.tar.gz, which one can obtain via SourceForge.net's download mirrors. Simply download the package, de-compress, change directories and type make && sudo make install.
A first usage tip for scheduled and automized storing of data: Edit your user-wide crontab and add a line such as
* */2 * * * /usr/bin/simback /home/my-user/my-work /mnt/backup/my-work 0.083
This will call simback every second hour and then perform a backup operation because of the supplied time step of 0.083 days, which equals to 2 hours.
Helpers, testers and supporters are urgently needed. Feel free to contact me, if you're interested in contributing. Many thanks in advance!

Most modern keyboards not only provide the user with the regular set of keys, but also have a bunch of extra-keys like mine. This the reason why their manufactors deliver so-called "driver cds" with them in order to make the very average Windows user able to choose from a pre-defined field of functions when pressing a particular key. Before discussing how to get those hot keys to work under Linux, let's take a quick look at how keyboards work in general. When pressing a letter, right as I do at the moment, the keyboard sends a special signal, which is also referred to as the keycode, to the computer which is then able to determine which character was actually typed. Every standard key that you can think of has a well-defined keycode. For instance, a is to be 38. As you may have guessed by now, the hotkeys are none-standard (which is generally speaking a bad idea) and thus the keycodes they send out differ from one keyboard to the other.
So, what will our patented three steps roadmap look like?
Fortunately, there is a small tool for X that fits exactly our needs: It's called xev. Run it in the shell of your choice and press one of your hot keys. You will see a couple of information will be added to your bash, most of it being redundant for our purposes. Here is an example of my "search key":
KeyPress event, serial 28, synthetic NO, window 0x1600001,
root 0x71, subw 0x0, time 4555793, (161,48), root:(365,269),
state 0x10, keycode 229 (keysym 0xffd0, F19), same_screen YES,
XLookupString gives 0 bytes: ""
Repeat this procedure with every key you want to map to a special action and bear in mind to assosicate the keycode with the proper keyname in your notes.
I strongly suggest to give the hotkeys names, starting off with F13 to Fn, where n is the number of hot keys your keyboard provides plus 12. This can be done in ~/.xmodmaprc.
# This is ~/.xmodmaprc
keycode 160 = F14
keycode 174 = F15
keycode 176 = F16
keycode 178 = F17
keycode 236 = F18
keycode 229 = F19
"xmodmap /~.xmodmaprc" activates the new keynames.
Developers have made great efforts in creating highly-configureable keymappers. xbindkeys's always worked for me, so I don't see the need to change it. Both KDE and Gnome seem to come with their own keymanagement tools that can be seen as xbindekeys replacements, whatsoever. You can write your local keyactions, for example, to ~/.xbindkeysrc and then run "xbindkeys ~/.xbindkeysrc" every time you log in. (This step is window manager-dependent! Ask for help in the appropriate newsgroups or forums, or simply ask Google.) Since this turns out to be "yet another syntax I have to learn", developers have thought about it once again and created a neat, since it simply does, what it should, but powerful programe called xbindkeys_config.
# This is ~/.xbindkeysrc
#Mute
"./sound"
m:0x10 + c:160
Mod2 + F14
"sylpheed-claws"
m:0x10 + c:236
Mod2 + F18
#minor volume
"echo "vol Vol -" | smixer -s -"
m:0x10 + c:174
Mod2 + F15
#greater volume
"echo "vol Vol +" | smixer -s -"
m:0x10 + c:176
Mod2 + F16
#Internet
"firefox"
m:0x10 + c:178
Mod2 + F17
As you can see, starting simple applications such as your favourite web browser is all easy. Just point to to the executable (most likely in PATH). But what's with the Mute function and the "Volume +" and "Volume -" buttons? Well, the latter ones can be used through a software called smixer, which allows step-by-step volume adjustion. For calling details, look in the code above.
The mute button script quite works the same way and even gives extra-functionality: It checks, whether Mute has already been pressed. If so, it is quite senseless to re-mute, but it does make sense to switch the sound on again. So it's rather a multi-functional on/off swichter now (under Linux) than a stupid Mute button (that it was in Windows). The script should be 755 chmod-ed.
#!/bin/bash
# This script, which was written by Moritz Beller in 2004,
# is licensed under the terms of the GPL
SOUND_MUTE=$(cat /tmp/sound_mute)
if [ "$SOUND_MUTE" == 1 ]
then
echo "vol Vol 75" | smixer -s -;
echo 0 > /tmp/sound_mute
else
echo "vol Vol 00" | smixer -s -;
echo 1 > /tmp/sound_mute
fi
exit 0
I'd love to see further questions, as well as additional hints in the comments: That's what they were made for.

Einen großen Dank gilt es an dieser Stelle Marcel Schmittfull auszusprechen, ohne den meine Teilnahme am Bundeswettbewerb durch sein permanent penetrantes Provozieren nicht zustande gekommen wäre. Im Gegensatz zum letzten Jahr, als wir beide noch zitternd der Bewertung entgegenfieberten, dürften wir damit ziemlich sicher weitersein.
Download der Archivdatei (tar.bz2, 585 K, entpackt mit tar -xjf dateiname 1,2 Megabyte)
Sie beinhaltet Lösungen zu allen gestellten Aufgaben, inklusive der Juniorfragestellung. Ausgedruckt ist sie 78 Seiten stark. Ein Blick in das zugegebenermaßen umfangreiche Paket lohnt sich aber auch insbesondere für Einsteiger, da sämtlicher Programmcode außerordentlich gut im beigelegten PDF dokumentiert ist. Die Binaries wurden für ein GNU Linux System kompiliert.

du -sch dich
gibt die Gesamtgröße des Verzeichnisses ./dich in einem für Menschen einfach zu lesenden Format aus.


Das wird doch wohl nicht etwa echter Schnee sein, an der Mütze

in den noch immer Blätter behangenen Zweigen der Bäume

im Garten

auf den Ziegeln!
Nebenbei, ich hätte es vor Entzücken fast vergessen, der 100. Eintrag auf dieser Website!

Die BigBrother-Awards werden an Firmen und öffentliche Personen vergeben, die durch Ihr Handeln die Privatsphäre anderer besonders stark missachten.
Sehr geehrte Damen und Herren,
herzlichen Glückwunsch zum Gewinn des BigBrother-Preises 2004! Mich wundert, dass Sie diese hochdekorative Ehrung nicht bereits auf Ihrer Website vermerkt haben?!
Wie dem auch sei, ich finde es im Übrigen wunderbar, dass Ihre Kopierer sich selbst auf dem Duplikat vermerken -- ein bisschen Beachtung sollte man ihnen schon gönnen, schließlich verbringen sie ja tagtäglich ganz erhebliche, in der Öffentlichkeit viel zu wenig anerkannte Leistungen.
Da ich von dieser tollen Unterschrift Ihrer Kopiergeräte stark beeindruckt bin, und Sie es ganz offenstlich noch nicht mal nötig haben, mit diesem außergewöhnlichen Feature auf der Packung zu werben, stellt sich mir nun die Frage, ob dies nur Canon-Kopierer oder aber auch die von mir gekaufte Kamera und mein Scanner können?
Auf Ihre Antwort, die ich selbstverständlich nur mit Ihrer Genehmigung veröffentlichen werde, freue ich mich schon jetzt sehr!
Gruß
Moritz Beller
Keine Antwort ist natürlich sehr leicht. Schade eigentlich, war ich doch bis jetzt mit meinen Canon-Produkten ganz zufrieden.

First of all, some general notes I find necessary to add before discussing the actual problem.
Belkin's software allows authorized persons to make backups of the current settings via an easy-to-handle configuration page so they can set the router to a prioir state sane re-entering all settings over and over again, if the router lost them for some reason, e.g. as a matter of an electrical power outage. As a logical consequence these configuration backups, that can be saved onto your PC's hard drive, contain all the sensitive information your Belkin router modem needs to be able to log into the internet, which is your password and userid. Furthermore, they also provide your router's access password and so on and so forth.
All that is essential. There is no way of overcoming this situation. Generally speaking, the configuration backup tool is even a neat feature. If Belkin'd done a better job, I wouldn't even mind, cause it would then be very unlikely that anybody could draw conclusions from your backups to the passwords that are saved within them. But it became a serious security problem due to Belkin's way of implementing it, as you may have already guessed.
The problem with all configuration files of any sort is that, when it comes to sensitive data, the information must somehow kept hidden. There are at least two easy possibilties to do so.
Ironically, Belkin's almost done it right: The configuration file in fact is a binary, but among all sorts of machine code it does contain your settings in cleartext! Once again: They really do write all the sensitive information in plaintext in this file! Nuts!
Further, take into account some parts of the file are actually converted to machine code so that nobody will be able to find out what they may mean! Man, how can one be so stupid?
Open your config.bin file with an editor such as emacs (type c-s) and search for your password you will see it, just like anybody else possessing this file would. Should fear you, shouldn't it?
And, now, here's the best: With this config file, everybody can access the internet with your userid and the password (that he has all found in just one file!) on your costs!
Important! Please leave information regarding this subject in the comments and feel free, if you can, to make your readers aware of this incredibly awesome security bug! Thanks a lot.

![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Folgerung: Einen kompletten Rechner als Router einzusetzen ist ziemlich teuer, hat aber auch den Vorteil einer wesentlich höheren Konfigurierbarkeit.

Hier können Sie sich für den Messebesuch und/ oder die Konferenzteilnahme registrieren.
Registrieren Sie sich noch vor dem 30. September 2004 für den kostenfreien Messebesuch und nutzen Sie den attraktiven Konferenz-Frühbucher-Rabatt!
Dieser beinhaltet unteranderem die kostenfreie Zusendung eines Messe-Ticket für die Linux World Frankfurt 2004, das zum Messebesuch und zur Teilnahme an allen Keynotes und .org Sessions an allen drei Veranstaltungstagen berechtigt und das sonst 10 respektive 25 Euros kosten würde.

Nach erfolgter Kabelverlegung stellt sich die Frage, wie man die separat gekauften Cinchanschlüsse auf das Kabel bringt. Da dieses Unterfangen ein tückenreiches ist, folgt hier eine kurze Erklärung.
Ist dies geschehen, muss das Kabelende abisoliert, ein einheitlicher Pol ausgesucht und von der Schirmung sauber getrennt werden. Danach gehts ans Löten (siehe Bild). Zu beachten gilt es hier, dass nicht allzuviel Lötzinn verbraucht wird und eine strikte Trennung zwischen Masse und Signalleitung besteht.Eine Funktionsprüfung ist beispielsweise mit einer 9Volt-Blockbatterie möglich. Sollte der Sound ein summendes bis brummendes Untertongeräusch haben, liegt dies meist an schlecht gelöteten Anschlüsseln, bei denen Signale auf den Groundanschluss gelangen (der relative Nullstrom verschiebt sich und somit auch die Eingangssignale). In einem derartigen Fall (der bei mir durch das Schrauben der Plastikabdeckung des Steckers auftrat) reicht es, sich die betreffenden Kabeln anzusehen und nachzubessern, womit die Fehler meist behoben werden. Ansonsten kann dieser Effekt natürlich auch durch minderwertige Materialien auftreten.

Wie gut erkenntlich ist, wirbt der Hersteller der links abgebildeten Schachtel CD-Rohlinge, die sonst nicht weiter auf der Packung ausgezeichnete Firma Silver Circle, mit 50 in der Spindel enthaltenen Discs, die eine Kapazität von 700 MB aufweisen und mit Brenngeschwindigkeiten von 1x bis 52x zurechtkommen sollen. Das ist insofern schön, als dass man, solange die Scheiben vom eigenen Brenner erkannt werden, durch die hohe Menge einen recht geringen Preis pro Stück erzielen kann.
Natürlich zählt kein Mensch nach, ob es tatsächlich fünfzig Stück sind, und allein das war Grund für mich, genauer nachzusehen. Subtrahiert man die zwei zu welchem Zweck auch immer beigelegten Plastikdiscs von der Menge aller in der Spindel enthaltener Scheiben, gelangt man zu dem Ergebnis 49.
Nach Überprüfung des Resultats folgt eine interessante Debatte: Schließlich handelt es sich bei den Plastikdeckeln ja auch um Scheiben! Warum ergo sollten diese nicht zur Menge und der auf der Verpackung angegebenen Zahl an Discs hinzuaddiert werden? Dies kann allerdings nicht gelten, da die erwähnten Eigenschaften bezüglich Speicherdichte und untersützter Schreibgeschwindigkeiten nach eingehender Prüfung der Plastikscheiben von diesen nicht auch nur annähernd erfüllt werden können.

As I didn't find the above mentioned monitor's specifications anywhere in the Net, I thought stating them here may be useful for record purposes.
Special thanks to W. Grewe, technical support of Peacock, who gave me this reply.
horiz. frequency: 30 - 64 kHzThis results in making a ModeLine for 1024x768 like this (tested on mine and works fine. no warranty at all, though):
resolution / refresh rate
640 x 480 / 120 Hz
800 x 600 / 100 Hz
1024 x 768 / 76 Hz
1280 x 1024 / 60Hz
Max Bandwidth: 85 MHz
ModeLine "1024x768" 84.18 1024 1072 1312 1408 768 770 782 808 #74Hz

Erstaunlich unbekannt bei vielen Anwender ist die Möglichkeit der Graphikserver X.org bzw. XFree86, den Monitor selbsttändig in einen Standbymodus zu versetzen. Dabei geschieht die Aktivierung mittels nur einer einzigen Zeile und der Sinn der Option liegt unbestreitbar im wesentlich geringeren Energieverbrauch.
Man editiere also entweder /etc/X11/XF86Config oder /etc/X11/xorg.conf und trage unterhalb von Section "Monitor" vor das schließende EndSection eine neue Zeile
Option "DPMS"ein. Nach einem Neustart des Graphikservers sollte das Gerät bei hinreichend langer Inaktivität automatisch in den Standbymodus schalten.
