<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://sven.broeckling.de/index.php?/feeds/atom.xml" rel="self" title="Feld-, Wald- und Wiesenadmin" type="application/atom+xml" />
    <link href="http://sven.broeckling.de/"                        rel="alternate"    title="Feld-, Wald- und Wiesenadmin" type="text/html" />
    <link href="http://sven.broeckling.de/rss.php?version=2.0"     rel="alternate"    title="Feld-, Wald- und Wiesenadmin" type="application/rss+xml" />
    <title type="html">Feld-, Wald- und Wiesenadmin</title>
    <subtitle type="html">Interessantes aus der OSS Welt</subtitle>
    <icon>http://sven.broeckling.de/templates/default/img/s9y_banner_small.png</icon>
    <id>http://sven.broeckling.de/</id>
    <updated>2008-03-21T13:52:24Z</updated>
    <generator uri="http://www.s9y.org/" version="1.1.4">Serendipity 1.1.4 - http://www.s9y.org/</generator>
    <dc:language>de</dc:language>

    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/15-wa.html" rel="alternate" title="wa" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-21T13:52:24Z</published>
        <updated>2008-03-21T13:52:24Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=15</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=15</wfw:commentRss>
    
    
        <id>http://sven.broeckling.de/index.php?/archives/15-guid.html</id>
        <title type="html">wa</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Ich schätze ich brauche mal eine neue, schnelle 2,5" Festplatte. <br />
<br />
<!-- s9ymdb:15 --><img width='589' height='444' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/vmstat-wa.png" alt="" /><br />
<br />
Zur Erklärung: <em>wa</em> in der Anzeige von vmstat steht für "Waiting for IO". Die Prozesse die als "Blocked" (b) gekennzeichnet sind können also grade nicht so wie sie wollen, weil sie auf I/O warten. Das kann natürlich alles mögliche sein, hier ist es aber ziemlich sicher die lahme Platte. Gibt es so etwas wie vmstat eigentlich auch für Windows? Ich vermisse das da schon..  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/14-Ein-neuer-Stern-am-Desktop-Himmel.html" rel="alternate" title="Ein neuer Stern am Desktop Himmel?" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-19T21:47:33Z</published>
        <updated>2008-03-19T21:47:33Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=14</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/1-Desktop" label="Desktop" term="Desktop" />
    
        <id>http://sven.broeckling.de/index.php?/archives/14-guid.html</id>
        <title type="html">Ein neuer Stern am Desktop Himmel?</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Gerade gefunden : <a href="http://lxde.sourceforge.net/">lxde</a>. Scheint so als w&#xFC;rde das ganze auf bekannten Komponenten basieren. <a href="http://www.gnomefiles.org/app.php?soft_id=1764">lxpanel</a> ist ein abgewandeltes fbpanel, das ich schon mit Fluxbox recht lange benutzt habe. <a href="http://www.gnomefiles.org/app.php?soft_id=1802">lxsession</a> kommt vom bekannten XSM. Dazu verwenden die <a href="http://pcmanfm.sourceforge.net/">PCMan</a>, einen schnellen, Nautilus-&#xE4;hnlichen File Manager, der inzwischen auch Icons auf dem Desktop anzeigen kann. Ich bin mal gespannt was daraus wird, ich werde es mir bestimmt mal ansehen. F&#xFC;r den schnellen Blick gibts mit <a href="http://distrowatch.com/?newsid=03899#0">PUD GNU/Linux</a> eine LiveCD.  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/13-Provider-liefert-falsche-Daten-ans-BKA.html" rel="alternate" title="Provider liefert falsche Daten ans BKA" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-11T17:25:00Z</published>
        <updated>2008-03-11T16:25:00Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=13</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    
    
        <id>http://sven.broeckling.de/index.php?/archives/13-guid.html</id>
        <title type="html">Provider liefert falsche Daten ans BKA</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                und <a href="http://www.lawblog.de/index.php/archives/2008/03/11/provider-liefert-falsche-daten-ans-bka/">genau deshalb</a> protokolliere ich wenigstens die erhaltenen Adressen mit Zeitstempel mit. Das ist zwar im Zweifelsfall auch kein Beweis, aber zumindest ein Beleg noch einmal genauer beim Provider nachzuschauen.<br />
