<?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-5338618306130200895</id><updated>2012-01-16T05:35:42.572-08:00</updated><category term='linux'/><category term='open bsd'/><category term='network'/><category term='Vim'/><category term='DVD'/><category term='MS Windows'/><category term='Android'/><category term='Programming'/><category term='C'/><title type='text'>2cent-info</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-6839655372464443968</id><published>2011-02-12T07:23:00.000-08:00</published><updated>2011-10-01T16:57:45.795-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Changing Time Zone in Slackware 13.1</title><content type='html'>Travelling to different countries makes you experience different timezone, it can some hours ahead or after of your country timezone. Sometimes I experience this!, at the first time I was ignoring the time difference in my laptop. But this time not.&lt;br /&gt;&lt;br /&gt;So below is the steps to change your timezone configuration in Slackware 13.1, you should do these steps as root.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Change time zone links in &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc&lt;/span&gt;: "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/localtime-copied-from&lt;/span&gt;" to your current timezone in /&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;usr/share/zoneinfo/xxx/xxx&lt;/span&gt; (&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xxx &lt;/span&gt;is depends on your timezone area)&lt;br /&gt;&lt;code&gt;# ln -sf /usr/share/zoneinfo/xxx/xxx /etc/localtime-copied-from&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Replace your "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/localtime&lt;/span&gt;" with your current "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/localtime-copied-from&lt;/span&gt;"&lt;br /&gt;&lt;code&gt;# cp -rf /usr/share/zoneinfo/xxx/xxx /etc/localtime&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Update your time using ntp server (&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pool.ntp.org&lt;/span&gt;)&lt;/li&gt;&lt;code&gt;# ntpdate pool.ntp.org &lt;/code&gt; &lt;br /&gt;&lt;code&gt;# hwclock -w &lt;/code&gt;&lt;/ol&gt;&lt;/br &gt;&lt;div&gt;Isn't it simple? In my opinion this's simple, but sometime we can't do the simplest thing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-6839655372464443968?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/6839655372464443968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2011/02/changing-time-zone-in-slackware-131.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/6839655372464443968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/6839655372464443968'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2011/02/changing-time-zone-in-slackware-131.html' title='Changing Time Zone in Slackware 13.1'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-8123566584908562322</id><published>2010-08-17T22:14:00.000-07:00</published><updated>2011-08-08T21:46:48.398-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Vim 7.3 Released</title><content type='html'>On 16 August 2010, I had received an email from Vim google mailing list, this mail announce that Vim 7.3 was released to public finally. You can check below quote for release note by Bram Moolenaar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Hello Vim users, &lt;br /&gt;&lt;br /&gt;Announcing: &amp;nbsp;Vim (Vi IMproved) version 7.3 &lt;br /&gt;&lt;br /&gt;This is a minor release of Vim. &amp;nbsp;It consists of Vim 7.2 plus all &lt;br /&gt;patches, updated runtime files and some more, see below. &amp;nbsp;It has been &lt;br /&gt;two years since the 7.2 release, thus it's not that "minor". &amp;nbsp;But not &lt;br /&gt;"major" either. &amp;nbsp;Something in between, don't know how to call that. &lt;br /&gt;&lt;br /&gt;The most notable additions since 7.2: &lt;br /&gt;- Persistent undo and undo for reload &lt;br /&gt;- Blowfish encryption, encryption of the swap file &lt;br /&gt;- Conceal text &lt;br /&gt;- Lua interface &lt;br /&gt;- Python 3 interface &lt;br /&gt;&lt;br /&gt;Once you have installed Vim 7.3 you can find all the details about the &lt;br /&gt;changes since Vim 7.2 with: &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :help version-7.3 &lt;br /&gt;&lt;br /&gt;Gratitude &lt;br /&gt;--------- &lt;br /&gt;&lt;br /&gt;If you like Vim, this is the way to say thanks: &lt;br /&gt;&lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://iccf-holland.org/clinic.html&amp;amp;usg=AFQjCNEU54jNPDK80umxbKMXSAG3vCob0Q" rel="nofollow" target="_blank"&gt;http://iccf-holland.org/clinic.html&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Where to get it &lt;br /&gt;--------------- &lt;br /&gt;&lt;br /&gt;The best way to obtain the latest Vim 7.3 is using Mercurial. &lt;br /&gt;Summary: &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hg clone &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=https://vim.googlecode.com/hg/&amp;amp;usg=AFQjCNG4_m9hazdudxP_AAI5jdOUPOUGTw" rel="nofollow" target="_blank"&gt;https://vim.googlecode.com/hg/&lt;/a&gt; vim &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cd vim/src &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hg update vim73 &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make &lt;br /&gt;More information here: &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/mercurial.php&amp;amp;usg=AFQjCNFX_B9xLXREzAOFHJib8vAh2lsLhw" rel="nofollow" target="_blank"&gt;http://www.vim.org/mercurial.php&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;All downloadable files can be found below this directory: &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=ftp://ftp.vim.org/pub/vim/&amp;amp;usg=AFQjCNGw5CeK28ApKQWGbRmG5E0y7L92Jg" rel="nofollow" target="_blank"&gt;ftp://ftp.vim.org/pub/vim/&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Direct link to the MS-Windows self-installing executable: &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=ftp://ftp.vim.org/pub/vim/pc/gvim73.exe&amp;amp;usg=AFQjCNEa8PeCBispQr1Eg-B7QSNuDLolAw" rel="nofollow" target="_blank"&gt;ftp://ftp.vim.org/pub/vim/pc/gvim73.exe&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Information about which files to download for what system: &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/download.php&amp;amp;usg=AFQjCNEpVG_gHQCEnaAHy4M566tqIXCTJQ" rel="nofollow" target="_blank"&gt;http://www.vim.org/download.php&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;A list of mirror sites can be found here: &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/mirrors.php&amp;amp;usg=AFQjCNEIOu9zBQ07BccDEAgJ0apqnxDK8Q" rel="nofollow" target="_blank"&gt;http://www.vim.org/mirrors.php&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;UNIX: &lt;br /&gt;unix/vim-7.3.tar.bz2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sources + runtime files, bzip2 compressed &lt;br /&gt;&lt;br /&gt;MS-WINDOWS one-size-fits-all: &lt;br /&gt;pc/gvim73.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;installer for GUI and console executables, &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;includes all runtime files, many features &lt;br /&gt;&lt;br /&gt;VARIOUS: &lt;br /&gt;doc/vim73html.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;help files converted to HTML &lt;br /&gt;&lt;br /&gt;MS-WINDOWS separate files: &lt;br /&gt;pc/vim73rt.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; runtime files &lt;br /&gt;pc/gvim73.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GUI binary for Windows 95/98/NT/2000/XP &lt;br /&gt;pc/gvim73ole.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GUI binary with OLE support &lt;br /&gt;pc/gvim73_s.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GUI binary for Windows 3.1 (untested) &lt;br /&gt;pc/vim73d32.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;console version for MS-DOS/Windows 95/98 &lt;br /&gt;pc/vim73w32.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;console version for Windows NT/2000/XP &lt;br /&gt;pc/vim73src.zip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sources for PC (with CR-LF) &lt;br /&gt;&lt;br /&gt;DIFFS TO PREVIOUS RELEASE: &lt;br /&gt;unix/vim-7.2-7.3.diff.gz &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sources + runtime files &lt;br /&gt;unstable/unix/vim-7.3f-7.3.diff.gz &amp;nbsp; &amp;nbsp; sources + runtime files &lt;br /&gt;&lt;br /&gt;Omitted in this version are: &lt;br /&gt;- Extra and lang archives, these are now included in the main source &lt;br /&gt;&amp;nbsp; and runtime archives. &lt;br /&gt;- The 16-bit DOS, OS/2 and Amiga versions, these are obsolete. &lt;br /&gt;&lt;br /&gt;Mailing lists &lt;br /&gt;------------- &lt;br /&gt;&lt;br /&gt;For user questions you can turn to the Vim mailing list. &amp;nbsp;There are a &lt;br /&gt;lot of tips, scripts and solutions. &amp;nbsp;You can ask your Vim questions, but &lt;br /&gt;only if you subscribe. &amp;nbsp;See &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/maillist.php%23vim&amp;amp;usg=AFQjCNGdHUG6KMoxh6i46jMPJhubkJ66VQ" rel="nofollow" target="_blank"&gt;http://www.vim.org/maillist.php#vim&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;If you want to help Vim development, discuss new features or get the &lt;br /&gt;latest patches, subscribe to the vim-dev mailing list. &amp;nbsp;See &lt;br /&gt;&lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/maillist.php%23vim-dev&amp;amp;usg=AFQjCNGjV4B-2vfiyDIeoJfShV7iB15s1g" rel="nofollow" target="_blank"&gt;http://www.vim.org/maillist.php#vim-dev&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Subject specific lists: &lt;br /&gt;Multi-byte issues: &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/maillist.php%23vim-multibyte&amp;amp;usg=AFQjCNF9ACEYecFQgX8bvtAMEPgm_CK3LQ" rel="nofollow" target="_blank"&gt;http://www.vim.org/maillist.php#vim-multibyte&lt;/a&gt; &lt;br /&gt;Macintosh issues: &amp;nbsp;&lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.vim.org/maillist.php%23vim-mac&amp;amp;usg=AFQjCNE19J4OBms30uJ-cutsLvp7UyAcXg" rel="nofollow" target="_blank"&gt;http://www.vim.org/maillist.php#vim-mac&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Before you ask a question you should search the archives, someone may &lt;br /&gt;already have given the answer. &lt;br /&gt;&lt;br /&gt;Reporting bugs &lt;br /&gt;-------------- &lt;br /&gt;&lt;br /&gt;Send them to &lt;vim-&gt;&lt;a href="https://groups.google.com/groups/unlock?_done=/group/vim_announce/browse_thread/thread/66c02efd1523554b&amp;amp;msg=e2251dcd7ecfb2c2" target="_parent"&gt;...&lt;/a&gt;@vim.org&amp;gt;. &amp;nbsp;Please describe the problem precisely. &lt;br /&gt;All the time spent on answering mail is subtracted from the time that is &lt;br /&gt;spent on improving Vim! &amp;nbsp;Always give a reproducible example and try to &lt;br /&gt;find out which settings or other things influence the appearance of the &lt;br /&gt;bug. &amp;nbsp;Try starting without your own vimrc file: "vim -u NONE". &amp;nbsp;Try &lt;br /&gt;different machines if possible. &amp;nbsp;See ":help bugs" in Vim. &amp;nbsp;Send me a &lt;br /&gt;patch if you can! &lt;br /&gt;&lt;/vim-&gt;&lt;br /&gt;Happy Vimming! &lt;br /&gt;&lt;br /&gt;-- &lt;br /&gt;Q: Should I clean my house or work on Vim? &lt;br /&gt;A: Whatever contains more bugs. &lt;br /&gt;&lt;br /&gt;&amp;nbsp;/// Bram Moolenaar -- B&lt;a href="https://groups.google.com/groups/unlock?_done=/group/vim_announce/browse_thread/thread/66c02efd1523554b&amp;amp;msg=e2251dcd7ecfb2c2" target="_parent"&gt;...&lt;/a&gt;@Moolenaar.net -- &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.Moolenaar.net&amp;amp;usg=AFQjCNHJrfJclK5-M8Vz7RDWNqL_YsbvLQ" rel="nofollow" target="_blank"&gt;http://www.Moolenaar.net&lt;/a&gt; &amp;nbsp; \\\ &lt;br /&gt;/// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sponsor Vim, vote for features -- &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.Vim.org/sponsor/&amp;amp;usg=AFQjCNETIMXm1eZG6FWt4voyRlRG7vKxfw" rel="nofollow" target="_blank"&gt;http://www.Vim.org/sponsor/&lt;/a&gt; \\\ &lt;br /&gt;\\\ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;download, build and distribute -- &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://www.A-A-P.org&amp;amp;usg=AFQjCNHR8lQAY2E0iFH97-Vy11_o8baAzg" rel="nofollow" target="_blank"&gt;http://www.A-A-P.org&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &lt;br /&gt;&amp;nbsp;\\\ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;help me help AIDS victims -- &lt;a href="http://www.google.com/url?sa=D&amp;amp;q=http://ICCF-Holland.org&amp;amp;usg=AFQjCNGpQbCid2Z03le7C7NrfyIW1NE4Ag" rel="nofollow" target="_blank"&gt;http://ICCF-Holland.org&lt;/a&gt; &amp;nbsp; &amp;nbsp;/// &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-8123566584908562322?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/8123566584908562322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/08/vim-73-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/8123566584908562322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/8123566584908562322'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/08/vim-73-released.html' title='Vim 7.3 Released'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-4910678853956648429</id><published>2010-08-05T06:07:00.000-07:00</published><updated>2010-08-05T06:07:30.775-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Bad Evince Font in Slackware</title><content type='html'>When I install &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;evince&lt;/span&gt; on my Slackware, sometimes I encounter a strange problem which is the font is not display correctly or looks weird, as like the picture below:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_u4fP92Ps9d4/TFqnfrnBQtI/AAAAAAAAAOU/pe2A_5Id42g/s1600/NG-evince.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_u4fP92Ps9d4/TFqnfrnBQtI/AAAAAAAAAOU/pe2A_5Id42g/s320/NG-evince.jpg" width="315" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;You can see that there are fonts look too bold and inconvenient to read. After diving in google, I found that the problem comes from the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Nimbus &lt;/span&gt;font in slackware package. To check and fix it you can follow instructions below:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Check fonts in pdf file &lt;/b&gt;&lt;/li&gt;&lt;pre&gt;&lt;code&gt;&lt;b&gt;$ pdffonts file.pdf&lt;/b&gt;&lt;br /&gt;name                                 type      emb sub uni object ID&lt;br /&gt;------------------------------------ --------- --- --- --- ---------&lt;br /&gt;Times-Italic                         Type 1    no  no  no       5  0&lt;br /&gt;Times-Roman                          Type 1    no  no  no       7  0&lt;br /&gt;Times-Bold                           Type 1    no  no  no      13  0&lt;br /&gt;Courier-Bold                         Type 1    no  no  no      18  0&lt;br /&gt;XOEOHB+CMSY10                        Type 1    yes yes no      21  0&lt;br /&gt;Courier                              Type 1    no  no  no      23  0&lt;br /&gt;RXRCVR+CMSY7                         Type 1    yes yes no      26  0&lt;br /&gt;CRMLEZ+NimbusRomNo9L-Regu-Slant_167  Type 1    yes yes no      32  0&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;li&gt;&lt;b&gt;Check"&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Times&lt;/span&gt;" compatible font &lt;/b&gt;&lt;/li&gt;&lt;pre&gt;&lt;code&gt;&lt;b&gt;$ fc-match "times"&lt;/b&gt;&lt;br /&gt;n021004l.pfb: "Nimbus Roman No9 L" "Medium"&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;li&gt;&lt;b&gt;Find &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;n021004l.pfb&lt;/span&gt; location&lt;/b&gt;&lt;/li&gt;&lt;pre&gt;&lt;code&gt;&lt;b&gt;$ su&lt;/b&gt;&lt;br /&gt;password:&lt;br /&gt;&lt;b&gt;# find / -name "n021004l.pfb" -print&lt;/b&gt;&lt;br /&gt;/usr/share/fonts/Type1/n021004l.pfb&lt;br /&gt;/usr/share/libwmf/fonts/n021004l.pfb&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;li&gt;&lt;b&gt;Download new n021004l.pfb&lt;/b&gt;&lt;/li&gt;As I get from searching in google, the problem is n021004l.pfb in Slackware package is not updated yet, so we need to replace it with the new one. In this case I'll replace it with the Fedora 13 URW fonts package. You can download the package from &lt;a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=138570"&gt;http://koji.fedoraproject.org/koji/buildinfo?buildID=138570&lt;/a&gt;   &lt;pre&gt;&lt;/pre&gt;&lt;li&gt;&lt;b&gt;Extract the rpm package&lt;/b&gt;&lt;/li&gt;&lt;pre&gt;&lt;code&gt;&lt;b&gt;# rpm2cpio urw-fonts-2.4-9.fc13.noarch.rpm | cpio -idmv&amp;nbsp;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;&lt;li&gt;&lt;b&gt;Copy fonts file and reboot&lt;/b&gt;&lt;/li&gt;&lt;pre&gt;&lt;code&gt;&lt;b&gt;# cd usr/share/fonts/default/Type1&lt;br /&gt;# cp n021004l.pfb /usr/share/fonts/Type1/n021004l.pfb&lt;br /&gt;# reboot &lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/ul&gt;&lt;br /&gt;After reboot then I check evince display, and the result is like below. There we can see that the font looks better and convenient than before.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_u4fP92Ps9d4/TFqnhOIXATI/AAAAAAAAAOY/BgGXxagcyfA/s1600/final.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_u4fP92Ps9d4/TFqnhOIXATI/AAAAAAAAAOY/BgGXxagcyfA/s1600/final.jpeg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I hope this tutorial is helpful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-4910678853956648429?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/4910678853956648429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/08/bad-evince-font-in-slackware.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/4910678853956648429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/4910678853956648429'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/08/bad-evince-font-in-slackware.html' title='Bad Evince Font in Slackware'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_u4fP92Ps9d4/TFqnfrnBQtI/AAAAAAAAAOU/pe2A_5Id42g/s72-c/NG-evince.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-8340590588186127768</id><published>2010-07-26T00:38:00.000-07:00</published><updated>2010-09-04T02:42:17.105-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Get apk from phone</title><content type='html'>&lt;p&gt;When I do flashing my Samsung Spica for the first time, I lost all of my application. It means I need to download it all again from market and costs my credit. Therefore I need to get my apk from phone, and backup it all to my PC.&lt;/p&gt;&lt;p&gt;After doing some tests and trials based on a clue from my friend. I finally find a way to backup all of applications by downloading all installed apk from the phone, and it's really simple. &lt;/p&gt;&lt;p&gt;Before going further, we need to install android SDK:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Download android sdk from &lt;a href="http://developer.android.com/sdk/index.html"&gt;here&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Extract android sdk zip file to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,&amp;quot;Courier&amp;quot;,monospace;"&gt;C:\&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Add this "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,&amp;quot;Courier&amp;quot;,monospace;"&gt;C:\android-sdk-windows\tools&lt;/span&gt;" to windows path in environment variable&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;p&gt;And then to allow you accessing /data/app directory, you must have root permission therefore wee need to root the device. You can follow instructions in here to root your device &lt;a href=http://www.addictivetips.com/mobile/root-samsung-galaxy-spica-i5700-with-leshaks-kernel/&gt;here&lt;/a&gt;, but please be careful because it can bricks your device.&lt;/p&gt;&lt;p&gt;When you download applications from market, the system will store the apk files in /Data/app. Base on this information we can pull all of downloaded apk from phone to PC by using adb pull command.&lt;/p&gt;&lt;code&gt;adb pull /data/app "your destination directory"&lt;/code&gt;&lt;br /&gt;&lt;p&gt;And you can find all of your downloaded apk in "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,&amp;quot;Courier&amp;quot;,monospace;"&gt;your destination directory&lt;/span&gt;".&lt;/P&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-8340590588186127768?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/8340590588186127768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/07/get-apk-from-phone.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/8340590588186127768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/8340590588186127768'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/07/get-apk-from-phone.html' title='Get apk from phone'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-7402714997179142556</id><published>2010-07-19T23:11:00.000-07:00</published><updated>2010-07-19T23:13:40.189-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='MS Windows'/><title type='text'>PDCurses for MinGW32</title><content type='html'>As I know MinGW doesn't come with graphic control library, it isn't like borland or turbo which brings &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;conio.h&lt;/span&gt;. But you can use curses library for alternative. If you use Linux you can find ncurses library, but if you're windows user you can use PDcurses.&lt;br /&gt;&lt;br /&gt;In this tutorial I'll explain how to install PDcurses for MinGW32 compiler in MS Windows. The first things you need are Installed MinGW32 compiler and PDcurses source. You can download MinGW from &lt;a href="http://sourceforge.net/downloads/MinGW/%29"&gt;here&lt;/a&gt; and PDcurses from &lt;a href="http://sourceforge.net/projects/PDcurses/files/PDcurses/3.4/PDcurses-3.4.tar.gz/download"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Set up MinGW32&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install MinGW32, don't forget to install 'MinGW make' also (if you  don't want to install MSys), in this case I'll install MinGW in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C:\MinGW&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Set environment path for MinGW bin directory&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Go to control panel&lt;/li&gt;&lt;li&gt;Click System&lt;/li&gt;&lt;li&gt;Choose Advanced tab and click "Environment Variables" button&lt;/li&gt;&lt;li&gt;Add &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;PATH&lt;/span&gt; variable for user, if you have one you can skip this&lt;/li&gt;&lt;li&gt;Select &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;PATH&lt;/span&gt; variable and Edit&lt;/li&gt;&lt;li&gt;In "variable value" text box, add &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C:\MinGW\bin&lt;/span&gt;, and don't forget to use '&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;;&lt;/span&gt;' (semicolon) as delimiter&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;If you didn't install MSys so you need to rename &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mingw32-make.exe&lt;/span&gt; become &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;make.exe &lt;/span&gt;&lt;/li&gt;&lt;code&gt;   CD C:\MinGW\bin &lt;br&gt;RENAME mingw32-make.exe make.exe &lt;/code&gt; &lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Install PDcurses&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; I assume you have downloaded PDCurses source successfully, in this case I have downloaded &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;PDCurses-3.4.tar.gz &lt;/span&gt;&lt;/li&gt;&lt;li&gt; Unpack it by using winrar to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C:\ &lt;/span&gt;and you will have &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C:\PDCurses-3.4&lt;/span&gt; directory &lt;/li&gt;&lt;li&gt; Compile win32 PDcurses with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;DLL&lt;/span&gt; &lt;/li&gt;&lt;code&gt;  CD C:\PDCurses-3.4\win32  &lt;br&gt;make -f gccwin32.mak DLL=Y &lt;/code&gt;  &lt;br&gt;&lt;li&gt; Copy &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pdcurses.dll&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C:\MinGW\bin&lt;/span&gt;&lt;/li&gt;&lt;code&gt;COPY pdcurses.dll  C:\MinGW\bin &lt;/code&gt;  &lt;br&gt;&lt;li&gt; Copy &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pdcurses.a&lt;/span&gt; to be &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C:\MinGW\lib\libpdcurses.a&lt;/span&gt;&lt;/li&gt;&lt;code&gt;COPY pdcurses.a  C:\MinGW\lib\libpdcurses.a&lt;/code&gt;  &lt;br&gt;&lt;li&gt; Copy pdcurses header file to&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; C:\MinGW\lib\include&lt;/span&gt;&lt;/li&gt;&lt;code&gt;CD ..  &lt;br&gt;COPY *.h C:\MinGW\include &lt;/code&gt;  &lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Test PDcurses&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Create &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;test.c&lt;/span&gt; &lt;/li&gt;&lt;code&gt;    #include &amp;ltcurses.h&amp;gt int main()  &lt;br&gt;{   &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; initscr();   &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printw("Hello World !!!\n");  &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; refresh();   &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; system("pause");   &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endwin();  &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;  &lt;br&gt;}  &lt;/code&gt; &lt;br&gt;&lt;li&gt; Compile &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;test.c&lt;/span&gt; and check if there is any error &lt;/li&gt;&lt;code&gt; gcc test.c -o test -lpdcurses &lt;/code&gt;  &lt;br&gt;&lt;li&gt; Test executable file. If you can see "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;hello world&lt;/span&gt;" it means everything goes well &lt;/li&gt;&lt;code&gt; test.exe &lt;/code&gt;  &lt;/ol&gt;&lt;br /&gt;I hope this tutorial will be helpful for who need it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-7402714997179142556?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/7402714997179142556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/07/pdcurses-for-mingw32_19.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/7402714997179142556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/7402714997179142556'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/07/pdcurses-for-mingw32_19.html' title='PDCurses for MinGW32'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-2005367837297671896</id><published>2010-06-09T23:59:00.000-07:00</published><updated>2010-06-09T23:59:06.695-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Upgrade to Slackware 13.1</title><content type='html'>Slackware 13.1 has been released on 24 May 2010. There are updates for some packages and kernel. Usually every Slackware released I will choose fresh install before use it, but now I won't choose that, I'll choose to upgrade.&lt;br /&gt;&lt;br /&gt;Before going further. To keep my configuration files safe I need to backup my /etc folder. In this case I backup it by creating iso image of /etc and keep the owner and permission of those files. You can do below method for your important files aswell.&lt;br /&gt;&lt;code&gt;# mkisof -o ~/etc-backup.iso -R /etc&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;And then check it&lt;/li&gt;&lt;/ul&gt;&lt;code&gt;# mount -t iso9660 -o loop=/dev/loop0 ~/etc-backup.iso /mnt/tmp&lt;br /&gt;# ls -ll /mnt/tmp&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next step is based on UPGRADE.TXT instructions, you can find it in root directory of Slackware distribution package. There area some steps to do to Upgrade your slackaware:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Create packages folder&lt;/li&gt;&lt;li&gt;Switch to single user&lt;/li&gt;&lt;li&gt;Upgrade package utility and related tools&lt;/li&gt;&lt;li&gt;Upgrade glibc shared libraries&lt;/li&gt;&lt;li&gt;Upgrade packages and install new packages&lt;/li&gt;&lt;li&gt;Remove obsolete packages&lt;/li&gt;&lt;li&gt;Fix or install new configuration files&lt;/li&gt;&lt;li&gt;Finishing&lt;/li&gt;&lt;li&gt;Reboot&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Create packages directory&lt;/b&gt;&lt;br /&gt;You need to create directory which contains Slackware 13.1, you can download it one by one or download it in ISO format. In my case I download ISO file from one of this &lt;a href="http://www.slackware.com/getslack/"&gt;mirror&lt;/a&gt; and extract it into "Slackware packages" directory&lt;br /&gt;&lt;code&gt;# mount -t iso9660 -o loop=/dev/loop0 slackware-13.1-install-dvd.iso /mnt/tmp&lt;br /&gt;# mkdir /slackware&lt;br /&gt;# cp -rf /mnt/tmp/* /slackware/*&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Basically I can use /mnt/tmp as "Slackware packages directory" but I prefer to copy it to another directory as my "Slackware packages" directory. It's only for safety and stability.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Switch to single user&lt;/b&gt;&lt;br /&gt;I just do a simple command to switch into single user&lt;br /&gt;&lt;code&gt;# telinit 1 &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Upgrade package utility and related tools &lt;/b&gt;&lt;br /&gt;Before going further we need to upgrade tools that related to packaging&lt;br /&gt;&lt;code&gt;# upgradepkg /slackware/a/pkgtools-*.tgz&lt;br /&gt;# upgradepkg /slackware/a/tar-*.tgz&lt;br /&gt;# installpkg /slackware/a/xz-*.tgz&lt;br /&gt;# upgradepkg /slackware/a/findutils-*.txz&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Upgrade glibc shared libraries&lt;/b&gt;&lt;br /&gt;&lt;code&gt;# upgradepkg /root/slackware/a/glibc-solibs-*.t?z&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Upgrade packages and install new packages&lt;/b&gt;&lt;br /&gt;If you want to upgrade and install all new packages, you can use command below&lt;br /&gt;&lt;code&gt;# upgradepkg --install-new /root/slackware/*/*.t?z&lt;/code&gt;&lt;br /&gt;If you want to uprage and install new package based on package group you can use command below, just add and remove package group in looping.&lt;br /&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;for dir in a ap d e f k kde l n t tcl x xap y ; do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( cd $dir ; upgradepkg --install-new *.t?z )&lt;br /&gt;done&lt;/code&gt;&lt;br /&gt;You can check the description of those package group below:&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;A&lt;/b&gt; : The base system. &lt;br /&gt;&lt;b&gt;AP &lt;/b&gt;: Various applications that do not require the X Window System.&lt;br /&gt;&lt;b&gt;D &lt;/b&gt;: Program development tools. &lt;br /&gt;&lt;b&gt;E&lt;/b&gt; : GNU Emacs. &lt;br /&gt;&lt;b&gt;F&lt;/b&gt; : FAQs, HOWTOs, and other miscellaneous documentation.&lt;br /&gt;&lt;b&gt;K&lt;/b&gt; : The source code for the Linux kernel.&lt;br /&gt;&lt;b&gt;KDE&lt;/b&gt; : The K Desktop Environment. &lt;br /&gt;&lt;b&gt;KDEI &lt;/b&gt;: Language support for the K Desktop Environment.&lt;br /&gt;&lt;b&gt;L&lt;/b&gt; : System libraries.&lt;br /&gt;&lt;b&gt;N&lt;/b&gt; : Networking programs. &lt;br /&gt;&lt;b&gt;T&lt;/b&gt; : teTeX document formatting system.&lt;br /&gt;&lt;b&gt;TCL &lt;/b&gt;: The Tool Command Language, Tk, TclX, and TkDesk.&lt;br /&gt;&lt;b&gt;X&lt;/b&gt; : The base X Window System.&lt;br /&gt;&lt;b&gt;XAP &lt;/b&gt;: X applications that are not part of a major desktop environment. &lt;br /&gt;&lt;b&gt;Y&lt;/b&gt; : Games (the BSD games collection, Sasteroids, Koules, and Lizards). &lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Remove obsolete packages&lt;/b&gt;&lt;br /&gt;You can remove obsolete packages in Slackware 13.1 by using command below:&lt;br /&gt;&lt;code&gt;#removepkg bluez-libs bluez-utils cupsddk device-mapper epic4 gqview \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kdelibs-experimental lbxproxy libgtkhtml liblbxutil libungif \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libv4l loadlin mpg321 mplayerthumbs proxymngr xf86-input-citron \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xf86-input-elographics xf86-input-fpit xf86-input-hyperpen \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xf86-input-mutouch xf86-video-newport xf86-video-xgixp&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Fix or Install New Configuration file&lt;/b&gt;&lt;br /&gt;Upgrading means you will have new configuration files in etc, if you brave enough you can apply script below to apply it.&lt;br /&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;cd /etc&lt;br /&gt;find . -name "*.new" | while read configfile ; do&lt;br /&gt;if [ ! "$configfile" = "./rc.d/rc.inet1.conf.new" \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -a ! "$configfile" = "./rc.d/rc.local.new" \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -a ! "$configfile" = "./group.new" \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -a ! "$configfile" = "./passwd.new" \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -a ! "$configfile" = "./shadow.new" ]; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cp -a $(echo $configfile | rev | cut -f 2- -d . | rev) \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(echo $configfile | rev | cut -f 2- -d . | rev).bak 2&amp;gt; /dev/null&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mv $configfile $(echo $configfile | rev | cut -f 2- -d . | rev)&lt;br /&gt;fi&lt;br /&gt;done&lt;/code&gt;&lt;br /&gt;You should upgrade/merge your man.conf file and vimrc with these file:&lt;br /&gt;&lt;code&gt;/usr/man/man.conf.new&lt;br /&gt;/usr/share/vim/vimrc.new&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Reboot&lt;/B&gt;&lt;br /&gt;&lt;code&gt;# reboot&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Finishing&lt;/B&gt;&lt;br /&gt;If you've installed some packages that are not in Slackware default, you need to recheck it functionality, and if you find problem I think you need to recompile the software or it's dependency.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-2005367837297671896?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/2005367837297671896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/06/upgrade-to-slackware-131.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/2005367837297671896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/2005367837297671896'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/06/upgrade-to-slackware-131.html' title='Upgrade to Slackware 13.1'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-428693757230730200</id><published>2010-05-29T09:29:00.001-07:00</published><updated>2010-05-29T09:30:28.202-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Slackware 13.1 has been released</title><content type='html'>&lt;blockquote&gt;Yes, it's that time again!  After many months of development and &lt;br /&gt;careful testing, we are proud to announce the release of Slackware &lt;br /&gt;version 13.1!&lt;br /&gt;&lt;br /&gt;We are sure you'll enjoy the many improvements.  We've done our best &lt;br /&gt;to bring the latest technology to Slackware while still maintaining the &lt;br /&gt;stability and security that you have come to expect.  Slackware is well &lt;br /&gt;known for its simplicity and the fact that we try to bring software to &lt;br /&gt;you in the condition that the authors intended.&lt;br /&gt;&lt;br /&gt;Slackware 13.1 brings many updates and enhancements, among which &lt;br /&gt;you'll find two of the most advanced desktop environments available &lt;br /&gt;today: Xfce 4.6.1, a fast and lightweight but visually appealing and &lt;br /&gt;easy to use desktop environment, and KDE 4.4.3, a recent stable release &lt;br /&gt;of the new 4.4.x series of the award-winning KDE desktop environment.  &lt;br /&gt;We continue to make use of HAL (Hardware Abstraction Layer) and udev, &lt;br /&gt;which allow the system administrator to grant use of various hardware &lt;br /&gt;devices according to users' group membership so that they will be able &lt;br /&gt;to use items such as USB flash sticks, USB cameras that appear like USB &lt;br /&gt;storage, portable hard drives, CD and DVD media, MP3 players, and more, &lt;br /&gt;all without requiring sudo, the mount or umount command.  Just plug and &lt;br /&gt;play.  Properly set up, Slackware's desktop should be suitable for any &lt;br /&gt;level of Linux experience.  New to the desktop framework are ConsoleKit &lt;br /&gt;and PolicyKit.  ConsoleKit handles "seats", things like dealing with &lt;br /&gt;devices when switching from one user to another.  PolicyKit is a system &lt;br /&gt;for fine-grained access control, allowing a non-root user to run certain &lt;br /&gt;tasks with elevated privilege, but more securely than if the entire task &lt;br /&gt;were simply run as root.&lt;br /&gt;&lt;br /&gt;Slackware uses the 2.6.33.4 kernel bringing you advanced performance &lt;br /&gt;features such as journaling filesystems, SCSI and ATA RAID volume &lt;br /&gt;support, SATA support, Software RAID, LVM (the Logical Volume Manager), &lt;br /&gt;and encrypted filesystems.  Kernel support for X DRI (the Direct &lt;br /&gt;Rendering Interface) brings high-speed hardware accelerated 3D graphics &lt;br /&gt;to Linux.&lt;br /&gt;&lt;br /&gt;There are two kinds of kernels in Slackware.  First there are the &lt;br /&gt;huge kernels, which contain support for just about every driver in the &lt;br /&gt;Linux kernel. These are primarily intended to be used for installation, &lt;br /&gt;but there's no real reason that you couldn't continue to run them after &lt;br /&gt;you have installed.  The other type of kernel is the generic kernel, in &lt;br /&gt;which nearly every driver is built as a module.  To use a generic kernel &lt;br /&gt;you'll need to build an initrd to load your filesystem module and &lt;br /&gt;possibly your drive controller or other drivers needed at boot time, &lt;br /&gt;configure LILO to load the initrd at boot, and reinstall LILO.  See the &lt;br /&gt;docs in /boot after installing for more information.  Slackware's Linux &lt;br /&gt;kernels come in both SMP and non-SMP types now.  The SMP kernel supports &lt;br /&gt;multiple processors, multi-core CPUs, HyperThreading, and about every &lt;br /&gt;other optimization available.  In our own testing this kernel has proven &lt;br /&gt;to be fast, stable, and reliable.  We recommend using the SMP kernel &lt;br /&gt;even on single processor machines if it will run on them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are some of the advanced features of Slackware 13.1:&lt;br /&gt;&lt;br /&gt;- Runs the 2.6.33.4 version of the Linux kernel from ftp.kernel.org.&lt;br /&gt;Also included is a kernel patched with Speakup to support speech&lt;br /&gt;synthesizers providing access to Linux for the visually impaired&lt;br /&gt;community.  The 2.6.x kernel series has matured into a stable&lt;br /&gt;kernel, and provides reliable performance for your desktop or&lt;br /&gt;your production server.&lt;br /&gt;&lt;br /&gt;- System binaries are linked with the GNU C Library, version 2.11.1.&lt;br /&gt;This version of glibc also has excellent compatibility with&lt;br /&gt;existing binaries.&lt;br /&gt;&lt;br /&gt;- X11 based on the X.Org Foundation's modular X Window System.&lt;br /&gt;There's been much activity in the X development world, and the&lt;br /&gt;improvements in terms of performance and hardware support are&lt;br /&gt;too numerous to mention them all here.&lt;br /&gt;&lt;br /&gt;- Installs gcc-4.4.4 as the default C, C++, Objective-C, &lt;br /&gt;Fortran-77/95, and Ada 95 compiler.&lt;br /&gt;&lt;br /&gt;- Support for fully encrypted network connections with OpenSSL,&lt;br /&gt;OpenSSH, OpenVPN, and GnuPG.&lt;br /&gt;&lt;br /&gt;- Apache (httpd) 2.2.15 web server with Dynamic Shared Object &lt;br /&gt;support, SSL, and PHP 5.2.13.&lt;br /&gt;&lt;br /&gt;- PCMCIA, CardBus, USB, IEE1394 (FireWire) and ACPI support.  This&lt;br /&gt;makes Slackware a great operating system for your laptop.&lt;br /&gt;&lt;br /&gt;- The udev dynamic device management system for Linux 2.6.x.&lt;br /&gt;This locates and configures most hardware automatically as it&lt;br /&gt;is added (or removed) from the system, and creates the access&lt;br /&gt;nodes in /dev.  It also loads the kernel modules required by&lt;br /&gt;sound cards and other hardware at boot time.&lt;br /&gt;&lt;br /&gt;- New development tools, including Perl 5.10.1, Python 2.6.4,&lt;br /&gt;Ruby 1.9.1-p378, Subversion 1.6.11, git-1.7.1, mercurial-1.5.2,&lt;br /&gt;graphical tools like Qt designer and KDevelop, and much more.&lt;br /&gt;&lt;br /&gt;- Updated versions of the Slackware package management tools make it&lt;br /&gt;easy to add, remove, upgrade, and make your own Slackware packages.&lt;br /&gt;Package tracking makes it easy to upgrade from Slackware 13.0 to &lt;br /&gt;Slackware 13.1 (see CHANGES_AND_HINTS.TXT).  The slackpkg tool can&lt;br /&gt;also help update from an older version of Slackware to a newer one,&lt;br /&gt;and keep your Slackware system up to date.  In addition, the&lt;br /&gt;slacktrack utility (in extra/) will help you build and maintain&lt;br /&gt;your own packages.&lt;br /&gt;&lt;br /&gt;- Web browsers galore!  Includes KDE's Konqueror 4.4.3, &lt;br /&gt;SeaMonkey 2.0.4 (this is the replacement for the Mozilla&lt;br /&gt;Suite), and the immensely popular Firefox 3.6.3, as well as&lt;br /&gt;the Thunderbird 3.0.4 email and news client with advanced&lt;br /&gt;junk mail filtering.&lt;br /&gt;&lt;br /&gt;- The KDE Software Compilation 4.4.3, a complete desktop environment.&lt;br /&gt;This includes the KOffice productivity suite, networking tools, GUI&lt;br /&gt;development with KDevelop, multimedia tools (including the amazing&lt;br /&gt;Amarok music player and K3B disc burning software), the Konqueror web&lt;br /&gt;browser and file manager, dozens of games and utilities,&lt;br /&gt;international language support, and more.&lt;br /&gt;&lt;br /&gt;- A collection of GTK+ based applications including pidgin-2.7.0,&lt;br /&gt;gimp-2.6.8, gkrellm-2.3.4, gxine-0.5.903, xchat-2.8.6, xsane-0.996,&lt;br /&gt;and pan-0.133.&lt;br /&gt;&lt;br /&gt;- A repository of extra software packages compiled and ready to run.&lt;br /&gt;This includes the Java(TM) 2 Software Development Kit Standard&lt;br /&gt;Edition, an MPlayer browser plugin, and more (see the /extra directory).&lt;br /&gt;&lt;br /&gt;- Many more improved and upgraded packages than we can list here.  For&lt;br /&gt;a complete list of core packages in Slackware 13.1, see this file:&lt;br /&gt;&lt;br /&gt;ftp://ftp.slackware.com/pub/slackware/slackware-13.1/PACKAGES.TXT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Downloading Slackware 13.1:&lt;br /&gt;---------------------------&lt;br /&gt;&lt;br /&gt;The full version of Slackware Linux 13.1 is available for download &lt;br /&gt;from the central Slackware FTP sites hosted by our friends at &lt;br /&gt;www.cwo.com and osuosl.org:&lt;br /&gt;&lt;br /&gt;ftp://slackware.osuosl.org/pub/slackware/slackware-13.1/&lt;br /&gt;ftp://ftp.slackware.com/pub/slackware/slackware-13.1/&lt;br /&gt;&lt;br /&gt;If the sites are busy, see the list of official mirror sites here:&lt;br /&gt;&lt;br /&gt;http://slackware.com/getslack/&lt;br /&gt;&lt;br /&gt;We will be setting up BitTorrent downloads for the official ISO &lt;br /&gt;images.  Stay tuned to http://slackware.com for the latest updates.&lt;br /&gt;&lt;br /&gt;Instructions for burning the Slackware tree onto install discs may &lt;br /&gt;be found in the isolinux directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Purchasing Slackware on CD-ROM or DVD:&lt;br /&gt;--------------------------------------&lt;br /&gt;&lt;br /&gt;Or, please consider purchasing the Slackware Linux 13.1 six CD-ROM &lt;br /&gt;set or deluxe dual-sided DVD release directly from Slackware Linux, and &lt;br /&gt;you'll be helping to support the continued development of Slackware &lt;br /&gt;Linux!&lt;br /&gt;&lt;br /&gt;The DVD release has the 32-bit x86 Slackware 13.1 release on one &lt;br /&gt;side, and the 64-bit x86_64 Slackware 13.1 release on the other.  Both &lt;br /&gt;sides are bootable for easy installation, and includes everything from &lt;br /&gt;both releases of Slackware 13.1, including the complete source code &lt;br /&gt;trees.&lt;br /&gt;&lt;br /&gt;The 6 CD-ROM release of Slackware 13.1 is the 32-bit x86 edition.  &lt;br /&gt;It includes a bootable first CD-ROM for easy installation.  The 6 &lt;br /&gt;CD-ROMs are labeled for easy reference.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Slackware 13.1 x86 6 CD-ROM set is $49.95 plus shipping, or &lt;br /&gt;choose the Slackware 13.1 x86/x86_64 dual-sided DVD (also $49.95 plus &lt;br /&gt;shipping).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Slackware Linux is also available by subscription.  When we release &lt;br /&gt;a new version of Slackware (which is normally once or twice a year) we &lt;br /&gt;ship it to you and bill your credit card for a reduced subscription &lt;br /&gt;price ($32.99 for the CD-ROM set, or $39.95 for the DVD) plus shipping.&lt;br /&gt;&lt;br /&gt;For shipping options, see the Slackware store website.  Before &lt;br /&gt;ordering express shipping, you may wish to check that we have the &lt;br /&gt;product in stock. We make releases to the net at the same time as disc &lt;br /&gt;production begins, so there is a lag between the online release and the &lt;br /&gt;shipping of media. But, even if you download now you can still buy the &lt;br /&gt;official media later. You'll feel good, be helping the project, and have &lt;br /&gt;a great decorative item perfect for any computer room shelf.  :-)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ordering Information:&lt;br /&gt;---------------------&lt;br /&gt;&lt;br /&gt;You can order online at the Slackware Linux store:&lt;br /&gt;&lt;br /&gt;http://store.slackware.com&lt;br /&gt;&lt;br /&gt;Other Slackware items like t-shirts, caps, pins, and stickers can &lt;br /&gt;also be found here.  These will help you find and identify yourself to &lt;br /&gt;your fellow Slackware users.  :-)&lt;br /&gt;&lt;br /&gt;Order inquiries (including questions about becoming a Slackware &lt;br /&gt;reseller) may be directed to this address:  info@slackware.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Have fun! :^)  I hope you find Slackware to be useful, and thanks&lt;br /&gt;very much for your support of this project over the years.&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;Patrick J. Volkerding    &lt;volkerdi@slackware.com&gt;&lt;br /&gt;&lt;br /&gt;Visit us on the web at:  http://slackware.com&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-428693757230730200?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/428693757230730200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/05/slackware-131-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/428693757230730200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/428693757230730200'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/05/slackware-131-has-been-released.html' title='Slackware 13.1 has been released'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-7008883478635125543</id><published>2010-03-30T08:21:00.000-07:00</published><updated>2010-03-30T18:21:43.410-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim'/><title type='text'>Python in Vim Script</title><content type='html'>I realized that we could embed python script in vim script. Thus we can do something that vim script can't do but python can.&lt;br /&gt;&lt;br /&gt;In windows vim package, vim only supports for python24. But my python version was python26 therefore I needed to recompile vim or if you're too lazy, you could download compiled gvim.exe and vim.exe for python support at &lt;a href="http://www.gooli.org/blog/gvim-72-with-python-2526-support-windows-binaries/"&gt;http://www.gooli.org/blog/gvim-72-with-python-2526-support-windows-binaries/&lt;/a&gt; and replace your original gvim.exe and vim.exe with them.&lt;br /&gt;&lt;br /&gt;Usually in Linux, vim package is already compiled with python support. You can script python in vim script with no time. &lt;br /&gt;&lt;br /&gt;To check python already work in vim, you can type command bellow, if you see the message it means python already works well.&lt;br /&gt;&lt;code&gt;:py print "python in vim" &lt;/code&gt;&lt;br /&gt;or&lt;br /&gt;&lt;code&gt;:python print "python in vim" &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;There are 3 ways to include python code in vim script:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;By using python command for example:&lt;br /&gt;&lt;code&gt;python import sys&lt;br /&gt;python sys.argv=["foo", "bar"]&lt;br /&gt;python print "this's python script"&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;By using marker:&lt;br /&gt;&lt;code&gt;python &amp;lt;&amp;lt; PYSCRIPT &lt;br /&gt;#python code here  sys.argv=["foo", "bar"]&lt;br /&gt;print "this's python script"&lt;br /&gt;PYSCRIPT &lt;/code&gt;&lt;br /&gt;In example above I use "&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;PYSCRIPT&lt;/span&gt;&lt;/b&gt;" as python marker, but you can another tag word for you python script marker.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;By including file:&lt;br /&gt;&lt;code&gt;pyfile python-script.py&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;There are some commands vim provided to communicate between python and vim itself, but here I will explain only 2 of them briefly, those are "&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;vim.command&lt;/span&gt;&lt;/b&gt;" and "&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;vim.eval&lt;/span&gt;&lt;/b&gt;". Before using them you need to import vim module in python script. You can import it by adding below line in your python code:&lt;br /&gt;&lt;code&gt;import vim&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;vim.command&lt;/b&gt;&lt;/span&gt; is used to execute vim command in python script, for example when I want to turn off syntax color, I will add script below:&lt;br /&gt;&lt;code&gt;vim.command("syntax off")&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;vim.eval&lt;/b&gt; &lt;/span&gt;is used to get value of variables in vim script, for example :&lt;br /&gt;&lt;code&gt;let s:test_str = "Just test"&lt;br /&gt;python &amp;lt;&amp;lt; PYTHON_SCRIPT&lt;br /&gt;import vim&lt;br /&gt;str = vim.eval("s:test_str") &lt;br /&gt;print str &lt;br /&gt;PYTHON_SCRIPT&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You can get more detail information about python in vim script in vim help&lt;br /&gt;&lt;code&gt;:help python&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For further example I tried to create simple tags-setter and ctags-generator by reading it from a configuration file, here is the code.&lt;br /&gt;&lt;br /&gt;/home/test/tag-cfg:&lt;br /&gt;&lt;code&gt;tag-file=/home/test/tags&lt;br /&gt;src-dir=/home/test/src-code&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;/vim/test/tag-gen-set.vim:&lt;br /&gt;&lt;code&gt;let s:conf_file = "/home/test/tag-cfg"&lt;br /&gt;pyfile vim_tags_gen_set.py&lt;br /&gt;py gen_and_set_tags(vim.eval('s:proj_file'))&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;/vim/test/vim_tags_gen_set.py:&lt;br /&gt;&lt;code&gt;import vim&lt;br /&gt;&lt;br /&gt;def dir_trim(str):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if '/' != str[len(str) - 1]:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = str + '/'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return str&lt;br /&gt;&lt;br /&gt;def str_trim(str):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if '\n' == str[len(str) - 1]:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = str[:-1]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return str&lt;br /&gt;&lt;br /&gt;def gen_and_set_tags(proj_file):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Open file&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f = open(proj_file, "r")&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Get project file path&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.seek(13)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_str = f.readline()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_str = str_trim(tmp_str)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; project_file = tmp_str&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Get tag file path&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.seek(9,1)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_str = f.readline()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_str = str_trim(tmp_str)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tag_file = tmp_str&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Get source dir&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.seek(8,1)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_str = f.readline()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_str = str_trim(tmp_str)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; src_dir = tmp_str&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Close file&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.flush()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close()&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Set the commands&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_gen_tags = "!ctags -R -f " + tag_file + " " + src_dir + "/*"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_set_tags = "set tags=" + tag_file&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print cmd_gen_tags&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print cmd_set_tags&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Execute the commands&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vim.command(cmd_gen_tags)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vim.command(cmd_set_tags)&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-7008883478635125543?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/7008883478635125543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/03/python-in-vim-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/7008883478635125543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/7008883478635125543'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/03/python-in-vim-script.html' title='Python in Vim Script'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-6836728417545267746</id><published>2010-02-14T20:25:00.000-08:00</published><updated>2010-02-19T08:51:50.429-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DVD'/><title type='text'>Region Code Protected DVD vs Laptop</title><content type='html'>Last Saturday night. I brought home a DVD from my office, I planned to watch the movie in my boarding house. I knew it was illegal but it wouldn't make any sense to the company as long as I had intention to return it back. &lt;br /&gt;&lt;br /&gt;Unfortunately the DVD had been protected by region code, its region code was 1 (USA). So I couldn't play it on my laptop :(. I didn't know my DVD ROM region code and it couldn't play the DVD. Thus I assumed my DVD ROM and The DVD had different region code. And for your information I use Windows XP Professional as my operating system.&lt;br /&gt;&lt;br /&gt;After searching in Google, finally I found a software which could bypass Region Code Protection. The software was &lt;b&gt;AnyDVD&lt;/b&gt;, you can download it from &lt;a href="http://www.slysoft.com/en/anydvd.html."&gt;http://www.slysoft.com/en/anydvd.html.&lt;/a&gt; It's a commercial software but you can try it for trial for 20 days. By using this software you can set region code to your system to match the DVD region code.&lt;br /&gt;&lt;br /&gt;You can change your system region code by right-clicking on &lt;b&gt;AnyDVD&lt;/b&gt; systray and choose setting option and then a dialog like below will appear:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_u4fP92Ps9d4/S36_caoVh-I/AAAAAAAAANg/C0XUTYRppt0/s1600-h/dvd-reg-code.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="207" src="http://1.bp.blogspot.com/_u4fP92Ps9d4/S36_caoVh-I/AAAAAAAAANg/C0XUTYRppt0/s320/dvd-reg-code.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Match region code setting to DVD's region code, in my case my dvd's region code is 1 , it means the DVD is only for USA and Canada region. When you finish this configuration, you can play your DVD by using your favorite media player.&lt;br /&gt;&lt;br /&gt;Enjoy!, Hope this simple tutorial will be helpful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-6836728417545267746?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/6836728417545267746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2010/02/region-code-protected-dvd-vs-laptop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/6836728417545267746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/6836728417545267746'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2010/02/region-code-protected-dvd-vs-laptop.html' title='Region Code Protected DVD vs Laptop'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_u4fP92Ps9d4/S36_caoVh-I/AAAAAAAAANg/C0XUTYRppt0/s72-c/dvd-reg-code.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-3859364868077312460</id><published>2009-08-31T18:10:00.000-07:00</published><updated>2009-08-31T18:33:31.236-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Slackware 13.0 released</title><content type='html'>It was August 28, 2009 when Slackware 13.0 released. In this version Slackware has supported X64 platform and you can enjoy KDE 4 desktop environment. &lt;br /&gt;&lt;br /&gt;As usual you can download Slackware 13.0 from some mirror at &lt;a href="http://www.slackware.com/getslack"&gt; http://www.slackware.com/getslack&lt;/a&gt;. Choose your mirror, check it, download and enjoy!.&lt;br /&gt;&lt;br /&gt;Below is official announcement from www.slackware.com:&lt;br /&gt;&lt;blockquote&gt;Yes it's that time again!  After many months of development and careful&lt;br /&gt;testing, we are proud to announce the release of Slackware version 13.0!&lt;br /&gt;&lt;br /&gt;We are sure you'll agree that the improvements made in this release more&lt;br /&gt;than warrant the major version bump up from the 12.x series.  We've done our&lt;br /&gt;best to bring the latest technology to Slackware while still maintaining the&lt;br /&gt;stability and security that you have come to expect.  Slackware is well known&lt;br /&gt;for it's simplicity and the fact that we try to bring software to you in the&lt;br /&gt;condition that the authors intended.&lt;br /&gt;&lt;br /&gt;Probably the biggest change is the addition of an official 64-bit port.&lt;br /&gt;While the 32-bit (x86) version continues to be developed, this release brings&lt;br /&gt;to you a complete port to 64-bit (x86_64).  We know that many of you have&lt;br /&gt;been waiting eagerly for this, and once you try it you'll see it was well&lt;br /&gt;worth the wait.&lt;br /&gt;&lt;br /&gt;Slackware 13.0 brings many updates and enhancements, among which you'll find &lt;br /&gt;two of the most advanced desktop environments available today: Xfce 4.6.1, &lt;br /&gt;a fast and lightweight but visually appealing and easy to use desktop &lt;br /&gt;environment, and KDE 4.2.4, a recent stable release of the new 4.2.x series&lt;br /&gt;of the award-winning K Desktop Environment.  We continue to make use of HAL&lt;br /&gt;(Hardware Abstraction Layer) which allows the system administrator to grant&lt;br /&gt;use of various hardware devices according to users' group membership so that&lt;br /&gt;they will be able to use items such as USB flash sticks, USB cameras that &lt;br /&gt;appear like USB storage, portable hard drives, CD and DVD media, MP3 players, &lt;br /&gt;and more, all without requiring sudo, the mount or umount command.  Just plug&lt;br /&gt;and play.  Properly set up, Slackware's desktop should be suitable for any &lt;br /&gt;level of Linux experience.&lt;br /&gt;&lt;br /&gt;Slackware uses the 2.6.29.6 kernel bringing you advanced performance &lt;br /&gt;features such as journaling filesystems, SCSI and ATA RAID volume support, &lt;br /&gt;SATA support, Software RAID, LVM (the Logical Volume Manager), and &lt;br /&gt;encrypted filesystems.  Kernel support for X DRI (the Direct Rendering &lt;br /&gt;Interface) brings high-speed hardware accelerated 3D graphics to Linux.  &lt;br /&gt;&lt;br /&gt;There are two kinds of kernels in Slackware -- the huge kernels, which &lt;br /&gt;contain support for just about every driver in the Linux kernel. These are &lt;br /&gt;primarily intended to be used for installation, but there's no real reason &lt;br /&gt;that you couldn't continue to run them after you have installed.  The &lt;br /&gt;other type of kernel is the generic kernel, in which nearly every driver &lt;br /&gt;is built as a module.  To use a generic kernel you'll need to build an &lt;br /&gt;initrd to load your filesystem module and possibly your drive controller &lt;br /&gt;or other drivers needed at boot time, configure LILO to load the initrd at &lt;br /&gt;boot, and reinstall LILO.  See the docs in /boot after installing for more &lt;br /&gt;information.  Slackware's Linux kernels come in both SMP and non-SMP types &lt;br /&gt;now.  The SMP kernel supports multiple processors, multi-core CPUs, &lt;br /&gt;HyperThreading, and about every other optimization available.  In our own &lt;br /&gt;testing this kernel has proven to be fast, stable, and reliable.  We &lt;br /&gt;recommend using the SMP kernel even on single processor machines if it &lt;br /&gt;will run on them.&lt;br /&gt;&lt;br /&gt;From the beginning, Slackware has offered a stable and secure Linux &lt;br /&gt;distribution for UNIX veterans as well as an easy-to-use system for &lt;br /&gt;beginners.  Slackware includes everything you'll need to run a powerful &lt;br /&gt;server or workstation.  Each Slackware package follows the setup and &lt;br /&gt;installation instructions from its author(s) as closely as possible, &lt;br /&gt;offering you the most stable and easily expandable setup.&lt;br /&gt;&lt;br /&gt;Here are some of the advanced features of Slackware 13.0:&lt;br /&gt;&lt;br /&gt;- Runs the 2.6.29.6 version of the Linux kernel from ftp.kernel.org.&lt;br /&gt;Also included is a kernel patched with Speakup to support speech&lt;br /&gt;synthesizers providing access to Linux for the visually impaired&lt;br /&gt;community.  The 2.6.x kernel series has matured into a stable&lt;br /&gt;kernel, and provides reliable performance for your desktop or&lt;br /&gt;your production server.&lt;br /&gt;&lt;br /&gt;- System binaries are linked with the GNU C Library, version 2.9.&lt;br /&gt;This version of glibc also has excellent compatibility with&lt;br /&gt;existing binaries.&lt;br /&gt;&lt;br /&gt;- X11 based on the X.Org Foundation's modular X Window System.&lt;br /&gt;There's been much activity in the X development world, and the&lt;br /&gt;improvements in terms of performance and hardware support are&lt;br /&gt;too numerous to mention them all here.&lt;br /&gt;&lt;br /&gt;- Installs gcc-4.3.3 as the default C, C++, Objective-C, &lt;br /&gt;Fortran-77/95, and Ada 95 compiler.&lt;br /&gt;&lt;br /&gt;- Support for fully encrypted network connections with OpenSSL,&lt;br /&gt;OpenSSH, OpenVPN, and GnuPG.&lt;br /&gt;&lt;br /&gt;- Apache (httpd) 2.2.13 web server with Dynamic Shared Object &lt;br /&gt;support, SSL, and PHP 5.2.10.&lt;br /&gt;&lt;br /&gt;- PCMCIA, CardBus, USB, IEE1394 (FireWire) and ACPI support.  This&lt;br /&gt;makes Slackware a great operating system for your laptop.&lt;br /&gt;&lt;br /&gt;- The udev dynamic device management system for Linux 2.6.x.&lt;br /&gt;This locates and configures most hardware automatically as it&lt;br /&gt;is added (or removed) from the system, and creates the access&lt;br /&gt;nodes in /dev.  It also loads the kernel modules required by&lt;br /&gt;sound cards and other hardware at boot time.&lt;br /&gt;&lt;br /&gt;- New development tools, including Perl 5.10.0, Python 2.6.2,&lt;br /&gt;Ruby 1.8.7-p174, Subversion 1.6.4, git-1.6.4, mercurial-1.2.1,&lt;br /&gt;graphical tools like Qt designer and KDevelop, and much more.&lt;br /&gt;&lt;br /&gt;- Updated versions of the Slackware package management tools make it&lt;br /&gt;easy to add, remove, upgrade, and make your own Slackware packages.&lt;br /&gt;Package tracking makes it easy to upgrade from Slackware 12.2 to &lt;br /&gt;Slackware 13.0 (see CHANGES_AND_HINTS.TXT).  The slackpkg tool can&lt;br /&gt;also help update from an older version of Slackware to a newer one,&lt;br /&gt;and keep your Slackware system up to date.  In addition, the&lt;br /&gt;slacktrack utility (in extra/) will help you build and maintain&lt;br /&gt;your own packages.&lt;br /&gt;&lt;br /&gt;- Web browsers galore!  Includes KDE's Konqueror 4.2.4, &lt;br /&gt;SeaMonkey 1.1.17 (this is the replacement for the Mozilla&lt;br /&gt;Suite), and the immensely popular Firefox 3.5.2, as well as&lt;br /&gt;the Thunderbird 2.0.0.23 email and news client with advanced&lt;br /&gt;junk mail filtering.&lt;br /&gt;&lt;br /&gt;- The complete K Desktop Environment (KDE) version 4.2.4, including&lt;br /&gt;the KOffice productivity suite, networking tools, GUI development&lt;br /&gt;with KDevelop, multimedia tools (including the amazing Amarok&lt;br /&gt;music player and K3B disc burning software), the Konqueror web&lt;br /&gt;browser and file manager, dozens of games and utilities,&lt;br /&gt;international language support, and more.&lt;br /&gt;&lt;br /&gt;- A collection of GTK+ based applications including pidgin-2.5.9,&lt;br /&gt;gimp-2.6.6, gkrellm-2.3.2, gxine-0.5.903, xchat-2.8.6, xsane-0.996,&lt;br /&gt;and pan-0.133.&lt;br /&gt;&lt;br /&gt;- A repository of extra software packages compiled and ready to run.&lt;br /&gt;This includes the Java(TM) 2 Software Development Kit Standard&lt;br /&gt;Edition, an MPlayer browser plugin, alternate Intel video drivers&lt;br /&gt;for X, and more (see the /extra directory).&lt;br /&gt;&lt;br /&gt;- Many more improved and upgraded packages than we can list here.  For&lt;br /&gt;a complete list of core packages in Slackware 13.0, see this file:&lt;br /&gt;&lt;br /&gt;ftp://ftp.slackware.com/pub/slackware/slackware-13.0/PACKAGES.TXT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Downloading Slackware 13.0:&lt;br /&gt;---------------------------&lt;br /&gt;&lt;br /&gt;The full version of Slackware Linux 13.0 is available for download from&lt;br /&gt;the central Slackware FTP sites hosted by our friends at www.cwo.com&lt;br /&gt;and osuosl.org:&lt;br /&gt;&lt;br /&gt;ftp://slackware.osuosl.org/pub/slackware/slackware-13.0/&lt;br /&gt;ftp://ftp.slackware.com/pub/slackware/slackware-13.0/&lt;br /&gt;&lt;br /&gt;If the sites are busy, see the list of official mirror sites here:&lt;br /&gt;&lt;br /&gt;http://slackware.com/getslack/&lt;br /&gt;&lt;br /&gt;We will be setting up BitTorrent downloads for the official ISO images.&lt;br /&gt;Stay tuned to http://slackware.com for the latest updates.&lt;br /&gt;&lt;br /&gt;Instructions for burning the Slackware tree onto install discs may be&lt;br /&gt;found in the isolinux directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Purchasing Slackware on CD-ROM or DVD:&lt;br /&gt;--------------------------------------&lt;br /&gt;&lt;br /&gt;Or, please consider purchasing the Slackware Linux 13.0 six CD-ROM set&lt;br /&gt;or deluxe dual-sided DVD release directly from Slackware Linux, and&lt;br /&gt;you'll be helping to support the continued development of Slackware Linux!&lt;br /&gt;&lt;br /&gt;The DVD release has the 32-bit x86 Slackware 13.0 release on one side,&lt;br /&gt;and the 64-bit x86_64 Slackware 13.0 release on the other.  Both sides&lt;br /&gt;are bootable for easy installation, and includes everything from both&lt;br /&gt;releases of Slackware 13.0, including the complete source code trees.&lt;br /&gt;&lt;br /&gt;The 6 CD-ROM release of Slackware 13.0 is the 32-bit x86 edition.  It&lt;br /&gt;includes a bootable first CD-ROM for easy installation, and everything&lt;br /&gt;from the Slackware 13.0 32-bit x86 release is contained on 6 discs&lt;br /&gt;labeled for easy reference.&lt;br /&gt;&lt;br /&gt;The Slackware 13.0 x86 6 CD-ROM set is $49.95 plus shipping, or choose&lt;br /&gt;the Slackware 13.0 x86/x86_64 dual-sided DVD (also $49.95 plus shipping).&lt;br /&gt;&lt;br /&gt;Slackware Linux is also available by subscription.  When we release a new &lt;br /&gt;version of Slackware (which is normally once or twice a year) we ship it &lt;br /&gt;to you and bill your credit card for a reduced subscription price&lt;br /&gt;($32.99 for the CD-ROM set, or $39.95 for the DVD) plus shipping.&lt;br /&gt;&lt;br /&gt;For shipping options, see the Slackware store website.  Before ordering&lt;br /&gt;express shipping, you may wish to check that we have the product in stock.&lt;br /&gt;We make releases to the net at the same time as disc production begins,&lt;br /&gt;so there is a lag between the online release and the shipping of media.&lt;br /&gt;But, even if you download now you can still buy the official media later.&lt;br /&gt;You'll feel good, be helping the project, and have a great decorative&lt;br /&gt;item perfect for any computer room shelf.  :-)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ordering Information:&lt;br /&gt;---------------------&lt;br /&gt;&lt;br /&gt;You can order online at the Slackware Linux store:&lt;br /&gt;http://store.slackware.com&lt;br /&gt;&lt;br /&gt;Other Slackware items like t-shirts, caps, pins, and stickers&lt;br /&gt;can also be found here.  These will help you find and identify&lt;br /&gt;yourself to your fellow Slackware users.  :-)&lt;br /&gt;&lt;br /&gt;Order inquiries (including questions about becoming a Slackware&lt;br /&gt;reseller) may be directed to this address:&lt;br /&gt;info@slackware.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Have fun! :^)  I hope you find Slackware to be useful, and thanks&lt;br /&gt;very much for your support of this project over the years.&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;Patrick J. Volkerding    &lt;volkerdi@slackware.com&gt;&lt;br /&gt;&lt;br /&gt;Visit us on the web at:  http://slackware.com&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-3859364868077312460?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/3859364868077312460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2009/08/slackware-130-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/3859364868077312460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/3859364868077312460'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2009/08/slackware-130-released.html' title='Slackware 13.0 released'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-7613917632032635815</id><published>2009-08-13T18:33:00.000-07:00</published><updated>2010-03-26T05:18:50.844-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Connected to wireless</title><content type='html'>I have a Wireless AP with open security and WEP encryption and in other side is My Linux box using Slackware 12.2, whereas wlan0 as my wireless Lan card.&lt;br /&gt;&lt;br /&gt;In this case I want to connect my Linux Box to my AP and The AP also as DHCP server.&lt;br /&gt;I have a Wireless AP with open security and WEP encryption and in other side is My Linux box using Slackware 12.2, whereas wlan0 as my wireless Lan card.&lt;br /&gt;&lt;br /&gt;In this case I want to connect my Linux Box to my AP and The AP also as DHCP server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The steps to connect are&lt;/b&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Ensure your&amp;nbsp; WLan card has waked up&lt;/li&gt;&lt;/ul&gt;&lt;code&gt;# ifconfig wlan0 up&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Scan network area and get information about your AP configuration&lt;/li&gt;&lt;/ul&gt;&lt;code&gt;# iwlist wlan0 scan&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Configure your Wlan card&lt;/li&gt;&lt;/ul&gt;&lt;code&gt;# iwconfig wlan0 managed&lt;br /&gt;# iwconfig wlan0 essid MYLAN&lt;br /&gt;# iwconfig wlan0 channel 6 (the channel which used by AP)&lt;br /&gt;# iwconfig wlan0 key 12345ABCDE&lt;br /&gt;# iwconfig wlan0 ap&amp;nbsp; (MAC ADDR your AP)&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get IP Address and connected&lt;/li&gt;&lt;/ul&gt;&lt;code&gt;# dhclient wlan0&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Check your connection&lt;/li&gt;&lt;/ul&gt;&lt;code&gt;# ping www.google.com&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-7613917632032635815?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/7613917632032635815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2009/08/i-have-wireless-ap-with-open-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/7613917632032635815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/7613917632032635815'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2009/08/i-have-wireless-ap-with-open-security.html' title='Connected to wireless'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-3314307013303980879</id><published>2009-06-30T06:13:00.000-07:00</published><updated>2009-06-30T06:14:23.927-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Install Fedora-8 via Http Server</title><content type='html'>Right now we can install fedora via HTTP server, for this we only need http server like apache or other. In this tutorial I use apache as http server, and in my assumption we have set apache server properly.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy all of DVD or CD content into Document Root directory; in my case I put it all into fedora-install directory.&lt;/li&gt;&lt;li&gt;Use fedora boot disc or boot usb, use boot.iso file in images directory to create disc or usb boot.&lt;/li&gt;&lt;li&gt;To create usb boot you by using liveusb-creator tool, both for linux and windows, you can get it in &lt;a href="https://fedorahosted.org/liveusb-creator/"&gt;https://fedorahosted.org/liveusb-creator/&lt;/a&gt;,&lt;/li&gt;&lt;li&gt;Boot Linux by using disc or usb boot.&lt;/li&gt;&lt;li&gt;Choose install system&lt;/li&gt;&lt;li&gt;Choose http install&lt;/li&gt;&lt;li&gt;Set your IP, netmask, and nameserver&lt;/li&gt;&lt;li&gt;Input your http server.&lt;/li&gt;&lt;li&gt;Follow the instruction.&lt;/li&gt;&lt;li&gt;Viola, Linux fedora has been installed in your computer&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-3314307013303980879?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/3314307013303980879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2009/06/install-fedora-8-via-http-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/3314307013303980879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/3314307013303980879'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2009/06/install-fedora-8-via-http-server.html' title='Install Fedora-8 via Http Server'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5338618306130200895.post-9025118989197504168</id><published>2009-06-16T01:23:00.000-07:00</published><updated>2009-06-30T06:13:54.504-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open bsd'/><title type='text'>SU command in OpenBSD</title><content type='html'>I have installed Open BSD 4.4 as guest in my Qemu in my Slackware. Firstly after I had finished the installation process I read ‘&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;man afterboot&lt;/span&gt; ’ to get early information about what to do, I realize that I should not login as root, but use ‘&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;su&lt;/span&gt;’ or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;‘sudo&lt;/span&gt;’ command to get root access for security reason.&lt;br /&gt;&lt;br /&gt;After that, I added a user in my Open BSD system. And I tried to get root access by using ‘&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;su&lt;/span&gt;’ command and it fail. To find the solution I did googling, and I found that Open BSD '&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;su&lt;/span&gt;' command can only execute by user in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;wheel&lt;/span&gt; group.&lt;br /&gt;&lt;br /&gt;And then I added my user to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;wheel&lt;/span&gt; group by using “&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;usermod –g wheel &lt;my_user&gt;&lt;/my_user&gt;&lt;/span&gt;” and tested for ‘&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;su&lt;/span&gt;’ command again but I failed again to get root&amp;nbsp; access. Because of that I was googling again and found that to add &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;my_user&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;wheel&lt;/span&gt; group I have to modify &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/group&lt;/span&gt; manually or using &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;adduser&lt;/span&gt;. I tried that and success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5338618306130200895-9025118989197504168?l=2cent-info.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2cent-info.blogspot.com/feeds/9025118989197504168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2cent-info.blogspot.com/2009/06/su-command-in-openbsd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/9025118989197504168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5338618306130200895/posts/default/9025118989197504168'/><link rel='alternate' type='text/html' href='http://2cent-info.blogspot.com/2009/06/su-command-in-openbsd.html' title='SU command in OpenBSD'/><author><name>Gusman DP</name><uri>http://www.blogger.com/profile/00167389852846044914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://i57.photobucket.com/albums/g208/gusman_dp/Blog/crop.jpg'/></author><thr:total>0</thr:total></entry></feed>
