<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7531699</id><updated>2011-04-21T14:01:01.399-07:00</updated><title type='text'>Linux Tips</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7531699.post-112915141774264655</id><published>2005-10-12T14:09:00.000-07:00</published><updated>2005-10-12T14:10:17.746-07:00</updated><title type='text'>POstfix</title><content type='html'>Did a quick postfix setup...could send mails but could not receive...the culprit was teh router which was blocking port 25.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-112915141774264655?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/112915141774264655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=112915141774264655' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112915141774264655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112915141774264655'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/10/postfix.html' title='POstfix'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-112329745723659897</id><published>2005-08-05T20:04:00.000-07:00</published><updated>2005-08-05T20:04:17.243-07:00</updated><title type='text'>DRUPAL  /usr/share/doc/drupal/README.Debian.gz</title><content type='html'>/usr/share/doc/drupal/README.Debian.gz&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-112329745723659897?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/112329745723659897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=112329745723659897' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112329745723659897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112329745723659897'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/08/drupal-usrsharedocdrupalreadmedebiangz.html' title='DRUPAL  /usr/share/doc/drupal/README.Debian.gz'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-112322594143042737</id><published>2005-08-05T00:10:00.000-07:00</published><updated>2005-08-05T00:12:21.436-07:00</updated><title type='text'>Saaala</title><content type='html'>All perl modules in Hoary Hedgehog are managed by the apt-get/synaptic system?&lt;br /&gt;Damn...and i was MCPANing them all the while...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-112322594143042737?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/112322594143042737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=112322594143042737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112322594143042737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112322594143042737'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/08/saaala.html' title='Saaala'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-112233591938736053</id><published>2005-07-25T16:56:00.000-07:00</published><updated>2005-07-25T16:58:39.393-07:00</updated><title type='text'>SCP Funda</title><content type='html'>The syntax for SCP is almost identical to the regular cp command for copying files, but with an added syntax for specifying the server the filesystem resides on:&lt;br /&gt;&lt;br /&gt;scp [user@host:]&lt;file or files to copy&gt; [user@host:]&lt;directory or filename to copy to&gt;&lt;br /&gt;&lt;br /&gt;For example, to copy xyz.cpp from the current directory to my home directory on bakwaas.homelinux.net, I would type this:&lt;br /&gt;&lt;br /&gt;scp xyz.cpp mylogin@bakwaas.homelinux.net:/home/mylogin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-112233591938736053?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/112233591938736053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=112233591938736053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112233591938736053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112233591938736053'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/07/scp-funda.html' title='SCP Funda'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-112231834153579686</id><published>2005-07-25T12:04:00.000-07:00</published><updated>2005-07-25T12:13:38.390-07:00</updated><title type='text'>Usage in Perl</title><content type='html'>unless ( @ARGV == 1){&lt;br /&gt;        die "usage:\.\\script_name &lt;exactly_one_file_name&gt;";&lt;br /&gt;&lt;br /&gt;Important it is @ARGV and not $ARGV.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-112231834153579686?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/112231834153579686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=112231834153579686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112231834153579686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112231834153579686'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/07/usage-in-perl.html' title='Usage in Perl'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-112148938308242574</id><published>2005-07-15T21:46:00.000-07:00</published><updated>2005-07-15T22:30:49.430-07:00</updated><title type='text'>Movable Type</title><content type='html'>So the jokers at Movable Type didnot update their manual for apache2. Had trouble to get the cgi scripts to run...&lt;br /&gt;&lt;br /&gt;Did the following for it to work...&lt;br /&gt;Added the following file to apache2.conf...&lt;br /&gt;&lt;br /&gt;"&lt; Directory /var/www/apache2-default &gt;"       &lt;br /&gt;  Options +ExecCGI&lt;br /&gt;"&lt; /Directory&gt; "&lt;br /&gt;&lt;br /&gt;the other instruction was correct that is...&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;Outside of the Directory or Location block, add the line&lt;br /&gt;       AddHandler cgi-script .cgi&lt;br /&gt;Restart the webserver.&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;An the woes continued ...on running mt-load.cgi, the damn thing showed access denied...so figured from google that the user lacked create permissions...did a grant ALL on database.* to databaseuser@localhost...and things worked!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-112148938308242574?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/112148938308242574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=112148938308242574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112148938308242574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/112148938308242574'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/07/movable-type.html' title='Movable Type'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111949710514428094</id><published>2005-06-22T20:24:00.000-07:00</published><updated>2005-06-22T20:25:05.150-07:00</updated><title type='text'>Ubuntu:How to mount network folders on boot-up, and allow all users to read/write?</title><content type='html'>http://www.ubuntuguide.org/#mountunmountnetworkfolders&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111949710514428094?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111949710514428094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111949710514428094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111949710514428094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111949710514428094'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/06/ubuntuhow-to-mount-network-folders-on.html' title='Ubuntu:How to mount network folders on boot-up, and allow all users to read/write?'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111890460620527746</id><published>2005-06-15T23:49:00.000-07:00</published><updated>2005-06-15T23:50:06.260-07:00</updated><title type='text'>Rsync Vs Unison</title><content type='html'>http://www.cis.upenn.edu/~bcpierce/unison/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111890460620527746?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111890460620527746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111890460620527746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111890460620527746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111890460620527746'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/06/rsync-vs-unison.html' title='Rsync Vs Unison'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111864940695648862</id><published>2005-06-13T00:52:00.000-07:00</published><updated>2005-06-13T00:56:47.700-07:00</updated><title type='text'>Deleting Linux Partitions and Windows doesn't boot!!</title><content type='html'>Okai, here is the situation..roomie's machine had a dual boot congiguration ( Windoze XP and Ubuntu)...the partition which had the linux installation was deleted ( from  Administrator Tools in XP)...when rebooted, it would fail at grub! Couldn't boot into windows.&lt;br /&gt;FIX:-&lt;br /&gt;a) insert the original windows XP installation CD.&lt;br /&gt;b) Press R to enter Recovery mode.&lt;br /&gt;c) run chkdsk&lt;br /&gt;d) run fixmbr&lt;br /&gt;e) fixboot&lt;br /&gt;&lt;br /&gt;reboot by typing exit on the command line.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111864940695648862?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111864940695648862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111864940695648862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111864940695648862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111864940695648862'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/06/deleting-linux-partitions-and-windows.html' title='Deleting Linux Partitions and Windows doesn&apos;t boot!!'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111686783682039072</id><published>2005-05-23T10:03:00.000-07:00</published><updated>2005-05-23T10:03:56.823-07:00</updated><title type='text'>How to remount /etc/fstab without rebooting?</title><content type='html'>How to remount /etc/fstab without rebooting?&lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;sudo mount -a&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111686783682039072?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111686783682039072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111686783682039072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111686783682039072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111686783682039072'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/05/how-to-remount-etcfstab-without.html' title='How to remount /etc/fstab without rebooting?'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111577848500876267</id><published>2005-05-10T19:26:00.000-07:00</published><updated>2005-05-10T19:28:05.013-07:00</updated><title type='text'>Perl Tip</title><content type='html'>If you see an error which is similar to this...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Undefined subroutine &amp;main::convert_date called at ./script4.pl line 54, &lt;FD&gt; line 4.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then most likely there is a 'locha' in the subroutine ( this is perl's way of givingya a compilation error!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111577848500876267?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111577848500876267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111577848500876267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111577848500876267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111577848500876267'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/05/perl-tip.html' title='Perl Tip'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111526438341939158</id><published>2005-05-04T20:38:00.000-07:00</published><updated>2005-05-04T20:39:43.423-07:00</updated><title type='text'>Microshaft Eqn Editor</title><content type='html'>Okai, not technically a *nix post..but here it goes...&lt;br /&gt;occasionally I find that I don't get the toolbar to edit a MS eqn, what needs to be done is View-&gt; Toolbar and bingo the toolbar is there for ya.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111526438341939158?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111526438341939158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111526438341939158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111526438341939158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111526438341939158'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/05/microshaft-eqn-editor.html' title='Microshaft Eqn Editor'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111507828543881356</id><published>2005-05-02T16:55:00.000-07:00</published><updated>2005-05-02T16:58:05.436-07:00</updated><title type='text'>Mounting UNIX and Windoze Shares on Mac OS X</title><content type='html'>Easy...&lt;br /&gt;&lt;br /&gt;UNIX&lt;br /&gt;Finder-&gt;Go-&gt;Connect to Server-&gt; ftp://unixbox; say yes to mount dialog box that pops up.&lt;br /&gt;Windoze&lt;br /&gt;Same as above except&lt;br /&gt;-&gt;smb://Windoze Box IP; say yes again.&lt;br /&gt;&lt;br /&gt;Done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111507828543881356?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111507828543881356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111507828543881356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111507828543881356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111507828543881356'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/05/mounting-unix-and-windoze-shares-on.html' title='Mounting UNIX and Windoze Shares on Mac OS X'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111256395476531115</id><published>2005-04-03T14:30:00.000-07:00</published><updated>2005-07-25T14:44:27.856-07:00</updated><title type='text'>FSCKING DATABASES</title><content type='html'>&lt;span style="font-weight:bold;"&gt;FSKING code for creating a fscking database with fscking tables in 'em.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;god@ubuntu:~ $ sudo mysql -p -u root&lt;br /&gt;Enter password:&lt;br /&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 947 to server version: 4.0.20-log&lt;br /&gt;&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;&lt;br /&gt;mysql&gt; create database webdb;&lt;br /&gt;Query OK, 1 row affected (0.04 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; GRANT SELECT, INSERT, UPDATE, DELETE ON webdv.*  TO webdev@localhost;&lt;br /&gt;Query OK, 0 rows affected (0.12 sec)&lt;br /&gt;&lt;br /&gt;Better still..since the prev command does not grant create privileges..we can have...&lt;br /&gt;mysql&gt; GRANT  ALL ON webdv.*  TO webdev@localhost;&lt;br /&gt;Query OK, 0 rows affected (0.12 sec)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Okai, these fscking databases never fail to amaze me...so today i discovered that there were duplicate rows in the table!! Yikes....read up a lil bit&lt;a href="http://www.databasejournal.com/features/mysql/article.php/10897_2201621_1"&gt; here.&lt;/a&gt;.&lt;br /&gt;But thazz okay, if that link is not there..apparently this is the right way to create tables...&lt;br /&gt;&lt;br /&gt;create table ADDED(Developer CHAR(20) NOT NULL,FILE_OR_DIR CHAR(150) NOT NULL,PRIMARY KEY(Developer,FILE_OR_DIR));&lt;br /&gt;&lt;br /&gt;create table MODIFIED(Developer CHAR(20) NOT NULL,FILE_OR_DIR CHAR(150) NOT NULL,Count INT,PRIMARY KEY(Developer,FILE_OR_DIR));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111256395476531115?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111256395476531115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111256395476531115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111256395476531115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111256395476531115'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/04/fscking-databases.html' title='FSCKING DATABASES'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-111189267781657322</id><published>2005-03-26T19:04:00.000-08:00</published><updated>2005-03-26T19:04:37.816-08:00</updated><title type='text'>Installing Perl Modules</title><content type='html'>Two steps...&lt;br /&gt;&lt;br /&gt;perl -MCPAN -e shell&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cpan&gt; install &lt;Module you wanna install&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-111189267781657322?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/111189267781657322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=111189267781657322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111189267781657322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/111189267781657322'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/03/installing-perl-modules.html' title='Installing Perl Modules'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110901017350409565</id><published>2005-02-21T10:16:00.000-08:00</published><updated>2005-02-21T10:22:53.506-08:00</updated><title type='text'>Importing mbox files into Thunderbird</title><content type='html'>This is the easiest way (I think...correct me)&lt;br /&gt;1) Download the mbox archive say allmails.mbox to your homedir ~/&lt;br /&gt;2) from the thunderbird interface create a folder in your Local Folders, say call it Newmails&lt;br /&gt;2) navigate to your local folders&lt;br /&gt;   a) cd ~/.mozilla-thunderbird/5zcblahblah.default/Mail/Local Folders&lt;br /&gt;   b) confirm that Newmails and Newmails.msf exist.&lt;br /&gt;   c) cp ~/allmails.mbox .&lt;br /&gt;   d) rm Newmails # remove the Newmails file only not the .msf file&lt;br /&gt;   e) mv allmails.mbox Newmails&lt;br /&gt;3) restart Thunderbird&lt;br /&gt;4) Click on Newmails, depending upon the size, the messages may take a while to load.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110901017350409565?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110901017350409565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110901017350409565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110901017350409565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110901017350409565'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/02/importing-mbox-files-into-thunderbird.html' title='Importing mbox files into Thunderbird'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110900778733031260</id><published>2005-02-21T09:41:00.000-08:00</published><updated>2005-02-21T09:43:07.330-08:00</updated><title type='text'>sed tip</title><content type='html'>To delete the first 1000 lines from a file&lt;br /&gt;&lt;br /&gt;$ sed '1,100d' filename.txt &gt; outputfile.txt&lt;br /&gt;&lt;br /&gt;&lt;em&gt;the sed -e option is reqd only if you are using multiple editing commands on the same instance of sed.&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110900778733031260?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110900778733031260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110900778733031260' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110900778733031260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110900778733031260'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/02/sed-tip.html' title='sed tip'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110810097381315341</id><published>2005-02-10T21:44:00.000-08:00</published><updated>2005-02-10T21:49:33.813-08:00</updated><title type='text'>Drupal</title><content type='html'>Drupal Installation was staright forward except for..when I did everything right and then type http://localhost, I would get...&lt;br /&gt;Fatal error: Call to undefined function: mysql_connect() in /var/www/apache2-default/includes/database.mysql.inc on line 31&lt;br /&gt;&lt;br /&gt;Went bonkers for quite sometime figuring out what the hell is going on?&lt;br /&gt;&lt;br /&gt;Checked the php.ini file in /etc/php4 and uncommented the relevant part, i.e &lt;br /&gt;### Copied and pasted from php.ini&lt;br /&gt;&lt;br /&gt;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;; Dynamic Extensions ;&lt;br /&gt;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;;&lt;br /&gt;; If you wish to have an extension loaded automatically, use the following&lt;br /&gt;; syntax:&lt;br /&gt;;&lt;br /&gt;;   extension=modulename.extension&lt;br /&gt;;&lt;br /&gt;; For example, on Windows:&lt;br /&gt;;&lt;br /&gt;;   extension=msql.dll&lt;br /&gt;;&lt;br /&gt;; ... or under UNIX:&lt;br /&gt;;&lt;br /&gt;;   extension=msql.so&lt;br /&gt;;&lt;br /&gt;; Note that it should be the name of the module only; no directory information &lt;br /&gt;; needs to go here.  Specify the location of the extension with the&lt;br /&gt;; extension_dir directive above.&lt;br /&gt;&lt;br /&gt;; Example lines:&lt;br /&gt;&lt;br /&gt;extension=mysql.so&lt;br /&gt;;extension=gd.so&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;##End of copy and paste&lt;br /&gt;&lt;br /&gt;Even then the thing would not work....the same error messages...&lt;br /&gt;After a lot of head banging, figured that I did't have the module ...duh!!!&lt;br /&gt;Went over to synaptic and marked for installation...the package is called php4-mysql &lt;br /&gt;&lt;br /&gt;and lo ...things worked!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110810097381315341?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110810097381315341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110810097381315341' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110810097381315341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110810097381315341'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/02/drupal.html' title='Drupal'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110763010023035015</id><published>2005-02-05T11:01:00.000-08:00</published><updated>2005-02-05T11:01:40.230-08:00</updated><title type='text'>Perl's CPAN Preferences</title><content type='html'>To alter the CPAN preferences, either edit the Config.pm configuration file manually, or use the following command in the CPAN shell.&lt;br /&gt;&lt;br /&gt;cpan&gt; o conf init&lt;br /&gt;&lt;br /&gt;The init configuration option runs through all the configuration questions, which may be time consuming. For example, other o conf commands can be used to list, remove, and add mirror sites, and then to save the changes to disk.&lt;br /&gt;&lt;br /&gt;cpan&gt; o conf urllist&lt;br /&gt;urllist&lt;br /&gt;ftp://ftp.kernel.org/pub/CPAN/&lt;br /&gt;Type 'o conf' to view configuration edit options&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cpan&gt; o conf urllist shift&lt;br /&gt;&lt;br /&gt;cpan&gt; o conf urllist push ftp://ftp-mirror.internap.com/pub/CPAN/&lt;br /&gt;&lt;br /&gt;cpan&gt; o conf urllist&lt;br /&gt;urllist&lt;br /&gt;ftp://ftp-mirror.internap.com/pub/CPAN/&lt;br /&gt;Type 'o conf' to view configuration edit options&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cpan&gt; o conf commit&lt;br /&gt;commit: wrote /usr/local/lib/perl5/5.6.1/CPAN/Config.pm&lt;br /&gt;&lt;br /&gt;To manually edit the existing configuration file, either open the user-specific ~/.cpan/CPAN/MyConfig.pm directly, or locate the system-wide configuration file (stored somewhere under the perl @INC path list) to edit with the following command.&lt;br /&gt;&lt;br /&gt;$ perl -le 'for (@INC) { $_ .= $ARGV[0]; print if -f }' /CPAN/Config.pm&lt;br /&gt;/System/Library/Perl/CPAN/Config.pm&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110763010023035015?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110763010023035015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110763010023035015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110763010023035015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110763010023035015'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/02/perls-cpan-preferences.html' title='Perl&apos;s CPAN Preferences'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110499370819744898</id><published>2005-01-05T22:37:00.000-08:00</published><updated>2005-01-05T22:41:48.196-08:00</updated><title type='text'>Mathematica Woes</title><content type='html'>Had a huge issue trying to get mathematica 4.1 installed on apache to correctly talk to my X-server on Ubuntu. Every time i launched Mathematica I would run into problems, here is what i posted on the mathematica usenet&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Dear friends,&lt;br /&gt;I am running  ubuntu Linux 2.6.8.1-3-386  on a pentium 4 machine. I am trying to get Mathematica run from remote server running SunOS apache 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-880.&lt;br /&gt;So , I read all the instructions and download the Type1,BDF and PCG tar.gz files ,then I unpack them into a neat MathFonts directory I created for myself. I then add the following lines to my .bashrc file&lt;br /&gt;##added for mathematica&lt;br /&gt;xset fp+ /home/nick/MathFonts/Type1&lt;br /&gt;xset fp+ /home/nick/MathFonts/BDF&lt;br /&gt;xset fp+ /home/nick/MathFonts/PCF&lt;br /&gt;xset fp rehash&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I then open a different xterm  and do a  ssh -X -C hostname_where_mathematica_runs, I login and punch mathematica enthusiastically...&lt;br /&gt;I see the Mathematica splash-screen coming on my local machine..coool...&lt;br /&gt;and then Mathematica complains that it can't find the needed fonts...too bad :( , i say continue..Mathematica says it can't find Math1 fonts and then defaults to courier.&lt;br /&gt;&lt;br /&gt;So friends , where am i going wrong?? I have tried to read all the related posts and stuff on the internet , but everything seems to be in accordance.&lt;br /&gt;&lt;br /&gt;Any tips would be heartly appreciated!&lt;br /&gt;&lt;br /&gt;-Nick&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well this is what I got from  a website , I did thefollowing and it worked!!&lt;br /&gt;&lt;br /&gt;First ftped to apache.&lt;br /&gt;Then downloaded the entire apache:/usr/local/mathematica/SystemFiles/Fonts/X directory to my homedir.&lt;br /&gt;then on ubuntu did the following...&lt;br /&gt;cd /usr/X11R6/lib/X11/fonts&lt;br /&gt;cp -r 75dpi 75dpi.orig&lt;br /&gt;cd 75dpi&lt;br /&gt;cp /home/nick/X/*.bdf .&lt;br /&gt;mkfontdir&lt;br /&gt;&lt;br /&gt;Voila!&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110499370819744898?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110499370819744898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110499370819744898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110499370819744898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110499370819744898'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2005/01/mathematica-woes.html' title='Mathematica Woes'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110418856951159639</id><published>2004-12-27T15:02:00.000-08:00</published><updated>2004-12-27T15:02:49.510-08:00</updated><title type='text'>zope and plone</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photos/44124479114@N01/2598984/" title="photo sharing"&gt;&lt;img src="http://photos2.flickr.com/2598984_4215b76e3e.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photos/44124479114@N01/2598984/"&gt;zope and plone&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	Had a tough time trying to figure out why I can access my Plone site and Zope Management Interfaces on the machine where it is hosted but not on others? Turns out that the Windows SP2 firewall had blocked all acess to ports 80 and 8080; I freed these and every thing seems fine.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110418856951159639?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110418856951159639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110418856951159639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110418856951159639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110418856951159639'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/12/zope-and-plone.html' title='zope and plone'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110323442473630879</id><published>2004-12-16T13:56:00.000-08:00</published><updated>2004-12-16T14:00:24.736-08:00</updated><title type='text'>Sudo</title><content type='html'>Had some trouble with sudo of late..basically added jpeg to the sudo file...&lt;br /&gt;and then found that sudo never prompted him for a password..did everything including using the PASSWD and NOPASSWD options, all the usual stuff that you find on the net...&lt;br /&gt;figured out that jpeg was a member of sudo and staff groups..removed him from these groups and everythings fine as usual...&lt;br /&gt;&lt;br /&gt;Herez my current sudoers file.&lt;br /&gt;&lt;br /&gt;# sudoers file.&lt;br /&gt;#&lt;br /&gt;# This file MUST be edited with the 'visudo' command as root.&lt;br /&gt;#&lt;br /&gt;# See the man page for details on how to write a sudoers file.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# Host alias specification&lt;br /&gt;&lt;br /&gt;# User alias specification&lt;br /&gt;&lt;br /&gt;# Cmnd alias specification&lt;br /&gt;&lt;br /&gt;# Defaults&lt;br /&gt;Defaults:jaideep	timestamp_timeout =0,lecture,insults,tty_tickets,mailto = "me@yahoo.com",mail_always&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# User privilege specification&lt;br /&gt;root	ALL=(ALL) ALL&lt;br /&gt;&lt;br /&gt;# Added by Ubuntu installer&lt;br /&gt;me	ALL=(ALL) ALL&lt;br /&gt;jpgeg	ALL=(ALL) ALL&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110323442473630879?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110323442473630879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110323442473630879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110323442473630879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110323442473630879'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/12/sudo.html' title='Sudo'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-110309190978909893</id><published>2004-12-14T22:25:00.000-08:00</published><updated>2004-12-14T22:25:09.790-08:00</updated><title type='text'>DSC00014</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photos/44124479114@N01/2219738/" title="photo sharing"&gt;&lt;img src="http://photos1.flickr.com/2219738_055bcd84b0.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photos/44124479114@N01/2219738/"&gt;DSC00014&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	The CPU&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-110309190978909893?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/110309190978909893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=110309190978909893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110309190978909893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/110309190978909893'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/12/dsc00014.html' title='DSC00014'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109682784079782176</id><published>2004-10-03T11:22:00.000-07:00</published><updated>2004-10-03T11:24:00.796-07:00</updated><title type='text'>Added FTP service at Boot time</title><content type='html'>by adding the following line in /etc/rc.d/boot.local&lt;br /&gt;&lt;br /&gt;pure-ftpd &amp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109682784079782176?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109682784079782176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109682784079782176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109682784079782176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109682784079782176'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/10/added-ftp-service-at-boot-_109682784079782176.html' title='Added FTP service at Boot time'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109604856514087712</id><published>2004-09-24T10:55:00.000-07:00</published><updated>2004-09-24T11:00:36.116-07:00</updated><title type='text'>Making the Mouse Scroll Wheel Work</title><content type='html'>My comments&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;This tip worked like a charm.Also remember that in Suse9.1; the Xserver is restarted every time you log out.&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;by Michael &lt;mogmios@mlug.missouri.edu&gt;&lt;br /&gt;&lt;br /&gt;A common problem I've had after installing Linux or upgrading XWindow is that my mouse's scroll wheel doesn't work. Fixing this in XFree86 is easy. On my system, which is RedHat, I edit /etc/X11/XF86Config-4 to change my X config. It may be in a different location on your system. Be sure to make a backup before editing this important configuration file.&lt;br /&gt;&lt;br /&gt;At the top of this file should be a 'ServerLayout' section. In this section look to see what your InputDevice CorePointer is. Usually it will be identified as 'mouse0'. When you find out what your pointing device is look through the config file until you find an 'InputDevice' section with the identifier you are using. It should be using a 'mouse' driver.&lt;br /&gt;&lt;br /&gt;In this section you'll need to change or add several options. Change the protocol to 'imps/2'. Add a 'buttons' option set to '5'. Add a 'ZAxisMapping' option set to '4 5'. Make sure that the 'Emulate3Buttons' option is set to 'no'. The finished section should look something like this:&lt;br /&gt;&lt;br /&gt;  Section "InputDevice"&lt;br /&gt;        Identifier  "Mouse0"&lt;br /&gt;        Driver      "mouse"&lt;br /&gt;        Option      "Protocol" "imps/2"&lt;br /&gt;        Option      "Device" "/dev/psaux"&lt;br /&gt;        Option      "Buttons" "5"&lt;br /&gt;        Option      "ZAxisMapping" "4 5"&lt;br /&gt;        Option      "Emulate3Buttons" "no"&lt;br /&gt;  EndSection&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Restart your X server and you should find your scroll wheel working. Some applications don't support the scroll wheel so if you are still having trouble try using a different application. If the scroll wheel still doesn't work for you then most likely you have a non-standard mouse and will need to try something else to activate the wheel.&lt;br /&gt;&lt;br /&gt;Copyright ©2004 Michael Ogmios. Content may be copied and distributed in full or part as long as this copyright notice is attached.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109604856514087712?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109604856514087712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109604856514087712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109604856514087712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109604856514087712'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/09/making-mouse-scroll-wheel-work.html' title='Making the Mouse Scroll Wheel Work'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109581824332330864</id><published>2004-09-21T18:56:00.000-07:00</published><updated>2004-09-21T18:57:23.323-07:00</updated><title type='text'>Yoper Linux</title><content type='html'>http://www.yoper.com/&lt;br /&gt;&lt;br /&gt;Yoper seems like a promise!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109581824332330864?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109581824332330864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109581824332330864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109581824332330864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109581824332330864'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/09/yoper-linux.html' title='Yoper Linux'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109212730283309364</id><published>2004-08-10T01:36:00.000-07:00</published><updated>2004-08-10T01:41:42.833-07:00</updated><title type='text'>An introduction to Linux sound systems and APIs
</title><content type='html'>   &lt;br /&gt;An introduction to Linux sound systems and APIs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Monday August 09, 2004 (04:00 PM GMT)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By: Christian Vincenot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When coding a program, one of the best ways to show users that an event has happened is to produce sounds. That's why sound is now present in almost every program. Every operating system has different sound systems and APIs to access the sound card, so that no low-level coding is required to use the sound device. Programmers have many different choices concerning which system to use, especially under Linux -- and maybe that's the problem. This article will illustrate free sound architectures under Linux, as well as the different interfaces a programmer can use.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Kernel sound drivers: OSS and ALSA&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The most direct way is to talk to the kernel sound drivers . Linux has two&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open Sound System&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open Sound System (OSS) comes in two versions: OSS/Free, which is a free software maintained by the well-known kernel hacker Alan Cox, and 4Front Technologies' OSS (OSS/Linux, formerly known as VoxWare, USS, and TASD), which is a proprietary implementation based on OSS/Free. OSS is available not only for Linux but also for BSD OSes and other Unixes. That may be its only advantage, because this system is not very powerful and was officially replaced by ALSA in 2.5 kernels.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'm not going to talk about programming for OSS, considering that it is deprecated, but it is not very difficult (to sum up, open /dev/dsp, /dev/dspW, or /dev/audio depending on the format you want, manipulate the file descriptor to read and write to the sound card, and use some ioctl to set parameters like volume). You can learn about advanced OSS programming in 4Front's API specs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ALSA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advanced Linux Sound Architecture (ALSA) is the new Linux sound hardware abstraction layer that replaces OSS. In fact, it's more than a simple HAL because it provides a user-space library named libasound. What's more, it's thread-safe, works well with SMP machines, and is backward-compatible with OSS/Free (using OSS emulation module). Of course, it's also free and open source. A full description of its features and API can be found on ALSA's Web site, and I would also suggest reading Paul Davis' Tutorial.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let's take a look at ALSA's API with a little example that will show the good and bad points of ALSA:&lt;br /&gt;&lt;br /&gt;/* Example stolen from Paul Davis' tutorial (don't worry, he won't sue me -- GPL privilege)&lt;br /&gt; * Have just omitted the error handling for concision and added comments */&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;stdlib.h&gt;&lt;br /&gt;#include &lt;alsa/asoundlib.h&gt;&lt;br /&gt;&lt;br /&gt;main (int argc, char *argv[])&lt;br /&gt;{&lt;br /&gt;        int i;&lt;br /&gt;        int err;&lt;br /&gt;        short buf[128];&lt;br /&gt;        snd_pcm_t *playback_handle;&lt;br /&gt;        snd_pcm_hw_params_t *hw_params;&lt;br /&gt;&lt;br /&gt;        /* Open the device */&lt;br /&gt;        snd_pcm_open (&amp;playback_handle, argv[1], SND_PCM_STREAM_PLAYBACK, 0);&lt;br /&gt;&lt;br /&gt;        /* Allocate Hardware Parameters structures and fills it with config space for PCM */&lt;br /&gt;        snd_pcm_hw_params_malloc (&amp;hw_params);&lt;br /&gt;        snd_pcm_hw_params_any (playback_handle, hw_params);&lt;br /&gt;&lt;br /&gt;        /* Set parameters : interleaved channels, 16 bits little endian, 44100Hz, 2 channels */&lt;br /&gt;        snd_pcm_hw_params_set_access (playback_handle, hw_params, SND_PCM_ACCESS_RW_INTERLEAVED);&lt;br /&gt;        snd_pcm_hw_params_set_format (playback_handle, hw_params, SND_PCM_FORMAT_S16_LE);&lt;br /&gt;        snd_pcm_hw_params_set_rate_near (playback_handle, hw_params, 44100, 0);&lt;br /&gt;        snd_pcm_hw_params_set_channels (playback_handle, hw_params, 2);&lt;br /&gt;&lt;br /&gt;        /* Assign them to the playback handle and free the parameters structure */&lt;br /&gt;        snd_pcm_hw_params (playback_handle, hw_params);&lt;br /&gt;        snd_pcm_hw_params_free (hw_params);&lt;br /&gt;&lt;br /&gt;        /* Prepare &amp; Play */&lt;br /&gt;        snd_pcm_prepare (playback_handle);&lt;br /&gt;        for (i = 0; i &lt; 10; i++) {&lt;br /&gt;                if ((err = snd_pcm_writei (playback_handle, buf, 128)) != 128) {&lt;br /&gt;                        (...)&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        /* Close the handle and exit */&lt;br /&gt;        snd_pcm_close (playback_handle);&lt;br /&gt;        exit (0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you can see, the API is quite clear and not very hard to understand, even if it's a bit long. ALSA acts at a level low enough for the programmer to be able to chose another design called interrupt-driven or callback-driven, which is fundamentally better because:&lt;br /&gt;There is no blocking on reads/writes.&lt;br /&gt;&lt;br /&gt;The application is "driven" by the callbacks and can continue to run.&lt;br /&gt;&lt;br /&gt;The code is easily portable to other sound systems.&lt;br /&gt;The low-level capabilities of ALSA make it a powerful system, but code becomes very tricky when it comes to the full duplex with callbacks method, for which other sound systems may be preferrable. (Even the ALSA Audio API Tutorial advises using JACK for full duplex.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;About the practical use of Kernel Drivers...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Besides the full duplex difficulty, another problem for ALSA multimedia applications is what motivated the creation of sound servers: such programs need concurrent access to the sound card, and it's not possible to have only one application be able to produce and capture sound at a time. Practically, designers must determine at which level a program should act: If it needs low-level access, ALSA can be a good solution, but if sound is not the main part of the project or if high-level operations are needed, consider instead the sound systems we'll talk about next.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sound servers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sound servers are software that sit atop the audio core and put one more layer between the user and the hardware. The act of talking to the kernel's audio API comes with a little performance hit but results in a simpler API which enables applications to do software-based sample mixing. Software-based sample mixing enables applications to play multiple sounds at the same time on a single sound card without needing one a sound card that natively supports that. With it, applications can share the sound hardware, because sound servers support multiple channels (kernel sound servers support only one) by multiplexing and streaming the result to /dev/dsp. Some sound servers (esd, aRTs, NAS) are also built on a client/server model that enable sound to be played remotely and transparently on a network: this is called network transparency. If you want sound servers with such features, take a look at the Squeak homepage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ESD&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ESD, short for Enlightenment Sound Daemon, was originally developed for Enlightenment and is now part of the GNOME Project. ESoundD supports full duplex and network transparency, and is especially suited for sound effects and long unsynchronized music. You can extract the API from source: esd.h  and esdlib.c. Compile with gcc -o esdtest esdtest.c `esd-config --cflags --libs`.&lt;br /&gt;&lt;br /&gt;/* Let's see a skeleton that a recording program can change */&lt;br /&gt;#include &lt;stdio.h&gt; /* for NULL */&lt;br /&gt;#include "esd.h"&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;        char buf[ESD_BUF_SIZE];&lt;br /&gt;        int sock = -1;&lt;br /&gt;&lt;br /&gt;        /* Set format : 16bits stereo stream for recording */&lt;br /&gt;        esd_format_t format = ESD_BITS16 | ESD_STEREO | ESD_STREAM | ESD_RECORD;&lt;br /&gt;&lt;br /&gt;        /* And only 1 command to open the recording :) with the format defined earlier,&lt;br /&gt;         * ESD's default rate (ESD_DEFAULT_RATE -&gt; 44100Hz),&lt;br /&gt;         * on localhost:16001 (default -&gt; NULL), and  with "testprog" as internal name */&lt;br /&gt;        sock = esd_record_stream_fallback(format, ESD_DEFAULT_RATE, NULL, "testprog");&lt;br /&gt;        if (sock &lt;= 0) return 1;&lt;br /&gt;&lt;br /&gt;        /* And now treat that */&lt;br /&gt;        while (read(sock, buf, ESD_BUF_SIZE) &gt; 0)&lt;br /&gt;        {&lt;br /&gt;                (...)&lt;br /&gt;        }&lt;br /&gt;        close(sock);&lt;br /&gt;        return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Piece of cake, isn't it? The esd_record_stream function is in fact a wrapper that calls esd_open_sound(hostname) to connect to the server, negotiate with it, then sets the socket buffers size with esd_set_socket_buffers(sock, format, rate, 44100). The _fallback functions fall back to ALSA and OSS to try to play the sound if ESD fails, which is quite useful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;aRTs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Analog RealTime Synthesizer is KDE's sound server. Support is progressively fading for it and it's probable that it will be abandoned in the future in favor of JACK. Nevertheless, various commentaries suggest that aRTs has better sound quality than ESD due to better sound processing routines (but higher latency too due to their complexity). aRTs also supports full duplex (but has been reported to be a bit buggy in this area) and network transparency and works on BSD operating systems. Documentation about the aRTs C API is quite rare (see the aRTs project Web site for a little page about it) so the best thing to do is to take a look at the source (artsc.h).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's a little example to compile with gcc -o artstest artstest.c `artsc-config --cflags` `artsc-config --libs`.&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;artsc.h&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;    arts_stream_t stream;&lt;br /&gt;    char buffer[8192];&lt;br /&gt;    int bytes;&lt;br /&gt;    int errorcode;&lt;br /&gt;&lt;br /&gt;    /* Initialise aRTs with arts_init() */&lt;br /&gt;        if ((errorcode = arts_init()) &lt; 0)&lt;br /&gt;    {&lt;br /&gt;        fprintf(stderr, "arts_init error: %s\n", arts_error_text(errorcode));&lt;br /&gt;        return 1;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    /* Open a stream for playback at 44100Hz, 16 bits, 2 channels as "aRTstest" */&lt;br /&gt;        stream = arts_play_stream(44100, 16, 2, "aRTstest");&lt;br /&gt;&lt;br /&gt;    /* example of treatment : read music from stdin and play it with arts_write */&lt;br /&gt;        while((bytes = fread(buffer, 1, 8192, stdin)) &gt; 0)&lt;br /&gt;    {&lt;br /&gt;        if ((errorcode = arts_write(stream, buffer, bytes)) &lt; 0)&lt;br /&gt;        {&lt;br /&gt;            fprintf(stderr, "arts_write error: %s\n", arts_error_text(errorcode));&lt;br /&gt;            return 1;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    /* Does what it says */&lt;br /&gt;    arts_close_stream(stream);&lt;br /&gt;    arts_free();&lt;br /&gt;&lt;br /&gt;    return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The API is also very simple, as you can see. Some other useful commands include arts_suspend, to free the DSP device for aRTs-incapable programs to access it, and arts_stream_set, to configure some stream parameters.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;JACK&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;JACK (also called JACKit) follows the long tradition of recursive acronyms -- in this case, Jack Audio Connection Kit. This project was created as an implementation of the Linux Audio Applications Glue API project, which aimed at creating a high-bandwidth, low-latency inter-application communication API. It is a real-time sound server written for POSIX systems (and actually available for Linux and OS X) that enables different applications to have synchronous connections to the audio hardware and to share audio among themselves via a ports system. Programs can run as normal independent applications or as plugins within the JACK server. It uses the callback method shown earlier, implements ringbuffers, and is, in my humble opinion, the most excellent and promising sound server. The only bad point is that it is not widely available at the moment, but that should be fixed soon. (Gentoo already includes it and there are some third party RPMs for Fedora Core.) The API is well-documented and available on SourceForge. A fully documented example for a capture client is available on Berman Home Page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here we'll start with something softer and smaller. Compilation is done using gcc -o jacktest `pkg-config --cflags --libs jack` jacktest.c.&lt;br /&gt;&lt;br /&gt;/* Lighter version of simple_client.c */&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;errno.h&gt;&lt;br /&gt;#include &lt;unistd.h&gt;&lt;br /&gt;#include &lt;jack/jack.h&gt;&lt;br /&gt;&lt;br /&gt;jack_port_t *input_port;&lt;br /&gt;jack_port_t *output_port;&lt;br /&gt;&lt;br /&gt;/* Processing thread: only transmit the data from input to output */&lt;br /&gt;int process (jack_nframes_t nframes, void *arg)&lt;br /&gt;{&lt;br /&gt;        jack_default_audio_sample_t *out = (jack_default_audio_sample_t *) jack_port_get_buffer (output_port, nframes);&lt;br /&gt;        jack_default_audio_sample_t *in = (jack_default_audio_sample_t *) jack_port_get_buffer (input_port, nframes);&lt;br /&gt;&lt;br /&gt;        memcpy (out, in, sizeof (jack_default_audio_sample_t) * nframes);&lt;br /&gt;&lt;br /&gt;        return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void jack_shutdown (void *arg)&lt;br /&gt;{&lt;br /&gt;        exit (1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int main ()&lt;br /&gt;{&lt;br /&gt;        jack_client_t *client;&lt;br /&gt;&lt;br /&gt;        /* try to become a client of the JACK server */&lt;br /&gt;&lt;br /&gt;        if ((client = jack_client_new ("test_client") == 0) {&lt;br /&gt;                fprintf (stderr, "jack server not running?\n");&lt;br /&gt;                return 1;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        /* tell the JACK server to call `process()' whenever there is work to be done. */&lt;br /&gt;        jack_set_process_callback (client, process, 0);&lt;br /&gt;&lt;br /&gt;        /* tell the JACK server to call `jack_shutdown()' if it ever shuts down, either entirely, or if it&lt;br /&gt;           just decides to stop calling us. */&lt;br /&gt;        jack_on_shutdown (client, jack_shutdown, 0);&lt;br /&gt;&lt;br /&gt;        /* display the current sample rate. once the client is activated  */&lt;br /&gt;        printf ("engine sample rate: %lu\n", jack_get_sample_rate (client));&lt;br /&gt;&lt;br /&gt;        /* create two ports: 1 input &amp; 1 output*/&lt;br /&gt;        input_port = jack_port_register (client, "input", JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput, 0);&lt;br /&gt;        output_port = jack_port_register (client, "output", JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0);&lt;br /&gt;&lt;br /&gt;        /* tell the JACK server that we are ready to roll */&lt;br /&gt;        if (jack_activate (client)) {&lt;br /&gt;                fprintf (stderr, "cannot activate client");&lt;br /&gt;                return 1;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        /* connect the ports: input one to the first ALSA PCM input and output to the first ALSA PCM output */&lt;br /&gt;        if (jack_connect (client, "alsa_pcm:in_1", jack_port_name (input_port))) {&lt;br /&gt;                fprintf (stderr, "cannot connect input ports\n");&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        if (jack_connect (client, jack_port_name (output_port), "alsa_pcm:out_1")) {&lt;br /&gt;                fprintf (stderr, "cannot connect output ports\n");&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        /* Since this is just a toy, run for a few seconds, then finish */&lt;br /&gt;        sleep (10);&lt;br /&gt;        jack_client_close (client);&lt;br /&gt;        exit (0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This code looks a bit more complex. To understand it, you must think of JACK as a big and complex switchboard with inputs and outputs and on which you can interconnect devices (microphone, sound card, programs, etc.) by plugging them into it. The program copies what's connected as input to what's connected as output (meaning, generally speaking, a wire or cable). This explanation is meant to be a simple example. If you want a complete analysis, go to dis-dot-dat.net.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All the handling is done in the callback and the main program flow is still running (that's why we've used sleep(10)). By the way, there are some real-time considerations when implementing the callback, like using non-blocking and deterministic calls only (malloc, printf, mutex_*, etc., must be banned). Here we're hard-coding a connection between our created output_port and alsa_pcm:out_1, but if you need something more flexible, an interesting function is jack_get_ports (client, NULL, NULL, JackPortIsPhysical|JackPortIsOutput), which for example gets a list of physical output ports available.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Practical implementation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So many APIs -- what now? What should a programmer wanting to use sound choose?&lt;br /&gt;For somebody who wants to code a sound server or have a direct access to sound, ALSA is the obvious choice.&lt;br /&gt;&lt;br /&gt;If you're sure that your program will run on only one destkop environment and will be closely linked to it, then choose ESD (for Enlightenment or GNOME) or aRTs (for KDE).&lt;br /&gt;&lt;br /&gt;If your system doesn't need to be portable for the moment, Jack is full of promise.&lt;br /&gt;&lt;br /&gt;For multi-systems/OS portability, join us tomorrow for part two of this discussion.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To be continued....&lt;br /&gt;&lt;br /&gt;Vincenot has been a Linux user for eight years, and is currently a student at University Louis Pasteur in Strasbourg.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109212730283309364?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109212730283309364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109212730283309364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109212730283309364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109212730283309364'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/08/introduction-to-linux-sound-systems.html' title='An introduction to Linux sound systems and APIs&#xD;&#xA;'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109211721937665147</id><published>2004-08-09T22:53:00.000-07:00</published><updated>2004-08-09T22:53:39.383-07:00</updated><title type='text'>1.5 Volt AGP Card</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=171237" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/171237.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=171237"&gt;1.5 Volt AGP Card&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	This is how the 1.5V (recent) AGP cards look like, they have 3 slots.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109211721937665147?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109211721937665147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109211721937665147' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109211721937665147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109211721937665147'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/08/15-volt-agp-card.html' title='1.5 Volt AGP Card'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109211710849819481</id><published>2004-08-09T22:51:00.000-07:00</published><updated>2004-08-09T22:51:48.503-07:00</updated><title type='text'>non1.5V AGP CArd</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=171235" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/171235.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=171235"&gt;non1.5V AGP CArd&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	This is how a non 1.5v (older) AGP card looks like.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109211710849819481?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109211710849819481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109211710849819481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109211710849819481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109211710849819481'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/08/non15v-agp-card.html' title='non1.5V AGP CArd'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109165710225981436</id><published>2004-08-04T15:02:00.000-07:00</published><updated>2004-08-04T15:05:02.260-07:00</updated><title type='text'>exporting ENV Variables</title><content type='html'>While setting ENV variables there should be no space between the "=" signs as in the following examples:-&lt;br /&gt;&lt;br /&gt;export PATH=$PATH:/usr/X11R6/bin&lt;br /&gt;           ^^ ..no space this would work&lt;br /&gt;&lt;br /&gt;export PATH =$PATH:/usr/X11R6/bin&lt;br /&gt;           ^ ...space..this would screw up.   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109165710225981436?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109165710225981436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109165710225981436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109165710225981436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109165710225981436'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/08/exporting-env-variables_109165710225981436.html' title='exporting ENV Variables'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109148374451572491</id><published>2004-08-02T14:44:00.000-07:00</published><updated>2004-08-02T14:55:44.516-07:00</updated><title type='text'>Mount</title><content type='html'>Let &lt;br /&gt;&lt;br /&gt;fs0 :    be a file system of type1&lt;br /&gt;fs1:     be a file system of type2&lt;br /&gt;$PREFIX: be any directory prefix, like /usr,/home, /home/rajiv/../whatever&lt;br /&gt;temp: be a sub-directory in $PREFIX&lt;br /&gt;&lt;br /&gt;If the $PREFIX/temp directory of fs0 contains any files, they are hidden or covered, when fs1 is mounted in it and may no longer be available for use. When fs1 is unmounted, these files become visible once again.&lt;br /&gt;&lt;br /&gt;Herez an example....&lt;br /&gt;&lt;br /&gt;my temp directory contains..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;rajiv@linux:~/temp&gt; ls&lt;br /&gt;total 3.0M&lt;br /&gt; 512 docs/     28K libj2k.tar.gz     3.0M linphone-0.12.2.tar.gz&lt;br /&gt;   0 libj2k/  1.5K linphone-0.12.2/&lt;br /&gt;&lt;br /&gt;linux:/home/rajiv/temp # cd ..&lt;br /&gt;## now mount my cdrom on temp ##&lt;br /&gt;linux:/home/rajiv # mount /dev/cdrom temp&lt;br /&gt;mount: block device /dev/cdrom is write-protected, mounting read-only&lt;br /&gt;linux:/home/rajiv # cd temp&lt;br /&gt;linux:/home/rajiv/temp # ls&lt;br /&gt;.                .esd_auth          .icons           .profile                       trash&lt;br /&gt;..               evolution          .java            public_html                    .Trash&lt;br /&gt;.acrobat         .exrc              .kde             .qt                            .tsclient&lt;br /&gt;.adobe           .fonts             .kermrc          .RealNetworks_RealCookies_60   .urlview&lt;br /&gt;.bash_history    .fonts.cache-1     LL               .RealNetworks_RealMediaSDK_60  .viminfo&lt;br /&gt;.bashrc          .gaim              .mailcap         .RealNetworks_RealPlayer_60    .weblink&lt;br /&gt;bin              .galeon            .mcop            .RealNetworks_RealShared_00    .wmrc&lt;br /&gt;.BitchX          .gconf             .mcoprc          .recently-used                 .Xauthority&lt;br /&gt;cheat_sheet.txt  .gconfd            .metacity        rr_moved                       .xchat2&lt;br /&gt;codes            .gnome             .mime.types      sipTutorial                    .xcoralrc&lt;br /&gt;.ddd             .gnome2            .mozilla         .skel                          .xemacs&lt;br /&gt;Desktop          .gnome2_private    .muttrc          .ssh                           .xim.template&lt;br /&gt;Documents        .gnome-desktop     .nautilus        staroffice7                    .xinitrc.template&lt;br /&gt;downloads        .gstreamer         .netscape        .sversionrc                    .xmms&lt;br /&gt;.dvipsrc         gtk                .netscape6       template                       .xsession-errors&lt;br /&gt;.emacs           .gtkrc-1.2-gnome2  notes            .themes                        .xtalkrc&lt;br /&gt;.emacs.d         .ICEauthority      Old KDE Desktop  .thumbnails&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;##See, the original files are hidden ##&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109148374451572491?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109148374451572491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109148374451572491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109148374451572491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109148374451572491'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/08/mount.html' title='Mount'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109107176522092105</id><published>2004-07-28T20:28:00.000-07:00</published><updated>2004-07-28T20:29:25.220-07:00</updated><title type='text'>Some Info I need</title><content type='html'>via pci 10/100Mb Fast Ethernet Adapter&lt;br /&gt;&lt;br /&gt;VIA VT86c100A Rhine-II&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recorder option&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109107176522092105?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109107176522092105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109107176522092105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109107176522092105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109107176522092105'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/some-info-i-need.html' title='Some Info I need'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109088133946031175</id><published>2004-07-26T15:35:00.000-07:00</published><updated>2004-07-26T15:35:39.460-07:00</updated><title type='text'>Documentation on ALSA</title><content type='html'>http://alsa.opensrc.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109088133946031175?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109088133946031175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109088133946031175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109088133946031175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109088133946031175'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/documentation-on-alsa.html' title='Documentation on ALSA'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109087859228885150</id><published>2004-07-26T14:36:00.000-07:00</published><updated>2004-07-26T14:49:52.286-07:00</updated><title type='text'>Sound, ALSA, Esound etc</title><content type='html'>Had been running the box with no sound for a week:-&lt;br /&gt;&lt;br /&gt;Herez what had happened&lt;br /&gt;&lt;br /&gt;a) I booted the machine one fine day and saw the initial demsg messages report a segmentation error of some sort. The boot process also hung.&lt;br /&gt;b) Being in my morning blues, I simply pressed CTRL+DEL+ALT and restarted the boot process&lt;br /&gt;c) There was nothing untoward in the boot messages.&lt;br /&gt;d) Everything worked fine except .....sound.&lt;br /&gt;e)Checked the Yast2 runtime editors..ALSA was running and ESound was not.&lt;br /&gt;f) Didnt quite understand what to do...&lt;br /&gt;g) stopped and started alsa again..nothing happened.&lt;br /&gt;h) Tried starting esound....but it complained of a --terminate option in /etc/esound configuration&lt;br /&gt;i) read some more abt esound...seemed more like something that would help different applications share/use/multiplex into a common dsp resource.&lt;br /&gt;j) the problem seemed more fundamental...the audio device was not working.&lt;br /&gt;k) downloaded the endoftheworld WAV file from the SOUND HOWTO and did a cat endoftheworld &gt; /dev/dsp&lt;br /&gt;l) nothing happened.&lt;br /&gt;m) ran alsaconf&lt;br /&gt;n) detected my sound cards alrite&lt;br /&gt;o) Asked me if it could rewrite configuration files.&lt;br /&gt;p) i said yes...&lt;br /&gt;q) it said that it would play a test sound ..i said OK..but didnt hear any.&lt;br /&gt;s) It said that the configuration is complete.&lt;br /&gt;t) I fired up totem..and indeed i got sound back!!!!..I have no clue how that happened!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109087859228885150?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109087859228885150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109087859228885150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109087859228885150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109087859228885150'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/sound-alsa-esound-etc.html' title='Sound, ALSA, Esound etc'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109052139110738111</id><published>2004-07-22T11:36:00.000-07:00</published><updated>2004-07-22T11:36:31.106-07:00</updated><title type='text'>Terminal Emulators </title><content type='html'>All terminal Emulators are located in ( Suse 9.1):&lt;br /&gt;/usr/X11R6/bin&lt;br /&gt;&lt;br /&gt;rajiv@linux:/usr/X11R6/bin&gt; ls | grep term&lt;br /&gt;8.0K Eterm&lt;br /&gt;308K mlterm&lt;br /&gt;8.0K mlterm-zoom&lt;br /&gt;4.0K uxterm&lt;br /&gt; 84K wterm&lt;br /&gt;4.0K xfterm&lt;br /&gt;308K xterm&lt;br /&gt; 16K xtermset&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109052139110738111?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109052139110738111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109052139110738111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109052139110738111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109052139110738111'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/terminal-emulators.html' title='Terminal Emulators '/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109022166411891043</id><published>2004-07-19T00:21:00.000-07:00</published><updated>2004-07-19T00:21:04.126-07:00</updated><title type='text'>Sound Card Advanced Options for OnBoard Audio</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=91193" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/91193.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=91193"&gt;sound_advanced&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	These are the advanced options for the onboard Audio Controller.&lt;br /&gt;&lt;br /&gt;VT8233/A/8235 AC97 Audion Controller&lt;br /&gt;Vendor: Via&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109022166411891043?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109022166411891043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109022166411891043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109022166411891043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109022166411891043'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/sound-card-advanced-options-for.html' title='Sound Card Advanced Options for OnBoard Audio'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109022108472742993</id><published>2004-07-19T00:11:00.000-07:00</published><updated>2004-07-19T00:11:24.733-07:00</updated><title type='text'>Sound Configs</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=91164" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/91164.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=91164"&gt;sound&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	YAST-&gt;Hardware-&gt;Sound yields the Sound Configuration Window.&lt;br /&gt;I disabled the onboard Audio and unchecked the Start sequencer tab.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109022108472742993?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109022108472742993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109022108472742993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109022108472742993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109022108472742993'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/sound-configs.html' title='Sound Configs'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109022053017829339</id><published>2004-07-18T23:59:00.000-07:00</published><updated>2004-07-19T00:02:10.176-07:00</updated><title type='text'>Big Fat Kernel Loses Weight</title><content type='html'>The Runlevel tuneup reduced the number of loaded modules from 58 to 39.&lt;br /&gt; This is what I have..&lt;br /&gt; &lt;br /&gt; Module                  Size  Used by&lt;br /&gt; snd_seq_oss            30976  0 &lt;br /&gt; snd_pcm_oss            56868  1 &lt;br /&gt; snd_mixer_oss          18688  1 snd_pcm_oss&lt;br /&gt; snd_seq_midi            8864  0 &lt;br /&gt; snd_seq_midi_event      7680  2 snd_seq_oss,snd_seq_midi&lt;br /&gt; snd_seq                54672  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event&lt;br /&gt; snd_via82xx            24224  0 &lt;br /&gt; snd_mpu401_uart         7808  1 snd_via82xx&lt;br /&gt; snd_ens1371            22368  1 &lt;br /&gt; snd_rawmidi            24992  3 snd_seq_midi,snd_mpu401_uart,snd_ens1371&lt;br /&gt; snd_seq_device          8328  4 snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi&lt;br /&gt; snd_pcm                96776  3 snd_pcm_oss,snd_via82xx,snd_ens1371&lt;br /&gt; snd_page_alloc         11012  2 snd_via82xx,snd_pcm&lt;br /&gt; snd_timer              25476  2 snd_seq,snd_pcm&lt;br /&gt; snd_ac97_codec         60676  2 snd_via82xx,snd_ens1371&lt;br /&gt; snd                    59524  14 snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_via82xx,snd_mpu401_uart,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec&lt;br /&gt; soundcore               8800  2 snd&lt;br /&gt; gameport                4736  2 snd_via82xx,snd_ens1371&lt;br /&gt; af_packet              20360  0 &lt;br /&gt; via_rhine              19720  0 &lt;br /&gt; mii                     5248  1 via_rhine&lt;br /&gt; ehci_hcd               27140  0 &lt;br /&gt; uhci_hcd               29584  0 &lt;br /&gt; via_agp                 7424  1 &lt;br /&gt; agpgart                28712  1 via_agp&lt;br /&gt; usbcore                96988  4 ehci_hcd,uhci_hcd&lt;br /&gt; evdev                   9600  0 &lt;br /&gt; ipv6                  244100  17 &lt;br /&gt; binfmt_misc             9992  1 &lt;br /&gt; subfs                   7296  2 &lt;br /&gt; nls_utf8                2176  1 &lt;br /&gt; ntfs                   86092  1 &lt;br /&gt; dm_mod                 50044  0 &lt;br /&gt; reiserfs              233808  1 &lt;br /&gt; sata_via                6916  0 &lt;br /&gt; libata                 37504  1 sata_via,[permanent]&lt;br /&gt; sd_mod                 19840  0 &lt;br /&gt; scsi_mod              107980  2 libata,sd_mod&lt;br /&gt; &lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109022053017829339?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109022053017829339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109022053017829339' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109022053017829339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109022053017829339'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/big-fat-kernel-loses-weight.html' title='Big Fat Kernel Loses Weight'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109021973572205019</id><published>2004-07-18T23:48:00.000-07:00</published><updated>2004-07-18T23:48:55.726-07:00</updated><title type='text'>Editing RunLevels Even Further</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=91134" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/91134.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=91134"&gt;hwscan&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	&lt;br /&gt;Turned off Hardware scan and reconfiguration on boot.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109021973572205019?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109021973572205019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109021973572205019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109021973572205019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109021973572205019'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/editing-runlevels-even-further.html' title='Editing RunLevels Even Further'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109021867154595579</id><published>2004-07-18T23:30:00.000-07:00</published><updated>2004-07-18T23:40:33.353-07:00</updated><title type='text'>Editing RunLevels Further</title><content type='html'>Disabled coldplugging and then rebooted. The network won't come up. &lt;br /&gt; &lt;br /&gt; Coldplugging is required for initializing fixed and already plugged devices. My ECS KT600A motherboard has  built-in network support. Thats why the poor soul wont boot.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109021867154595579?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109021867154595579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109021867154595579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109021867154595579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109021867154595579'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/editing-runlevels-further.html' title='Editing RunLevels Further'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109021811578833283</id><published>2004-07-18T23:18:00.000-07:00</published><updated>2004-07-18T23:29:09.350-07:00</updated><title type='text'>Editing RunLevels</title><content type='html'>Shutting down the following services ...&lt;br /&gt; a) CUPS&lt;br /&gt; b) ISDN&lt;br /&gt; c) NFS&lt;br /&gt; d) Hotplugging&lt;br /&gt; &lt;br /&gt; that bought down the memory from 194M to 174M ;)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109021811578833283?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109021811578833283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109021811578833283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109021811578833283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109021811578833283'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/editing-runlevels.html' title='Editing RunLevels'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109012883139387664</id><published>2004-07-17T22:33:00.000-07:00</published><updated>2004-07-17T22:33:51.396-07:00</updated><title type='text'>Big Fat Greek Kernel</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=87082" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/87082.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=87082"&gt;58 modules :(&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	With the following specs... my memory foot-print was a whopping 390 Megs&lt;br /&gt;a) linux 2.6.4-52-default&lt;br /&gt;b) Gnome 2.4&lt;br /&gt;c) Tons of applets and a polished desktop&lt;br /&gt;d) Only 512MB of RAM :(&lt;br /&gt;&lt;br /&gt;A quick lsmod revealed 58 modules.See my next / prev post.Thats way too much! . A good thing about that these modules is that /usr/src/linux/Documentation has a good documentation of most/each of these. Herez a cat-ed output of my lsmod...&lt;br /&gt;&lt;br /&gt;Module                  Size  Used by&lt;br /&gt;usbserial              28912  0&lt;br /&gt;parport_pc             35264  1&lt;br /&gt;lp                     10916  0&lt;br /&gt;parport                37704  2 parport_pc,lp&lt;br /&gt;edd                     9240  0&lt;br /&gt;joydev                 10176  0&lt;br /&gt;st                     38940  0&lt;br /&gt;sr_mod                 15652  0&lt;br /&gt;ide_cd                 36484  0&lt;br /&gt;cdrom                  36508  2 sr_mod,ide_cd&lt;br /&gt;nvram                   8328  0&lt;br /&gt;snd_seq_oss            30976  0&lt;br /&gt;snd_pcm_oss            56868  1&lt;br /&gt;snd_mixer_oss          18688  3 snd_pcm_oss&lt;br /&gt;snd_seq_midi            8864  0&lt;br /&gt;snd_seq_midi_event      7680  2 snd_seq_oss,snd_seq_midi&lt;br /&gt;snd_seq                54672  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event&lt;br /&gt;speedstep_lib           3712  0&lt;br /&gt;snd_via82xx            24224  1&lt;br /&gt;snd_mpu401_uart         7808  1 snd_via82xx&lt;br /&gt;freq_table              4612  0&lt;br /&gt;thermal                12424  0&lt;br /&gt;processor              16040  1 thermal&lt;br /&gt;fan                     3972  0&lt;br /&gt;button                  6032  0&lt;br /&gt;battery                 8580  0&lt;br /&gt;ac                      4868  0&lt;br /&gt;snd_ens1371            22368  2&lt;br /&gt;snd_rawmidi            24992  3 snd_seq_midi,snd_mpu401_uart,snd_ens1371&lt;br /&gt;snd_seq_device          8328  4 snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi&lt;br /&gt;snd_pcm                96776  3 snd_pcm_oss,snd_via82xx,snd_ens1371&lt;br /&gt;snd_page_alloc         11012  2 snd_via82xx,snd_pcm&lt;br /&gt;snd_timer              25476  2 snd_seq,snd_pcm&lt;br /&gt;snd_ac97_codec         60676  2 snd_via82xx,snd_ens1371&lt;br /&gt;snd                    59524  14 snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_via82xx,snd_mpu401_uart,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec&lt;br /&gt;soundcore               8800  4 snd&lt;br /&gt;gameport                4736  2 snd_via82xx,snd_ens1371&lt;br /&gt;af_packet              20360  0&lt;br /&gt;ehci_hcd               27140  0&lt;br /&gt;via_rhine              19720  0&lt;br /&gt;mii                     5248  1 via_rhine&lt;br /&gt;uhci_hcd               29584  0&lt;br /&gt;usbcore                96988  5 usbserial,ehci_hcd,uhci_hcd&lt;br /&gt;via_agp                 7424  1&lt;br /&gt;agpgart                28712  1 via_agp&lt;br /&gt;evdev                   9600  0&lt;br /&gt;ipv6                  244100  13&lt;br /&gt;binfmt_misc             9992  1&lt;br /&gt;subfs                   7296  2&lt;br /&gt;nls_utf8                2176  1&lt;br /&gt;ntfs                   86092  1&lt;br /&gt;dm_mod                 50044  0&lt;br /&gt;reiserfs              233808  1&lt;br /&gt;sata_via                6916  0&lt;br /&gt;libata                 37504  1 sata_via,[permanent]&lt;br /&gt;sd_mod                 19840  0&lt;br /&gt;scsi_mod              107980  4 st,sr_mod,libata,sd_mod&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109012883139387664?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109012883139387664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109012883139387664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109012883139387664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109012883139387664'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/big-fat-greek-kernel.html' title='Big Fat Greek Kernel'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-109000867795890250</id><published>2004-07-16T13:11:00.000-07:00</published><updated>2004-07-16T13:11:17.966-07:00</updated><title type='text'>My First Successful Mozilla Build!!!</title><content type='html'>&lt;style&gt;.flickr-photo {	border: solid 2px #000000;}.flickr-yourcomment {}.flickr-frame {	text-align: left;	padding: 3px;}.flickr-caption {	font: 75%;/*	color: #666666; */	margin-top: 0px;}.flickr-buddyicon {	margin-right:5px; 	vertical-align:middle;	border: solid 1px;}.flickr-postedby {	font: 75%;}&lt;/style&gt;&lt;div class="flickr-frame"&gt;	&lt;a href="http://www.flickr.com/photo.gne?id=83055" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/83055.jpg" class="flickr-photo" alt=""&gt;&lt;/a&gt;&lt;br /&gt;	&lt;span class="flickr-caption"&gt;&lt;a href="http://www.flickr.com/photo.gne?id=83055"&gt;First Successful Build of Mozilla&lt;/a&gt;, originally uploaded by &lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;				&lt;p class="flickr-yourcomment"&gt;	&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-109000867795890250?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/109000867795890250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=109000867795890250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109000867795890250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/109000867795890250'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/my-first-successful-mozilla-build.html' title='My First Successful Mozilla Build!!!'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-108996009614566246</id><published>2004-07-15T23:41:00.000-07:00</published><updated>2004-07-16T11:43:39.656-07:00</updated><title type='text'>Building the Lizard!</title><content type='html'>&lt;table&gt;	&lt;tbody&gt;&lt;tr&gt;		&lt;!-- Your Description --&gt;		&lt;td style="vertical-align: top;"&gt;This is a screen shot of a Mozilla Build in progress.&lt;br /&gt;       &lt;br /&gt; Hints and Tips&lt;br /&gt;       &lt;br /&gt; 1)If you just want to pull the tree,            &lt;ul&gt; &lt;code&gt;       gmake -f client.mk checkout     &lt;/code&gt;       &lt;/ul&gt;       &lt;br /&gt;       &lt;br /&gt; &lt;/td&gt;		&lt;!-- The Image &amp; --&gt;		&lt;!-- Image Title, Uploaded by --&gt;		&lt;td style="padding-left: 10px; vertical-align: top;"&gt;			&lt;a href="http://www.flickr.com/photo.gne?id=81502" title="photo sharing"&gt;&lt;img src="http://www.flickr.com/photos/81502_m.jpg" alt="" style="border: 2px solid rgb(0, 0, 0);" /&gt;&lt;/a&gt;  			&lt;br /&gt;				&lt;span style="margin-top: 0px;font-size:90;"&gt;			&lt;a href="http://www.flickr.com/photo.gne?id=81502"&gt;Screenshot&lt;/a&gt;			&lt;br /&gt;			Originally uploaded by 			&lt;a href="http://www.flickr.com/people/44124479114@N01/"&gt;Nick00&lt;/a&gt;.			&lt;/span&gt;		&lt;/td&gt;	&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-108996009614566246?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/108996009614566246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=108996009614566246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108996009614566246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108996009614566246'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/building-lizard.html' title='Building the Lizard!'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-108995927731999751</id><published>2004-07-15T23:21:00.000-07:00</published><updated>2004-07-15T23:27:57.320-07:00</updated><title type='text'>libIDL-config script</title><content type='html'>The ./configure process ( see previous post) complained about not finding libIDL-config script. Also LIBIDL_CONFIG was ""&lt;br /&gt; I did a &lt;br /&gt; rajiv@linux:~&gt; locate libIDL&lt;br /&gt; /&lt;span style="font-weight: bold;"&gt;opt/gnome/bin/libIDL-config-2&lt;/span&gt;&lt;br /&gt; /opt/gnome/include/libIDL-2.0&lt;br /&gt; /opt/gnome/include/libIDL-2.0/libIDL&lt;br /&gt; /opt/gnome/include/libIDL-2.0/libIDL/IDL.h&lt;br /&gt; ---snipped---&lt;br /&gt; I updated LIBIDL_CONFIG to /&lt;span style="font-weight: bold;"&gt;opt/gnome/bin/.&lt;/span&gt;.thats where&lt;span style="font-weight: bold;"&gt; libIDL-config-2  &lt;/span&gt;was located.&lt;br /&gt; &lt;br /&gt; ran ./configure...still the same problem..&lt;br /&gt; &lt;br /&gt; I then copied libIDL-config-2 as libIDL-config&lt;br /&gt; &lt;br /&gt; ran ./configure....and woot! it ran to completion...&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-108995927731999751?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/108995927731999751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=108995927731999751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108995927731999751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108995927731999751'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/libidl-config-script.html' title='libIDL-config script'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-108995845221860545</id><published>2004-07-15T23:11:00.000-07:00</published><updated>2004-07-15T23:14:12.216-07:00</updated><title type='text'>GTK_CONFIG variable, gtk-config script</title><content type='html'>Was building Mozilla....&lt;br /&gt; ./configure complained abt not finding gtk-config script anywhere.&lt;br /&gt; Used Yast2 to find out what gtk packages are installed.&lt;br /&gt; Saw some developer packages where not installed.&lt;br /&gt; Installed...ran fine....:)&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-108995845221860545?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/108995845221860545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=108995845221860545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108995845221860545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108995845221860545'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/gtkconfig-variable-gtk-config-script.html' title='GTK_CONFIG variable, gtk-config script'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-108995086836233140</id><published>2004-07-15T23:04:00.000-07:00</published><updated>2004-07-15T21:07:48.363-07:00</updated><title type='text'>Environment Variables in Bash</title><content type='html'>&lt;p&gt;To make lasting changes to the value of an environment variable:&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Use your editor to open the &lt;samp&gt;.bash_profile&lt;/samp&gt; file and add the line:&lt;/p&gt;   &lt;pre width="80"&gt;   &lt;strong&gt;VARNAME=&lt;em&gt;value_of_variable&lt;/em&gt;;export VARNAME&lt;/strong&gt; &lt;/pre&gt;   &lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Save the file and leave the editor.&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt; Enter the command:&lt;/p&gt;   &lt;pre width="80"&gt;   &lt;strong&gt;source $HOME/.bash_profile&lt;/strong&gt; &lt;/pre&gt;   &lt;p&gt;This adds the new value to your working environment.&lt;br /&gt; &lt;/p&gt; &lt;p&gt;&lt;br /&gt; Here is a Copy of my .bash_profile. I created it . It wasnt there by default when I installed Suse9.1&lt;/p&gt; &lt;p&gt;#Start&lt;br /&gt; &lt;br /&gt; CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot;&lt;br /&gt; export CVSROOT;&lt;br /&gt; &lt;/p&gt; &lt;p&gt;#EOF&lt;br /&gt; &lt;br /&gt; &lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-108995086836233140?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/108995086836233140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=108995086836233140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108995086836233140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108995086836233140'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/environment-variables-in-bash.html' title='Environment Variables in Bash'/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7531699.post-108895691928617030</id><published>2004-07-04T08:56:00.000-07:00</published><updated>2004-07-04T09:29:43.180-07:00</updated><title type='text'>Writing CDs </title><content type='html'>&lt;strong&gt;Step 1 : Creating a  iso image of the data to be burnt&lt;/strong&gt;&lt;br /&gt;            &lt;br /&gt;             mkisofs -r -o home_dir_image_to_be_burnt ~rajiv/&lt;br /&gt;            &lt;br /&gt;&lt;strong&gt;Step2: Verifying the isoimge&lt;/strong&gt;&lt;br /&gt;             &lt;br /&gt;             i) su&lt;br /&gt;            ii) mkdir /cdrom&lt;br /&gt;            iii) mount -t iso9660 -o ro,loop=/dev/loop0 home_dir_image_to_be_burnt /cdrom&lt;br /&gt;            &lt;br /&gt;&lt;strong&gt;Step3:  cd to /cdrom and verify the file structure&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step4: Finding out which SCSI device the CD Writer is attached to&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;           cdrecord -scanbus&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step5: Writing the actual CD &lt;/strong&gt;&lt;br /&gt;               &lt;br /&gt;             cdrecord -v speed=2 dev=0,0,0  -data  home_dir_image_to_be_burnt&lt;br /&gt;&lt;br /&gt;       &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7531699-108895691928617030?l=nicktips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nicktips.blogspot.com/feeds/108895691928617030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7531699&amp;postID=108895691928617030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108895691928617030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7531699/posts/default/108895691928617030'/><link rel='alternate' type='text/html' href='http://nicktips.blogspot.com/2004/07/writing-cds.html' title='Writing CDs '/><author><name>Nick</name><uri>http://www.blogger.com/profile/03234755849068860917</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