<br />
Also: beim Router wenigstens mal so etwas wie <code>echo `date` `ip addr|grep inet.*ppp0` >> /etc/iplog.dat</code> ins ip-up/ifup script schreiben und das sicher irgendwo hinlegen. Diese Meldungen von falsch übermittelten Adressen gibts meiner Ansicht nach viel zu häufig. Gegen die Hausdurchsuchung und die diskreditierung bei den Nachbarn hilft das natürlich erstmal nicht.   
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/12-Releases.html" rel="alternate" title="Releases" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-10T19:12:00Z</published>
        <updated>2008-03-10T19:12:00Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=12</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/1-Desktop" label="Desktop" term="Desktop" />
    
        <id>http://sven.broeckling.de/index.php?/archives/12-guid.html</id>
        <title type="html">Releases</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Softwaremäßig ist das schonmal ein guter Start in die Woche gewesen. Zunächst <a href="http://www.activestate.com/company/newsroom/press/2008_03_06_0">gibt ActiveState den Komodo Editor frei.</a> Auch wenn ich den schon länger nicht mehr verwendet habe finde ich, dass es ein guter Editor für alle Möglichen Scriptsprachen, HTML und XML ist. Dann gabs <a href="http://www.wesnoth.org/start/1.4/">Wesnoth 1.4</a>, das auch gleich Einzug in <a href="http://packages.debian.org/lenny/wesnoth">Debian Testing</a> gehalten hat. Das hin- und herschwenken zwischen 1.2 und 1.3.x dürfte damit wohl ein Ende haben <img src="http://sven.broeckling.de/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> <br />
<br />
Zu guter letzt <a href="http://chistera.yi.org/~adeodato/blog/entries/2008/03/10/amule_2.20_preview_in_experimental.html">ist amule 2.2.0</a> in Lenny verfügbar, </a> und die TELEKOM(!) hat <a href="http://www.pro-linux.de/news/2008/12436.html">etwas</a> unter der LGPL veröffentlicht. Kühe können doch fliegen...  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/11-wine.html" rel="alternate" title="wine" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-05T17:31:00Z</published>
        <updated>2008-03-05T17:31:00Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=11</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/1-Desktop" label="Desktop" term="Desktop" />
    
        <id>http://sven.broeckling.de/index.php?/archives/11-guid.html</id>
        <title type="html">wine</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Führt schon manchmal zu komischen Dingen <img src="http://sven.broeckling.de/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
<!-- s9ymdb:14 --><img width='500' height='326' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/wtf.png" alt="" />  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/10-Which-way-is-up.html" rel="alternate" title="Which way is up?" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-04T16:19:00Z</published>
        <updated>2008-03-04T16:19:00Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=10</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    
    
        <id>http://sven.broeckling.de/index.php?/archives/10-guid.html</id>
        <title type="html">Which way is up?</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Hab grade in dem Ubuntu Hardy ein nettes kleines Jump'n'Run gefunden, als ich nach which gesucht habe. Das Teil heisst <a href="http://www.hectigo.net/puskutraktori/whichwayisup/">Which way is up?</a> und ist in Python geschrieben. Ziel ist es Dinge (erst Schlüssel, dann noch andere) zu sammeln und Schalter zu drücken, wobei sich die Maps beim betätigen der Schalter drehen. <br />
<br />
<!-- s9ymdb:11 --><img width='528' height='546' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/wwiu2.png" alt="" /><br />
<!-- s9ymdb:10 --><img width='528' height='546' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/wwiu1.png" alt="" /><br />
<!-- s9ymdb:13 --><img width='528' height='546' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/wwiu4.png" alt="" /><br />
  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/8-zsh.html" rel="alternate" title="zsh" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-02T00:39:40Z</published>
        <updated>2008-03-09T01:46:13Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=8</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/2-Shell" label="Shell" term="Shell" />
    
        <id>http://sven.broeckling.de/index.php?/archives/8-guid.html</id>
        <title type="html">zsh</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Ich wechsel ja öfters mal meine Desktop Environments, Musikplayer, Distributionen und sowas. Bislang habe ich allerdings nie die Shell gewechselt. <br />
<br />
<!-- s9ymdb:9 --><img width='585' height='412' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/zsh.png" alt="zsh Screenie" /><br />
<br />
Ich dachte ja dass meine ganzen Scripte voller Bashisms seien, und ich beim Verwenden der <a href="http://www.zsh.org/" title="zsh">zsh</a> ne ganze Menge anpassen müsste. Erstaunlicherweise läuft das meiste aber. Ich werde mal sehen ob das Teil mich als Friend oder Foe ansieht <img src="http://sven.broeckling.de/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
Der Screenshot enthält übrigens die Completion von aptitude. Ich hatte irgendwie erwartet dass die Completion nicht ganz so toll ist wie die der bash. Unter /etc/bash_completion.d liegt ja ne ganze Menge rum. Aber das Anzeigen der Kurzbeschreibungen und das Anzeigen <strong>unter</strong> dem Prompt finde ich schonmal super. Das werde ich mir gleich als nächstes ansehen.<br />
<br />
Achja, schneller starten als die bash tut sie allemal.  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/7-Und-es-funktioniert-doch.html" rel="alternate" title="Und es funktioniert doch" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-03-01T22:07:19Z</published>
        <updated>2008-03-01T22:07:19Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=7</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/3-Web" label="Web" term="Web" />
    
        <id>http://sven.broeckling.de/index.php?/archives/7-guid.html</id>
        <title type="html">Und es funktioniert doch</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <!-- s9ymdb:8 --><img width='166' height='56' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/gettext.png" alt="" /><a href="http://www.gnu.org/software/gettext/">Gnu gettext</a> ist nicht grade redselig. Vor allem wenn man sich das erste Mal damit beschäftigt, und dann auch gleich noch in so einer Krankheit wie php - wenn etwas schiefgeht wird einfach nur die Originalsprache angezeigt. Ok, das ist ja auch das was es tun sollte, wenn es produktiv läuft. Dank einem <a href="http://phpmagazin.de/itr/online_artikel/psecom,id,874,nodeid,62,_language,de.html">Online-Artikel im PHP Magazin</a> und dem richtigen <a href="http://packages.debian.org/etch/php-gettext">Debian-Paket</a> hats dann aber doch noch geklappt.   
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/6-Enemy-Territory-nochmal.html" rel="alternate" title="Enemy Territory nochmal" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-02-29T17:30:59Z</published>
        <updated>2008-02-29T17:32:05Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=6</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/4-Games" label="Games" term="Games" />
    
        <id>http://sven.broeckling.de/index.php?/archives/6-guid.html</id>
        <title type="html">Enemy Territory nochmal</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So, den ersten Abend lang habe ich das Setup nun benutzt. Insgesamt l&#xE4;sst sich sagen dass das schon so alles funktioniert. Nur h&#xF6;re ich mich angeblich irgendwie komisch &#xFC;ber Teamspeak an. &#xC4;hnlich hatte ich das auch mit dem esd schon, nur dass es da wirklich schlimm war. <br />
<br />
Anscheinend ist pulse also etwas performanter, allerdings nicht zufriedenstellend. In et habe ich teilweise &#xDC;berlagerungen von Sounds. Solange nicht zu viel passiert ist das ok, aber bei vielen Samples wirds nervig. Ein wenig geholfen hat es, dem Pulseaudio zu sagen dass der Daemon hohe Priorit&#xE4;t haben soll. Das geht in der /etc/pulse/daemon.conf mit<br />
<div style="text-align: left"><ol>high-priority = yes<br />nice-level = -11<br /></ol></div><br />
und einem beliebigen nice-Wert. Realtime habe ich noch nicht ausprobiert. <br />
<br />
F&#xFC;rs erste hab ich beschlossen weiterhin unter Archlinux zu spielen, da l&#xE4;uft alles einwandfrei. Ich werde dem ganzen aber noch auf die Spur kommen.<br />
  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/5-mnt.html" rel="alternate" title="mnt" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-02-29T15:03:00Z</published>
        <updated>2008-03-09T01:46:54Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=5</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/2-Shell" label="Shell" term="Shell" />
    
        <id>http://sven.broeckling.de/index.php?/archives/5-guid.html</id>
        <title type="html">mnt</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Ich benutze seit etwa einem Jahr fast ausschlie&#xDF;lich <a href="http://www.adminlife.net/allgemein/sshfs-fuse/" target="_parent">sshfs via fuse</a>. Das ganze ist derma&#xDF;en praktisch, da es alle Vorteile von ssh mit denen von gemounteten Dateisystemen verbindet. Naja, da ich wenig Lust darauf habe st&#xE4;ndig alle sshfs Parameter einzugeben habe ich f&#xFC;rs Ein- und Aush&#xE4;ngen ein kleines Script geschrieben. <br />
<br />
<div class="bash" style="text-align: left"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">#!/bin/bash</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">MP=</span><span style="color: #ff0000;">"$HOME/mnt"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> $<span style="color: #808080; font-style: italic;"># -lt 1 ]; then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">echo</span> <span style="color: #ff0000;">" mount: mnt &lt;url&gt; &lt;mountpoint-name&gt;"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">echo</span> <span style="color: #ff0000;">"umount: mnt -u &lt;mountpoint-name&gt;"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">echo</span> <span style="color: #ff0000;">"&#160; list: mnt -l"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">exit</span> <span style="color: #cc66cc;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">fi</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> <span style="color: #ff0000;">"$1"</span> == <span style="color: #ff0000;">"-u"</span> <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; fusermount -u <span style="color: #ff0000;">"$MP/$2"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; rmdir <span style="color: #ff0000;">"$MP/$2"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">exit</span> <span style="color: #cc66cc;">0</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">fi</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> <span style="color: #ff0000;">"$1"</span> == <span style="color: #ff0000;">"-l"</span> <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; mount|grep sshfs|sed -e <span style="color: #ff0000;">"s@sshfs#<span style="color: #000099; font-weight: bold;">\(</span>.*<span style="color: #000099; font-weight: bold;">\)</span> on.*${MP}/<span style="color: #000099; font-weight: bold;">\(</span>.*<span style="color: #000099; font-weight: bold;">\)</span> type fuse.*@<span style="color: #000099; font-weight: bold;">\1</span><span style="color: #000099; font-weight: bold;">\t</span><span style="color: #000099; font-weight: bold;">\2</span>@g"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">exit</span> <span style="color: #cc66cc;">0</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">fi</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> ! -d <span style="color: #ff0000;">"$MP/$2"</span> <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; mkdir -p <span style="color: #ff0000;">"$MP/$2"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">fi</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sshfs -o <span style="color: #0000ff;">uid=</span>`id -u` <span style="color: #ff0000;">"$1"</span> <span style="color: #ff0000;">"$MP/$2"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066;">cd</span> <span style="color: #ff0000;">"$MP/$2"</span> </div></li></ol></div><br />
<br />
Ich wollte l&#xE4;ngst mal noch ne History einbauen, die sich automatisch f&#xFC;llt, aber so tut es jedenfalls schonmal seinen Dienst. Anzupassen ist MP, das ist das Oberverzeichnis der Mountpoints.<br />
  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/4-Enemy-Territory-+-Teamspeak-+-MusikUbuntu-Hardy.html" rel="alternate" title="Enemy Territory + Teamspeak + Musik@Ubuntu Hardy" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-02-28T10:48:00Z</published>
        <updated>2008-02-29T13:16:04Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=4</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/1-Desktop" label="Desktop" term="Desktop" />
    
        <id>http://sven.broeckling.de/index.php?/archives/4-guid.html</id>
        <title type="html">Enemy Territory + Teamspeak + Musik@Ubuntu Hardy</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Es ist ja doch immer etwas Bastelei, wenn man Enemy Territory und Teamspeak zusammen ans Laufen bekommen m&#xF6;chte. Zumal ich nur eine Soundkarte in dem Rechner habe (was auch so bleiben soll), und dazu noch gerne einen Audioplayer laufen lassen w&#xFC;rde. Das Problem dabei besteht aus zwei Teilen. Enemy Territory und Teamspeak unterst&#xFC;tzen beide erstmal nur das oss-Soundsystem, was ja unter Linux nicht mehr aktuell ist. Zumindest der Teamspeak2-Client l&#xE4;sst sich davon auch nicht abbringen, und der neue Teamspeak Client steht noch aus. F&#xFC;r Enemy Territory gibt es ein LD_PRELOAD Modul welches dem Spiel SDL Sound beibringt.<br />
<br />
<h2>Arch</h2><br />
W&#xE4;hrend ich <a href="http://www.archlinux.org/" target="_parent">Archlinux</a> auf meinem ET-Rechner verwendet habe war das ganz gut &#xFC;ber alsa zu machen. Irgendwie konnte ich seit dem 2.6.23er Kernel mehrere alsa-Programme mit Sound gleichzeitig starten, und alsa hat das gemischt. Ich habe keine Ahnung ob das ein neues alsa-Feature ist, aber es ist toll das es funktioniert, und so habe ich den ESD da f&#xFC;rs erste in Rente geschickt. Zumal ESD sowieso zuviel Latenz f&#xFC;r Enemy Territory hat. Gestartet habe ich Teamspeak mit aoss aus dem <a href="http://www.archlinux.org/packages/13416/" target="_parent">alsa-oss</a> Paket vor Enemy Territory. Danach tut das ganz gut, ein paar kleine Aussetzer im Sound gibts, aber alles von mir gesprochene kommt anscheinend gut an, und ich kann mit dem alsamixer die Mic-Kan&#xE4;le steuern.<br />
<br />
<p><br />
F&#xFC;r Enemy Territory gibts eine M&#xF6;glichkeit via LD_PRELOAD die SDL Bibliothek f&#xFC;r die Sound-Ausgaben zu benutzen. ET selbst macht n&#xE4;mlich auch nur oss, und dank dem Preload-Modul kann ich als Umgebungsvariable den SDL-Audiotreiber setzen. Das ganze sieht dann so aus :<br />
<br />
<div class="bash" style="text-align: left"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066;">export</span> <span style="color: #0000ff;">ETSDL_SDL_LIB=</span><span style="color: #ff0000;">"libSDL-1.2.so.0"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066;">export</span> <span style="color: #0000ff;">SDL_AUDIODRIVER=</span><span style="color: #ff0000;">"alsa"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">LD_PRELOAD=</span><span style="color: #ff0000;">"$etdir/et-sdl-sound.so"</span> ./et.x86 +<span style="color: #000066;">set</span> com_hunkmegs <span style="color: #cc66cc;">512</span> +connect $<span style="color: #cc66cc;">1</span> &gt;et.log <span style="color: #cc66cc;">2</span>&gt;&amp;<span style="color: #cc66cc;">1</span>&amp; </div></li></ol></div><br />
Und schon macht ET auch Alsa-Sound. Beschrieben ist das im Arch-Wiki auch noch unter <a href="http://wiki.archlinux.de/?title=Wolfenstein:_Enemy_Territory#Kein_Sound" target="_parent">Enemy Territory. Da gibts auch das et-sdl-sound.so.</a><br />
</p><br />
<br />
<h2>Ubuntu Hardy</h2><br />
<p><br />
Unter Ubuntu Hardy Heron sieht das ganze allerdings etwas anders aus. Ich muss gestehen voher noch nie etwas von <a href="http://pulseaudio.org/" target="_parent">Pulseaudio</a> geh&#xF6;rt zu haben. Zun&#xE4;chst habe ich das Teil auch einfach abgeschossen und versucht ET mit alsa zum Laufen zu bringen. Da das mir auf dem Heron nicht auf Anhieb den Sound gemischt hat (alle Programme haben einzeln Sound gemacht, aber eben immer nur eins) habe ich den Pulse-Daemon dann doch wieder gestartet und versucht meine Konfiguration daran anzupassen. F&#xFC;r Teamspeak war das relativ simpel. Analog zum esddsp gibt es einen padsp, welcher das oss-Output auf Pulse mapped. Im Gegensatz zum ESD scheint das recht performant zu laufen. Der Vorteil daran ist dass ich keine H&#xE4;nger im Sound mehr habe.<br/><br />
An Enemy Territory habe ich zun&#xE4;chst ein wenig herumgebastelt. Pulseaudio hat einen ESD Wrapper, damit hat das allerdings nicht geklappt. Alsa als Output ging auch nicht mehr, und so bin ich nach einigem Suchen darauf gestossen dass die SDL selbst nun einen Pulseaudio Soundtreiber hat. Das ganze ist ziemlich frisch, aber zum Gl&#xFC;ck in Hardy schon als Paket verf&#xFC;gbar. Nachdem ich libsdl1.2debian-pulseaudio installiert habe kann ich die Preload-Methode verwenden. Ich tausche einfach das "alsa" als SDL_AUDIODRIVER gegen "pulse" aus, und schon l&#xE4;uft alles zusammen.<br />
</p><br />
<br />
<p><br />
Das ganze habe ich in ein ET-Startscript zusammengefasst. Etwas abgewandelt startet das nun auf einem Ubuntu Hardy Heron wahlweise ET mit verschiedenen Servern oderTeamspeak. F&#xFC;r ein System ohne Pulseaudio muss der padsp Aufruf durch alsaoss ersetzt werden und SDL_AUDIODRIVER="alsa" sein. Des weiteren benutzt das Script dialog, das muss also ggf. installiert werden.<br />
<div class="bash" style="text-align: left"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">#!/bin/bash</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">DIALOG=</span>`which dialog`</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> -z <span style="color: #0000ff;">$DIALOG</span> <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">echo</span> <span style="color: #ff0000;">"error: the tool dialog is not available."</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">exit</span> <span style="color: #cc66cc;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">fi</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">etdir=</span><span style="color: #ff0000;">"/home/sven/games/enemy-territory"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">tsdir=</span><span style="color: #ff0000;">"/home/sven/games/ts2"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066;">export</span> <span style="color: #0000ff;">ETSDL_SDL_LIB=</span><span style="color: #ff0000;">"libSDL-1.2.so.0"</span> <span style="color: #808080; font-style: italic;"># hier die installierte sdl-Lib angeben.</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066;">export</span> <span style="color: #0000ff;">SDL_AUDIODRIVER=</span><span style="color: #ff0000;">"pulse"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">start_et <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">cd</span> <span style="color: #ff0000;">"$etdir"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #0000ff;">LD_PRELOAD=</span><span style="color: #ff0000;">"$etdir/et-sdl-sound.so"</span> ./et.x86 +<span style="color: #000066;">set</span> com_hunkmegs <span style="color: #cc66cc;">512</span> +connect $<span style="color: #cc66cc;">1</span> &gt;et.log <span style="color: #cc66cc;">2</span>&gt;&amp;<span style="color: #cc66cc;">1</span>&amp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">cd</span> -</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">read</span> s</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">start_ts <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">cd</span> <span style="color: #ff0000;">"$tsdir"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; padsp ./TeamSpeak &amp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">cd</span> -</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">while</span> /bin/true; <span style="color: #b1b100;">do</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #0000ff;">tempfile=</span>`mktemp`</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #000066;">trap</span> <span style="color: #ff0000;">"rm -f $tempfile"</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">1</span> <span style="color: #cc66cc;">2</span> <span style="color: #cc66cc;">6</span> <span style="color: #cc66cc;">11</span> <span style="color: #cc66cc;">15</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; dialog --menu <span style="color: #ff0000;">"Enemy Territory - Start Menu"</span> <span style="color: #cc66cc;">20</span> <span style="color: #cc66cc;">70</span> <span style="color: #cc66cc;">13</span>&#160; \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"T"</span> <span style="color: #ff0000;">"Teamspeak"</span> \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"L"</span> <span style="color: #ff0000;">"Timelord.de"</span> \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"1"</span> <span style="color: #ff0000;">"Bunker 1"</span> \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"2"</span> <span style="color: #ff0000;">"Bunker 2"</span> \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"3"</span> <span style="color: #ff0000;">"Bunker 3"</span> \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"4"</span> <span style="color: #ff0000;">"Bunker 4"</span> \</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160; &#160; <span style="color: #ff0000;">"X"</span> <span style="color: #ff0000;">"Abort"</span> <span style="color: #cc66cc;">2</span>&gt;<span style="color: #0000ff;">$tempfile</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> $? -gt <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; dialog --infobox <span style="color: #ff0000;">"process cancelled"</span> <span style="color: #cc66cc;">3</span> <span style="color: #cc66cc;">30</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; rm -f <span style="color: #ff0000;">"$tempfile"</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #000066;">exit</span> <span style="color: #cc66cc;">0</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #b1b100;">fi</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #0000ff;">c=</span>`cat <span style="color: #0000ff;">$tempfile</span>`</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">$c</span> <span style="color: #b1b100;">in</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; T<span style="color: #66cc66;">&#41;</span> start_ts ;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; L<span style="color: #66cc66;">&#41;</span> start_et timelord.de ;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> start_et bunker1.aaxxss.com ;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> start_et bunker2.aaxxss.com ;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span> start_et bunker3.aaxxss.com ;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; <span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#41;</span> start_et bunker4.aaxxss.com ;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; X<span style="color: #66cc66;">&#41;</span> rm -f <span style="color: #0000ff;">$tempfile</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; &#160; &#160; &#160;<span style="color: #000066;">exit</span> <span style="color: #cc66cc;">0</span>;;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; <span style="color: #b1b100;">esac</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#160; rm -f <span style="color: #0000ff;">$tempfile</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">done</span> </div></li></ol></div><br />
Viel Spass damit.<br />
</p><br />
  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/3-Roguelike-nochmal.html" rel="alternate" title="Roguelike nochmal" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2007-08-24T22:30:34Z</published>
        <updated>2008-02-29T12:29:14Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=3</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/4-Games" label="Games" term="Games" />
    
        <id>http://sven.broeckling.de/index.php?/archives/3-guid.html</id>
        <title type="html">Roguelike nochmal</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Natürlich gibt es noch eine Menge mehr Roguelike-Games. <a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Main_Page">roguelikedevelopment.org</a> hat da eine ausführliche Liste. Dort gibts auch einige interessante <a href="http://www.roguelikedevelopment.org/">Artikel</a> zum Thema. <br />
<br />
Es gibt dabei auch ein Doom Roguelike.<br />
<br />
<a class='serendipity_image_link' href='http://sven.broeckling.de/uploads/drl.png'><!-- s9ymdb:7 --><img width='200' height='131' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/drl.serendipityThumb.png" alt="" /></a>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/2-Metacity-Tasten-belegen.html" rel="alternate" title="Metacity-Tasten belegen" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2007-08-17T13:01:14Z</published>
        <updated>2007-08-17T13:01:14Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=2</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/1-Desktop" label="Desktop" term="Desktop" />
    
        <id>http://sven.broeckling.de/index.php?/archives/2-guid.html</id>
        <title type="html">Metacity-Tasten belegen</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Nachdem ich nach einigen Wochen <a href="http://fluxbox.sourceforge.net/">Fluxbox</a> doch wieder zu Gnome zurückgekommen bin fehlte mir doch das Feature, beliebige Tasten mit beliebigen Befehlen belegen zu können. Irgendwann, so meine ich zumindest, habe ich dafür mal etwas in den Einstellungen gesehen. Das ist allerdings auch schon länger her, und ich will nicht ausschließen dass das Sawfish war, und nicht Metacity.<br />
<br />
<!-- s9ymdb:6 --><img width='200' height='122' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/metacity_keys2.serendipityThumb.png" alt="" /><br />
Nach einigem Suchen kommt man dann darauf dass Gnome/Metacity das wohl beherrschen, es allerdings kein GUI dafür gibt. Gnome-like steht das ganze in der gconf-Datenbank, man kann es also wahlweise unter ~/.gconf mit einem Texteditor bearbeiten, oder den gconf-editor von Gnome nehmen. Irgendwie ist gconf schon eine kranke Idee, btw.<br />
<!-- s9ymdb:5 --><img width='200' height='126' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/metacity_keys1.serendipityThumb.png" alt="" /><br />
Die Konfiguration der Tasten spaltet sich dabei in zwei Schlüssel auf. Die Tasten selbst stehen unter /apps/metacity/global_keybindings, die Befehle stehen unter /apps/metacity/keybinding_commands. Unter beiden findet man 12 durchnumerierte Schlüssel, einmal für die Tastenzuordnungen, und einmal für die auszuführenden Befehle. Nachdem man Befehl und Tastenkürzel (letzteres in der Form &lt;Mod4&gt;Z) eingetragen hat ist das ganze gleich aktiv, wie man es von gconf kennt.<br />
<br />
Unter global_keybindings trägt man also bei run_command_X die jeweilige Taste ein, wobei Die Alt-Taste &lt;Alt&gt;, die Strg-Taste &lt;Ctrl&gt; und die Windows-Taste idR. &lt;Mod4&gt; ist. &lt;Mod4&gt;R ergibt also Windows-R.<br />
<br />
Unterhalb von keybinding_commands stehen dann Schlüssel mit der Bezeichnung command_X. Hier lassen sich einfach die Shellbefehle eintragen, ggf mit einem xterm -e davor. So kann ich endlich auch unter Gnome wieder meinen Firefox mit Windows-F starten.<br />
  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://sven.broeckling.de/index.php?/archives/1-Avanor.html" rel="alternate" title="Avanor" />
        <author>
            <name>The Jester</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2007-08-14T21:00:32Z</published>
        <updated>2008-02-29T12:29:41Z</updated>
        <wfw:comment>http://sven.broeckling.de/wfwcomment.php?cid=1</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://sven.broeckling.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    
            <category scheme="http://sven.broeckling.de/index.php?/categories/4-Games" label="Games" term="Games" />
    
        <id>http://sven.broeckling.de/index.php?/archives/1-guid.html</id>
        <title type="html">Avanor</title>
        <content type="xhtml" xml:base="http://sven.broeckling.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Nachdem ich lange überlegt habe, wie ich interessante Anwendungen und Neuigkeiten festhalten kann, bin ich spontan auf Serendipity als Blogsoftware gekommen. <a href="http://blog.kairaven.de/archives/1296-Ein-Buch-fuer-s9y.html" >Ein Beitrag</a> von kairaven.de hat mich darauf gebracht das ganze kurzerhand aufzusetzen. Dabei möchte ich gleich mit einem Spiel beginnen.<br />
<br />
<a class='serendipity_image_link' href='http://sven.broeckling.de/uploads/avanor1.png'><!-- s9ymdb:1 --><img width='110'  style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/avanor1.serendipityThumb.png" alt="" /></a>Das als erstes vorgestellte Programm soll das Spiel <a href="http://www.avanor.com">Avanor</a> sein, das ich vor zwei Tagen entdeckt habe, und das mir bereits einige Abendstunden gestohlen hat. Avanor ist ein Konsolenspiel der Rogue-Klasse, also im weitesten Sinne verwandt mit Nethack und ähnlichen. <br />
<a class='serendipity_image_link' href='http://sven.broeckling.de/uploads/avanor2.png'><!-- s9ymdb:2 --><img width='110'  style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/avanor2.serendipityThumb.png" alt="" /></a><br />
Im Spiel erstellt man einen Charakter der üblichen Rollenspielklassen Mensch, Halbelf, Hochelf, Halbling, Halbork, Zweg oder Gnome, um sich dann in einer sehr <a class='serendipity_image_link' href='http://sven.broeckling.de/uploads/avanor4.png'><!-- s9ymdb:4 --><img width='110' height='72' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/avanor4.serendipityThumb.png" alt="" /></a><br />
kleinen Welt zu bewegen, die eine überschaubare Zahl von Questen enthält. Trotzdem ist das Ganze nicht anspruchslos, die Quicksave Funktion ist gerade am Anfang wirklich hilfreich.<br />
Zu der hübschen ASCII Karte gibt es dann noch ein gut zu benutzendes Charaktermanagement, bestehend aus Inventar, Fertigkeiten und Ausrüstung.<br />
<a class='serendipity_image_link' href='http://sven.broeckling.de/uploads/avanor3.png'><!-- s9ymdb:3 --><img width='110' height='72' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://sven.broeckling.de/uploads/avanor3.serendipityThumb.png" alt="" /></a><br />
Das ganze sollte auf jedem curses-fähigen System compilierbar sein, Nach dem Build fällt nur ein Binary heraus, sämtliche Mapdaten sind hardcoded. Dafür ist der Code sehr überschaubar.<br />
<br />
  
            </div>
        </content>
        
    </entry>

</feed>