<?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-9494257</id><updated>2012-02-17T05:17:18.323+01:00</updated><category term='linux windows mouse emulation'/><title type='text'>*scratch*</title><subtitle type='html'>It is not a diary the most people have rather a *scratch* Emacs buffer.  It keeps notes about everything related to Linux, Open Source, UNIX, MacOSX and software engineering.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9494257.post-971472283437732194</id><published>2009-04-20T11:13:00.003+02:00</published><updated>2009-04-20T11:19:17.203+02:00</updated><title type='text'>It is deprecated (I think so)</title><content type='html'>I think this blog is deprecated.  Honestly it was never been active very much.  Google Notes looks very lucrative to these kind of activities and using blog for interesting notes does not work very well, at least for me.&lt;br /&gt;&lt;br /&gt;I am using more Twitter and Live Journal look more attractive mostly because of number of people on those services.  I am mostly reading with rare posts on Twitter but wish to use Lice Journal more ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-971472283437732194?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/971472283437732194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=971472283437732194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/971472283437732194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/971472283437732194'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2009/04/it-is-deprecated-i-think-so.html' title='It is deprecated (I think so)'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-9201043156488522918</id><published>2008-11-11T11:07:00.002+01:00</published><updated>2008-11-11T11:13:19.080+01:00</updated><title type='text'>how to convert Nero image to ISO with dd command only</title><content type='html'>Here is the original post (in Russian) &lt;a href="http://www.opennet.ru/tips/info/1819.shtml"&gt;OpenNet.ru article&lt;/a&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;dd bs=1k if=image.nrg of=image.iso skip=300&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Removes extra Nero/NRG 300K block at the beginning of the file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-9201043156488522918?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/9201043156488522918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=9201043156488522918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/9201043156488522918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/9201043156488522918'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/11/how-to-convert-nero-image-to-iso-with.html' title='how to convert Nero image to ISO with dd command only'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-8464306200616364726</id><published>2008-09-08T08:49:00.002+02:00</published><updated>2008-09-08T08:55:04.107+02:00</updated><title type='text'>Optimizing Windows XP and nice tricks to disable annoying features</title><content type='html'>Taken from the &lt;a href="http://dinpinto.blogspot.com/2005/10/optimizing-windows-xp-to-run-on-850.html"&gt;blog&lt;/a&gt;.  Here are some tricks to remember:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Disable error reporting on program crash&lt;br /&gt;Open REGEDIT&lt;br /&gt;Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting.&lt;br /&gt;Edit the following value:&lt;br /&gt;Value Name: DoReport&lt;br /&gt;Value: 0 to disable the error report prompt.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Using Classic Search in windows XP. Get rid of Merlin and his minions.&lt;br /&gt;Start Regedit&lt;br /&gt;Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState Add a String Key called "Use Search Asst"&lt;br /&gt;Give it a value of no&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Speed up the start menu:&lt;br /&gt;Locate and Edit the following key&lt;br /&gt;HKEY_CURRENT_USER/Control Panel/Desktop/"MenuShowDelay"=0&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-8464306200616364726?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/8464306200616364726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=8464306200616364726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/8464306200616364726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/8464306200616364726'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/09/optimizing-windows-xp-and-nice-tricks.html' title='Optimizing Windows XP and nice tricks to disable annoying features'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-4778241365896569380</id><published>2008-08-04T16:02:00.003+02:00</published><updated>2008-08-04T16:12:58.602+02:00</updated><title type='text'>How to disable X/DT login on legacy Solaris8</title><content type='html'>DT login manager is an annoying program runs by default on Solaris8 boot.  Many legacy SPARC computers are connected to non-Sun monitors these days, so it makes very difficult sometimes to run graphical login window and login from the main console.  Legacy text login still works indeed.&lt;br /&gt;&lt;br /&gt;It is not obvious were dtlogin starts at boot time.  inittab does have any entries to run any login managers.  &lt;tt&gt;rc3.d/&lt;/tt&gt; does not have anything useful and &lt;tt&gt;rc5.d&lt;/tt&gt; may be missing.  Here the magic command to disable and stop DT login manager:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;/usr/dt/bin/dtconfig -d&lt;/tt&gt; remove DT login manager from boot sequence;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;/usr/dt/bin/dtconfig -kill&lt;/tt&gt; kills existing instance of DT login manager.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-4778241365896569380?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/4778241365896569380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=4778241365896569380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/4778241365896569380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/4778241365896569380'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/08/how-to-disable-xdt-login-on-legacy.html' title='How to disable X/DT login on legacy Solaris8'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-348677099321945375</id><published>2008-07-13T14:55:00.002+02:00</published><updated>2008-07-13T15:05:58.924+02:00</updated><title type='text'>sound on Linux, again ...</title><content type='html'>Honestly I thought &lt;span style="font-style:italic;"&gt;the sound problem&lt;/span&gt; on Linux is over in Hardy Heron with PulseAudio support.  I was wrong ... Flash 9 may not play via PulseAudio and Rthymbox stops working after visiting YouTube in Firefox.  Googling on PulseAudio server and UbuntuForums makes it clear an additional library must be installed to make Flash 9 plays nice with PulseAudio:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;libflashsupport&lt;/tt&gt; must be installed in addition to &lt;tt&gt;flashplugin-nonfree&lt;/tt&gt;!&lt;br /&gt;&lt;br /&gt;I suspect it would remain like that in &lt;tt&gt;8.10&lt;/tt&gt; release.  It would be nice if &lt;tt&gt;libflashplugin-nonfree&lt;/tt&gt; had a dependency to &lt;tt&gt;libflashsupport&lt;/tt&gt; so it would be transparent to the user like myself.&lt;br /&gt;&lt;br /&gt;The promised (and beta 2) version of Flash 10 is available but it would take time before it would make its way to &lt;tt&gt;8.10&lt;/tt&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-348677099321945375?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/348677099321945375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=348677099321945375' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/348677099321945375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/348677099321945375'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/07/sound-on-linux-again.html' title='sound on Linux, again ...'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-7575258452455497651</id><published>2008-02-04T13:27:00.000+01:00</published><updated>2008-02-04T13:34:39.482+01:00</updated><title type='text'>Oracle 9i installation on RHEL3, RHEL4</title><content type='html'>It is RHEL 3 and 4 problem, RHEL5 may have the same issue.&lt;br /&gt;&lt;p&gt;&lt;em&gt;i386&lt;/em&gt;&lt;br /&gt;&lt;p&gt;export LD_ASSUME_KERNEL=2.2.5 + patch Oracle #3006854&lt;br /&gt;&lt;p&gt;&lt;em&gt;x86-64&lt;/em&gt;&lt;br /&gt;&lt;p&gt;export LD_ASSUME_KERNEL=2.4.1&lt;br /&gt;&lt;p&gt;export LD_ASSUME_KERNEL=2.4.19 (RHEL4)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.puschitz.com/InstallingOracle9i.shtml"&gt;Here&lt;/a&gt; is very nice step by step installation HOWTO.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-7575258452455497651?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/7575258452455497651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=7575258452455497651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/7575258452455497651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/7575258452455497651'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/02/oracle-9i-installation-on-rhel3-rhel4.html' title='Oracle 9i installation on RHEL3, RHEL4'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-3205466349865190872</id><published>2008-02-04T13:18:00.000+01:00</published><updated>2008-02-04T13:27:08.677+01:00</updated><title type='text'>tcpdump usage is not strait sometimes</title><content type='html'>&lt;code&gt;tcpdump&lt;/code&gt; is a nice CLI utility to log everything from available network interfaces.  The only pitfall is by default it truncates all strings to 96 bytes.  Here is a cut&amp;paste line:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;sudo tcpdump -s256 -Xi lo ...&lt;br /&gt;sudo tcpdump -s256 -Xi lo dst port ...&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;-X&lt;/code&gt; is hex/ASCII form of presentation. &lt;code&gt;256&lt;/code&gt; is a length of strings to print.  &lt;code&gt;lo&lt;/code&gt; interface name, eth0, eth1 ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-3205466349865190872?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/3205466349865190872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=3205466349865190872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/3205466349865190872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/3205466349865190872'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/02/tcpdump-usage-is-not-strait-sometimes.html' title='tcpdump usage is not strait sometimes'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-2923679840896746975</id><published>2008-01-31T11:40:00.000+01:00</published><updated>2008-01-31T11:42:35.197+01:00</updated><title type='text'>Bursa-Wolf ppm</title><content type='html'>Bursa-Wolf ppm parameter is Parts Per Million the representation of error of transformation.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;1 ppm is equal 0.2m or 0.66 feet&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-2923679840896746975?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/2923679840896746975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=2923679840896746975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/2923679840896746975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/2923679840896746975'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/01/bursa-wolf-ppm.html' title='Bursa-Wolf ppm'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-6379796281442664578</id><published>2008-01-31T11:36:00.000+01:00</published><updated>2008-01-31T11:40:02.703+01:00</updated><title type='text'>/etc/sudoers default configuration for an admin user</title><content type='html'>&lt;code&gt;&lt;br /&gt;Defaults:username timestamp_timeout=15&lt;br /&gt;...&lt;br /&gt;username ALL = (ALL) ALL&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Default is a section before user definitions. 15 is in minutes to wait before password session expires.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-6379796281442664578?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/6379796281442664578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=6379796281442664578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/6379796281442664578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/6379796281442664578'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2008/01/etcsudoers-default-configuration-for.html' title='/etc/sudoers default configuration for an admin user'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-167833526015821445</id><published>2007-11-09T10:51:00.000+01:00</published><updated>2007-11-09T10:55:04.381+01:00</updated><title type='text'>howto compile python files</title><content type='html'>&lt;a href="http://effbot.org/zone/python-compile.htm"&gt;Compiling Python Code&lt;/a&gt; is a very nice blog about Python compiling module.  Here is some shortcuts:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;from py_compile import compile&lt;br /&gt;compile('qt4.py')&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;or&lt;br /&gt;&lt;code&gt;&lt;br /&gt;from compileall import compile_dir&lt;br /&gt;compile_dir('./', force=1)&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-167833526015821445?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/167833526015821445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=167833526015821445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/167833526015821445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/167833526015821445'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2007/11/howto-compile-python-files.html' title='howto compile python files'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-4083825362896554826</id><published>2007-07-20T18:04:00.000+02:00</published><updated>2007-07-20T18:11:21.073+02:00</updated><title type='text'>Ubuntu, patched freetype library for excellent desktop experience</title><content type='html'>Here is from Ubuntu forum, &lt;a href="http://ubuntuforums.org/showthread.php?t=343670"&gt;howto install&lt;/a&gt; patched version of freetype 2.3.X.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-4083825362896554826?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/4083825362896554826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=4083825362896554826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/4083825362896554826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/4083825362896554826'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2007/07/ubuntu-patched-freetype-library-for.html' title='Ubuntu, patched freetype library for excellent desktop experience'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-4652422518385460311</id><published>2007-05-15T15:31:00.000+02:00</published><updated>2007-05-15T15:34:00.360+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux windows mouse emulation'/><title type='text'>mouse emulation with numeric keypad</title><content type='html'>I never figure out Alt-Shift-NumLock activates/deactivates mouse emulation.  It works on Linux that is how I accidentally discovered and on Windows.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-4652422518385460311?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/4652422518385460311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=4652422518385460311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/4652422518385460311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/4652422518385460311'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2007/05/mouse-emulation-with-numeric-keypad.html' title='mouse emulation with numeric keypad'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-117092458218530062</id><published>2007-02-08T09:49:00.000+01:00</published><updated>2007-02-08T09:56:19.296+01:00</updated><title type='text'>NVidia device permission set to 0666</title><content type='html'>Systems RHEL or CentOS &lt;code&gt;/etc/security/console.perms&lt;/code&gt; check for the line follows:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;xconsole&amp;gt; 0666    &amp;lt;dri&amp;gt;       0666 root&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;It must have &lt;code&gt;0666&lt;/code&gt; instead of &lt;code&gt;0600&lt;/code&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-117092458218530062?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/117092458218530062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=117092458218530062' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/117092458218530062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/117092458218530062'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2007/02/nvidia-device-permission-set-to-0666.html' title='NVidia device permission set to 0666'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-116902533347290806</id><published>2007-01-17T10:10:00.000+01:00</published><updated>2007-01-17T10:15:33.486+01:00</updated><title type='text'>Solaris TCP port close timeout internal by default is very long</title><content type='html'>From FLEXlm Solaris notes: We recommend adding the following command to the boot scripts due to a bug in the Solaris operating system.&lt;br /&gt;&lt;br /&gt;Solaris 2.1-2.6:&lt;br /&gt;&lt;code&gt;/usr/sbin/ndd -set /dev/tcp tcp_close_wait_interval 2400&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Solaris 2.7 and higher:&lt;br /&gt;&lt;code&gt;/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 2400&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;By default on Solaris, upon stopping a license server, 1 to 5 minutes are required for the port to free up so it will restart, which can result in checkout failures.  The command above resets this default to 2.4 seconds&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-116902533347290806?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/116902533347290806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=116902533347290806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/116902533347290806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/116902533347290806'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2007/01/solaris-tcp-port-close-timeout.html' title='Solaris TCP port close timeout internal by default is very long'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-116761683792084358</id><published>2007-01-01T03:00:00.000+01:00</published><updated>2007-01-01T03:02:17.800+01:00</updated><title type='text'>MacOSX: Disable Dashboard</title><content type='html'>A tip from &lt;a href="http://www.macworld.com/weblogs/macosxhints/2005/08/disabledashboard/index.php"&gt;MacWorld&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Disable MacOSX Dashboard "widgets feature":&lt;br /&gt;&lt;code&gt;&lt;br /&gt;defaults write com.apple.dashboard mcx-disabled -boolean YES &lt;br /&gt;killall Dock&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Use "NO" to restore it back.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-116761683792084358?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/116761683792084358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=116761683792084358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/116761683792084358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/116761683792084358'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2007/01/macosx-disable-dashboard.html' title='MacOSX: Disable Dashboard'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-116678422436679697</id><published>2006-12-22T11:43:00.000+01:00</published><updated>2006-12-22T11:43:44.413+01:00</updated><title type='text'>AJAX toolkits</title><content type='html'>AJAX must be &lt;span style="font-style:italic;"&gt;type less do more&lt;/span&gt; concept.  Those links are from one of DDJ podcasts interview:&lt;br /&gt;&lt;br /&gt;http://dojotoolkit.org&lt;br /&gt;http://jquery.com/&lt;br /&gt;&lt;br /&gt;AJAX must be easy indeed otherwise it would not get developer's acceptance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-116678422436679697?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/116678422436679697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=116678422436679697' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/116678422436679697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/116678422436679697'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/12/ajax-toolkits.html' title='AJAX toolkits'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-115358959822568223</id><published>2006-07-22T19:33:00.000+02:00</published><updated>2006-07-22T19:33:18.283+02:00</updated><title type='text'>mutagen to convert ID3 tags to v2.4 Unicode</title><content type='html'>&lt;a href="http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen"&gt;Mutagen&lt;/a&gt; is a Python module to handle audio metadata like MPS3 ID3 tags.&lt;br /&gt;&lt;br /&gt;Convert all Windows codeset ID3 tags to Unicode:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;find ./ -name '*.mp3' -print0 | xargs -0 /System/Library/Frameworks/Python.framework/Versions/2.3/bin/mid3iconv -eCP1251 --remove-v1&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Python installs everything to &lt;tt&gt;/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mutagen/...&lt;/tt&gt; and tools scripts to &lt;tt&gt;/System/Library/Frameworks/Python.framework/Versions/2.3/bin&lt;/tt&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-115358959822568223?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/115358959822568223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=115358959822568223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/115358959822568223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/115358959822568223'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/07/mutagen-to-convert-id3-tags-to-v24.html' title='mutagen to convert ID3 tags to v2.4 Unicode'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-114864386351260358</id><published>2006-05-26T13:44:00.000+02:00</published><updated>2007-02-13T11:36:31.798+01:00</updated><title type='text'>Burn DVD on Linux</title><content type='html'>&lt;p&gt;There is a front-end to &lt;tt&gt;mkisofs&lt;/tt&gt; and &lt;tt&gt;dvdrecord&lt;/tt&gt;:&lt;br /&gt;&lt;p&gt;&lt;code&gt;    growisofs -Z /dev/scd0 -R -J .&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-Z&lt;/tt&gt; means the device name for a new blank DVD-R&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-R -J&lt;/tt&gt; long file name formats to suppport&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;tt&gt;mkisofs&lt;/tt&gt; flags:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-x dirfile_path&lt;/tt&gt; to exclude a directory or file&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-dir-mode=&lt;/tt&gt; directory mode to use&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-file-mode=&lt;/tt&gt; file mode to apply&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Dot means everything in the current directory.&lt;br /&gt;&lt;p&gt;&lt;code&gt;    growisofs -M /dev/scd0 -R -J .&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-M&lt;/tt&gt; add to existing session on DVD-R&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Make a disk image of size 4.7Gb:&lt;br /&gt;&lt;p&gt;&lt;code&gt;growisofs -Z /dev/dvd=backup.raw&lt;/code&gt;&lt;br /&gt;&lt;p&gt;The alternative is X-CD-Roast with updated version of &lt;code&gt;cdrecond (cdrecord.prodvd)&lt;/code&gt; both DVD+R and DVD-R media.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-114864386351260358?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/114864386351260358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=114864386351260358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114864386351260358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114864386351260358'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/05/burn-dvd-on-linux.html' title='Burn DVD on Linux'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-114778756195609713</id><published>2006-05-16T15:52:00.000+02:00</published><updated>2006-05-16T15:57:12.836+02:00</updated><title type='text'>How to find out the file's package it belongs to?</title><content type='html'>How to find out the file's package it belongs to?&lt;br /&gt;&lt;br /&gt;Solaris:&lt;br /&gt;&lt;pre&gt;pkgchk -l -p /usr/ccs/bin/ar&lt;/pre&gt;&lt;br /&gt;Linux RedHat based distro:&lt;br /&gt;&lt;pre&gt;rpm -qf /bin/ls&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-114778756195609713?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/114778756195609713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=114778756195609713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114778756195609713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114778756195609713'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/05/how-to-find-out-files-package-it.html' title='How to find out the file&apos;s package it belongs to?'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-114332459539725564</id><published>2006-03-25T23:09:00.000+01:00</published><updated>2006-03-25T23:11:57.233+01:00</updated><title type='text'>How to rebuild the LaunchServices database on MacOSX</title><content type='html'>&lt;a href="http://www.macosxhints.com"&gt;MacOSX Hints&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If your "Open With" menu shows applications that are no longer installed, or shows some of them as duplicates, you can use the following Terminal command to rebuild your LaunchServices database:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -f -domain local -domain system -domain user&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-114332459539725564?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/114332459539725564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=114332459539725564' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114332459539725564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114332459539725564'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/03/how-to-rebuild-launchservices-database.html' title='How to rebuild the LaunchServices database on MacOSX'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-114250180025104777</id><published>2006-03-16T10:36:00.000+01:00</published><updated>2006-03-16T10:36:40.380+01:00</updated><title type='text'>Sun SPARC identification</title><content type='html'>To identify Sun SPARC platform with &lt;tt&gt;isainfo&lt;/tt&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;OPTIONS&lt;br /&gt;    The following options are supported:&lt;br /&gt;&lt;br /&gt;    -b    Prints the number of bits in the address space of  the&lt;br /&gt;          native instruction set.&lt;br /&gt;&lt;br /&gt;    -k    Prints the name of the instruction set(s) used by  the&lt;br /&gt;          operating  system  kernel  components  such  as device&lt;br /&gt;          drivers and STREAMS modules.&lt;br /&gt;&lt;br /&gt;    -n    Prints the name of the native instruction set used  by&lt;br /&gt;          portable applications supported by the current version&lt;br /&gt;          of the operating system.&lt;br /&gt;&lt;br /&gt;    -v    Prints  more  detailed  information  about  the  other&lt;br /&gt;          options.&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-114250180025104777?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/114250180025104777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=114250180025104777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114250180025104777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114250180025104777'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/03/sun-sparc-identification.html' title='Sun SPARC identification'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-114171337251501813</id><published>2006-03-07T07:36:00.000+01:00</published><updated>2006-03-07T07:38:30.836+01:00</updated><title type='text'>Windows, clean up start up items with regedit</title><content type='html'>&lt;tt&gt;regedit&lt;/tt&gt; clean up start up apps:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://www.duxcw.com/faq/win/msconfig.htm"&gt;Windows FAQ&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-114171337251501813?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/114171337251501813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=114171337251501813' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114171337251501813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/114171337251501813'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/03/windows-clean-up-start-up-items-with.html' title='Windows, clean up start up items with regedit'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-113645290587176612</id><published>2006-01-05T10:21:00.000+01:00</published><updated>2006-01-05T10:30:02.546+01:00</updated><title type='text'>Oracle DB special tables and views</title><content type='html'>&lt;a href="http://www.firststeps.ru/sql/oracle/"&gt;Oracle first steps (Russian)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; * &lt;tt&gt;X$&lt;/tt&gt; special tables, mostly encrypted&lt;br /&gt; * &lt;tt&gt;V$&lt;/tt&gt; views, database instance runtime activities&lt;br /&gt; * &lt;tt&gt;$&lt;/tt&gt; are internal implementation tables&lt;br /&gt; * &lt;tt&gt;DICTIONARY&lt;/tt&gt; table, keeps the list of all views/tables with descriptions.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;desc DICTIONARY&lt;br /&gt;&lt;br /&gt;TABLE_NAME&lt;br /&gt;COMMENTS&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-113645290587176612?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/113645290587176612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=113645290587176612' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/113645290587176612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/113645290587176612'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2006/01/oracle-db-special-tables-and-views.html' title='Oracle DB special tables and views'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9494257.post-112825455679886826</id><published>2005-10-02T14:02:00.000+02:00</published><updated>2006-05-05T11:07:07.893+02:00</updated><title type='text'>Perl replaces easily sed/awk/fgrep/...</title><content type='html'>Got from &lt;a href="http://ask.slashdot.org/article.pl?sid=05/10/01/2220206"&gt;SlashDot&lt;/a&gt; article.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    perl -pi -e "s/x/y"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-p&lt;/tt&gt; tells Perl to behave like &lt;tt&gt;sed&lt;/tt&gt;&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-i&lt;/tt&gt; means replace input file via temp one&lt;br /&gt;&lt;li&gt;&lt;tt&gt;-e&lt;/tt&gt; instruct Perl to take following argument as input script&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-112825455679886826?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/112825455679886826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=112825455679886826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/112825455679886826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/112825455679886826'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/10/perl-replaces-easily-sedawkfgrep.html' title='Perl replaces easily sed/awk/fgrep/...'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-112141422687662510</id><published>2005-07-15T09:57:00.000+02:00</published><updated>2005-08-06T00:45:35.903+02:00</updated><title type='text'>CUPS tips</title><content type='html'>Change CUPS printer options:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    lpoptions -p lp1 -o media=A4&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;List all options:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    lpoptions -p lp1 -l&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Very quick introduction at &lt;a href="http://linuxgazette.net/117/howell.html"&gt;CUPS intro&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-112141422687662510?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/112141422687662510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=112141422687662510' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/112141422687662510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/112141422687662510'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/07/cups-tips.html' title='CUPS tips'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-112025114754045801</id><published>2005-07-01T22:52:00.000+02:00</published><updated>2005-07-01T23:00:23.386+02:00</updated><title type='text'>interface config on MacOSX</title><content type='html'>How to make an alias to existing ethernet interface:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    ifconfig en0 inet 10.0.0.1 netmask 255.255.255.0 alias&lt;br /&gt;    # if IP address is not in the same network then ...&lt;br /&gt;    route add -host 10.0.0.1 -interface 127.0.0.1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Make ip forwarding:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    sysctl -w net.inet.ip.forwarding=1&lt;br /&gt;    natd -interface en0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Set firewall rules:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    ipfw 10001 add divert natd all from 10.0.0.1 to any via en0&lt;br /&gt;    ipfw 10002 add pass all from any to any via 10.0.0.1&lt;br /&gt;    # 10001/10002 are rule numbers, check current list of rules with :&lt;br /&gt;    ipfw list&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-112025114754045801?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/112025114754045801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=112025114754045801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/112025114754045801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/112025114754045801'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/07/interface-config-on-macosx.html' title='interface config on MacOSX'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-111661974534054404</id><published>2005-05-20T22:09:00.000+02:00</published><updated>2006-07-02T00:52:38.353+02:00</updated><title type='text'>indispensable ZSH</title><content type='html'>&lt;a href="http://zshwiki.org/"&gt;Wiki&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zsh.sourceforge.net/FAQ/"&gt;FAQ&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zsh.sunsite.dk/Guide/zshguide.html"&gt;The User Guide by Peter Stephenson&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zsh.dotsrc.org/"&gt;.source&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.aperiodic.net/phil/prompt/"&gt;prompt example&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cbbrowne.com/info/unixshells.html"&gt;Shellllllssssss ...&lt;/a&gt;&lt;br /&gt;&lt;a href="http://strcat.de/zsh/"&gt;dope's zsh-lover page&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.grml.org/zsh/zsh-lovers.html"&gt;zsh-lovers&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.acm.uiuc.edu/workshops/zsh/"&gt;Zsh Workshop&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;!$    &lt;span style="font-style: italic;"&gt;# last argument&lt;/span&gt;&lt;br /&gt;!$:h  &lt;span style="font-style: italic;"&gt;# last argument, strip one level&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;cd !?ls&lt;tab&gt;   &lt;span style="font-style: italic;"&gt;#get command and parameters of a previous ls command&lt;/span&gt;&lt;br /&gt;cd !?ls?:*&lt;tab&gt;   &lt;span style="font-style: italic;"&gt;#get (just) parameters of a previous ls command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;!:0 &lt;span style="font-style: italic;"&gt;# is the previous command name&lt;/span&gt;&lt;br /&gt;!^, !:2, !:3, ..., !$ &lt;span style="font-style: italic;"&gt;# are the arguments&lt;/span&gt;&lt;br /&gt;!* &lt;span style="font-style: italic;"&gt;# is all the arguments&lt;/span&gt;&lt;br /&gt;!# &lt;span style="font-style: italic;"&gt;# get command + arguments but last one&lt;/span&gt;&lt;br /&gt;!-2, !-3, ... &lt;span style="font-style: italic;"&gt;# are earlier commands&lt;/span&gt;&lt;br /&gt;!-2^, !-2:2, !-2$, !-2*&lt;br /&gt;&lt;br /&gt;cd !$:h   &lt;span style="font-style: italic;"&gt;# remove file name&lt;/span&gt;&lt;br /&gt;cat !!:t   &lt;span style="font-style: italic;"&gt;# only file name&lt;/span&gt;&lt;br /&gt;$ for i in **/*.gif; convert $i $i:r.jpg   &lt;span style="font-style: italic;"&gt;# Convert images (foo.gif =&gt; foo.jpg)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;print ^x*         &lt;span style="font-style: italic;"&gt;# list all but x*&lt;/span&gt;&lt;br /&gt;print (x*~x3|x5)    &lt;span style="font-style: italic;"&gt;# list files x* except x3 and x5&lt;/span&gt;&lt;br /&gt;print *.c(:r)       &lt;span style="font-style: italic;"&gt;# strip suffix&lt;/span&gt;&lt;br /&gt;print *(m0)         &lt;span style="font-style: italic;"&gt;# files modified today&lt;/span&gt;&lt;br /&gt;print *(n:t)        &lt;span style="font-style: italic;"&gt;# order by name strip directory&lt;/span&gt;&lt;br /&gt;print **/*(On:t)    &lt;span style="font-style: italic;"&gt;# recursive reverse order by name, strip director&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;file =ls   &lt;span style="font-style: italic;"&gt;# execute file command against /usr/bin/ls or /bin/ls in $PATH&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;autoload zmv  &lt;span style="font-style: italic;"&gt;# zcp&lt;/span&gt;&lt;br /&gt;zmv '* *' '$f:gs/ /_'   &lt;span style="font-style: italic;"&gt;# Replace spaces in filenames with a underline&lt;/span&gt;&lt;br /&gt;zmv -W '*.sh' '*.pl'    &lt;span style="font-style: italic;"&gt;# Change the suffix from *.sh to *.pl&lt;/span&gt;&lt;br /&gt;zmv '(*).txt' '$1.log'  &lt;span style="font-style: italic;"&gt;# replace all foo.txt to foo.log&lt;/span&gt;&lt;br /&gt;zmv '(*)' '${(L)1}'     &lt;span style="font-style: italic;"&gt;# lowercase&lt;/span&gt;&lt;br /&gt;zmv '(*)' '${(U)1}'    &lt;span style="font-style: italic;"&gt;# uppercase&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;M-q  push-line     &lt;span style="font-style: italic;"&gt;# remember the line in the stack&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;print -z          &lt;span style="font-style: italic;"&gt;# print the line to command line directly for editing&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-111661974534054404?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/111661974534054404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=111661974534054404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/111661974534054404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/111661974534054404'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/05/indispensable-zsh.html' title='indispensable ZSH'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-111167242667055330</id><published>2005-03-24T14:36:00.000+01:00</published><updated>2005-03-24T14:53:46.673+01:00</updated><title type='text'>Plan9 2c tips: network, Unicode, keyboard, C compiling</title><content type='html'>Network settings, get IP, bring up DNS settings, set namespace:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    bind -a '#I0' /net&lt;br /&gt;&lt;br /&gt;    ip/ipconfig   # use DHCP server to get IP&lt;br /&gt;&lt;br /&gt;    ndb/cs        #&lt;br /&gt;    ndb/dns -r    # name resolution servers&lt;br /&gt;&lt;br /&gt;    cat /net/ndb  # check network settings&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Unicode in Plan9:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    str() -&amp;gt; utf()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Rune is 16bit Unicode representation.&lt;br /&gt;&lt;br /&gt;The equivalent of Ctrl-C is DEL.&lt;br /&gt;&lt;br /&gt;Typing Cyrillic symbols may be via Alt combinaations:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    Alt @ya  --- я&lt;br /&gt;    Alt @a   --- а&lt;br /&gt;    Alt @v   --- в&lt;br /&gt;    ...&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Unicode translation table for Cyrillic is from 0400 to 0500:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    0430 --- а     0410 --- А&lt;br /&gt;    044f --- я     042f --- я&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;unicode command may be used to translate symbols to codes and back:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    unicode я      # gives 044f&lt;br /&gt;    unicode 044f   # gives я&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Compiling on i386 (platform code 8):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    8c -FNw a.c      # produces a.8&lt;br /&gt;    8l -o a.out a.8  # link object file to a.out executable&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-111167242667055330?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/111167242667055330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=111167242667055330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/111167242667055330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/111167242667055330'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/03/plan9-2c-tips-network-unicode-keyboard.html' title='Plan9 2c tips: network, Unicode, keyboard, C compiling'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-111153452671803648</id><published>2005-03-23T00:28:00.000+01:00</published><updated>2005-03-23T00:38:51.990+01:00</updated><title type='text'>AIX VA C/C++ heap debugger memdbg</title><content type='html'>Libraries to link with:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;libhu.a&lt;br /&gt;libhm.a&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Compiler option to trigger compilation with memory debugging builtin:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;-qheapdebug&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Available functions under DBX:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;_heap_check()&lt;br /&gt;_dump_allocated()&lt;br /&gt;_dump_allocated_delta()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Functions available from C/C++ to improve results of debugging with memdbg:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;_uheap()&lt;br /&gt;_uheapset()&lt;br /&gt;_uheapwalk()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The fast way to change malloc behaviour is to introduce shell variable:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;MALLOCTYPE=3.1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Means switch to legacy implementation of malloc, BSD style aka power of 2 boundaries allocations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-111153452671803648?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/111153452671803648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=111153452671803648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/111153452671803648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/111153452671803648'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/03/aix-va-cc-heap-debugger-memdbg.html' title='AIX VA C/C++ heap debugger memdbg'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110859276876953711</id><published>2005-02-16T23:12:00.000+01:00</published><updated>2005-03-18T12:57:41.233+01:00</updated><title type='text'>dmalloc patch for C++ "non throw" new()/delete() operators</title><content type='html'>DMALLOC patch, it helps to replace C++ memory operators&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;new(std::nothrow)()&lt;br /&gt;new(std::nothrow)()[]&lt;br /&gt;delete(std::nothrow)()&lt;br /&gt;delete(std::nothrow)()[]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It has been tested on AIX with VA C++ 5.0 however it shall be all right on most C++ compilers as well.  Just update VACPP depended section according to the compiler/libs implementation.  March 2005, GCC 3 had been tested with no problem at all and many other compilers shall work all right.&lt;br /&gt;&lt;br /&gt;The patch is &lt;a href="http://home.tiscali.no/oleg/dmallocc.cc"&gt;here&lt;/a&gt;.  Compile the source and include object file into &lt;span style="font-family: courier new;"&gt;libdmalloccxx.a &lt;/span&gt;&lt;span style="font-family: courier new;"&gt;&lt;/span&gt;and&lt;span style="font-family: courier new;"&gt; libdmallocthcxx.a&lt;/span&gt;.&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110859276876953711?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110859276876953711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110859276876953711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110859276876953711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110859276876953711'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/dmalloc-patch-for-c-non-throw.html' title='dmalloc patch for C++ &quot;non throw&quot; new()/delete() operators'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824781681484175</id><published>2005-02-12T23:35:00.000+01:00</published><updated>2005-02-12T23:36:56.816+01:00</updated><title type='text'>Tape Drive 3590 commands &amp; utils</title><content type='html'>Get the status of the tape:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;    tapeutil -f /dev/rmt0 status&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Query tape position:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;    tapeutil -f /dev/rmt0 qrypos&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824781681484175?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824781681484175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824781681484175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824781681484175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824781681484175'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/tape-drive-3590-commands-utils.html' title='Tape Drive 3590 commands &amp; utils'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824771537166589</id><published>2005-02-12T23:29:00.000+01:00</published><updated>2005-02-12T23:43:09.663+01:00</updated><title type='text'>verify a file in GEOSHARE format</title><content type='html'>There is a legacy utility called &lt;span style="font-family: courier new;"&gt;dlisu&lt;/span&gt; from Schlumberger.  It prints a GEOSHARE file into the stdout in tree format of tags.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824771537166589?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824771537166589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824771537166589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824771537166589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824771537166589'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/verify-file-in-geoshare-format.html' title='verify a file in GEOSHARE format'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824734486487042</id><published>2005-02-12T23:28:00.000+01:00</published><updated>2005-02-12T23:29:04.866+01:00</updated><title type='text'>teTeX cyrillic support</title><content type='html'>&lt;pre&gt;&lt;br /&gt;    \\usepackage[a4paper,12pt]{article}&lt;br /&gt;    \\usepackage[T2A]{fontenc}&lt;br /&gt;    \\usepackage[koi8-r]{inputenc}&lt;br /&gt;    \\usepackage[russian]{babel}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824734486487042?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824734486487042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824734486487042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824734486487042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824734486487042'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/tetex-cyrillic-support.html' title='teTeX cyrillic support'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824725285047186</id><published>2005-02-12T23:25:00.000+01:00</published><updated>2005-02-12T23:27:32.853+01:00</updated><title type='text'>wget to archive whole site or a web page recursively</title><content type='html'>&lt;pre&gt;    wget -rpkl 99 http://iis1.cps.unizar.es/Oreilly/index.htm&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-family: courier new;"&gt;-l 99&lt;/span&gt;   is a depth of recursion.&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;-k&lt;/span&gt; and &lt;span style="font-family: courier new; font-style: italic;"&gt;-p&lt;/span&gt;  garantee links updates and all nessesary files download like pictures, sound and CSS.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 153);"&gt;Use full path including index.html!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824725285047186?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824725285047186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824725285047186' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824725285047186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824725285047186'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/wget-to-archive-whole-site-or-web-page.html' title='wget to archive whole site or a web page recursively'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824711434335993</id><published>2005-02-12T23:20:00.000+01:00</published><updated>2005-02-12T23:25:14.346+01:00</updated><title type='text'>AIX linker &amp; compiler useful flags</title><content type='html'>Dynamic linker flags:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;   export LDR_CNTRL=MAXDATA=0x80000000&lt;br /&gt;   start_process_here&lt;br /&gt;   unset LDR_CNTRL&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;IBM VA C/C++ flags:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-family: courier new;"&gt;-qsource&lt;/span&gt;            creates .lst file right after CPP.&lt;br /&gt;&lt;span style="font-style: italic; font-family: courier new;"&gt;-qshowinc&lt;/span&gt;            prints the list of header files included.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-family: courier new;"&gt;-bsmap:my_name_of_map_file&lt;/span&gt;   &lt;/span&gt; creates a log of all mapped symbols, sorted&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;-bmap:my_name_of_map_file&lt;/span&gt;    creates a log of all mapped symbols, unsorted&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;-bsxref:my_name_of_cross_ref&lt;/span&gt;    creates a log of all cross referenced symbols, sorted&lt;br /&gt;&lt;span style="font-style: italic; font-family: courier new;"&gt;-bxref:my_name_of_cross_ref&lt;/span&gt;    creates a log of all cross referenced symbols, unsorted&lt;br /&gt;&lt;span style="font-style: italic; font-family: courier new;"&gt;-bscalls:my_name_of_calls_ref&lt;/span&gt;    creates a log of calls aka reverse cross references, unsorted&lt;br /&gt;&lt;span style="font-style: italic; font-family: courier new;"&gt;-bcalls:my_name_of_calls_ref&lt;/span&gt;    creates a log of calls aka reverse cross references, sorted&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;/usr/include/syms.h&lt;/span&gt; has macro defintions and explains the content of log files produced by the commands shown above.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824711434335993?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824711434335993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824711434335993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824711434335993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824711434335993'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/aix-linker-compiler-useful-flags.html' title='AIX linker &amp; compiler useful flags'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824677572693261</id><published>2005-02-12T23:01:00.000+01:00</published><updated>2005-02-12T23:44:47.326+01:00</updated><title type='text'>Seismic Uni* tips</title><content type='html'>Generate new binary and ASCII headers:&lt;br /&gt;&lt;pre&gt;    cat my.sgy | segyread tape=- bfile=/tmp/binary hfile=/tmp/header | segyhdrs endian=0 bfile=./my.binary hfile=my.header ns=1750 dt=4000 jobid=1111 lino=1111 reno=1234&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;endian=0&lt;/tt&gt; is a i386 system, for example Linux&lt;br /&gt;&lt;tt&gt;ns&lt;/tt&gt; number of samples per trace&lt;br /&gt;&lt;tt&gt;dt&lt;/tt&gt; sample interval&lt;br /&gt;&lt;tt&gt;jobid&lt;/tt&gt;, &lt;tt&gt;lino&lt;/tt&gt;, &lt;tt&gt;reno&lt;/tt&gt; must be taken from the original SEGY file if necessary.&lt;br /&gt;&lt;br /&gt;Binary header content could be printed in an ASCII form called parameters:&lt;br /&gt;&lt;pre&gt;    cut ./my.sgy | segyread tape=- bfile=/tmp/binary hfile=/tmp/header&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;SEGY file create from an existing one.  Some filters could be inserted between to modify the data.&lt;br /&gt;&lt;pre&gt;    cut ./my.sgy | segyread tape=- bfile=/tmp/binary hfile=/tmp/header | segywrite endian=0 hfile=./all.header bfile=./1111.binary verbose=1 buff=0 tape=./1.sgy&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Print trace headers or/and file header in ASCII:&lt;br /&gt;&lt;pre&gt;    cut ./my.sgy | segyread tape=- bfile=/tmp/binary hfile=/tmp/header | suascii bare=2&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;bare=2&lt;/tt&gt; is for headers&lt;br /&gt;&lt;tt&gt;bare=1&lt;/tt&gt; prints traces amplitudes&lt;br /&gt;&lt;tt&gt;bare=0&lt;/tt&gt; both traces amplitudes and headers&lt;br /&gt;&lt;br /&gt;Among others SUMAX and SUMEAN to print max/min and a global weigth.  SURESAMP allows to resample seismic traces by sample rate and number of samples.&lt;br /&gt;&lt;br /&gt;Print trace header field by key:&lt;br /&gt;&lt;pre&gt;    cut my.sgy | segyread tape=- bfile=/tmp/binary hfile=/tmp/header | sugethw tracl&lt;/pre&gt;&lt;br /&gt;&lt;tt&gt;tracl&lt;/tt&gt; is a keyword to print from trace header, here some tips:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;tracl is a trace sequence number within line.      [1]&lt;br /&gt;tracr is a trace sequence number within reel/file. [4]&lt;br /&gt;fldr is a field record number aka inline           [9]&lt;br /&gt;tracf is a trace number with field record.         [13]&lt;br /&gt;ep is ShortPoint aka energy source point           [17]&lt;br /&gt;cdp is ensemble point                              [21]&lt;br /&gt;cdpt is trace number within CDP ensemble           [25]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Get a help aka list of all SU commands/utils:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;    suhelp&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Look for a entry of &lt;i&gt;string&lt;/i&gt; in SU docs:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;    sufind find_a_string&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Grep a name from the list with short description:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;    suname | fgrep -i ascii&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 153);"&gt;Remember!  The most of all names are capitalized.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824677572693261?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824677572693261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824677572693261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824677572693261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824677572693261'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/seismic-uni-tips.html' title='Seismic Uni* tips'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824568725044319</id><published>2005-02-12T22:58:00.000+01:00</published><updated>2005-02-12T23:01:27.253+01:00</updated><title type='text'>Emacs shortcut to remember</title><content type='html'>c-mode ifdef-hiding minor mode:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;C-c @ h&lt;/span&gt;           hide all ifdefs&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;C-c @ s&lt;/span&gt;&lt;span style="font-style: italic;"&gt;          &lt;/span&gt; show all ifdefs&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;C-c @ d&lt;/span&gt;&lt;span style="font-style: italic;"&gt;          &lt;/span&gt; define a macro to hide ifdefs&lt;br /&gt;&lt;span style="font-family: courier new; font-style: italic;"&gt;C-c @ u&lt;/span&gt;&lt;span style="font-style: italic;"&gt;          &lt;/span&gt; undefine a macro to unhide ifdefs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824568725044319?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824568725044319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824568725044319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824568725044319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824568725044319'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/emacs-shortcut-to-remember.html' title='Emacs shortcut to remember'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110824526123885950</id><published>2005-02-12T22:40:00.000+01:00</published><updated>2005-02-12T22:54:21.243+01:00</updated><title type='text'>default malloc debugging capabilities in GNU libc</title><content type='html'>The notes from GNU libc manuals.&lt;br /&gt;&lt;br /&gt;Memory checking in a program can be enabled as automatic or manual. The former is one by setting the environment variable &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt;:&lt;br /&gt;&lt;pre&gt;MALLOC_CHECK_=1 my_prog&lt;/pre&gt;&lt;br /&gt;This mechanism is able to catch a fair number of boundary overflows and, in some cases, to protect the program from crashing. The action undertaken when a fault is detected depends on the value of &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt;: 1 prints a warning message to stderr but does not abort the program; 2 aborts the program without any output; and 3 combines the effects of 1 and 2.  &lt;tt&gt;MALLOC_CHECK_=3&lt;/tt&gt; must produce a core file and some error messages into STDERR.&lt;br /&gt;&lt;br /&gt;From the glibc docs:&lt;br /&gt;&lt;br /&gt;You can ask malloc to check the consistency of dynamic storage by using the &lt;tt&gt;mcheck&lt;/tt&gt; function. This function is a GNU extension, declared in `mcheck.h'.&lt;br /&gt;       &lt;br /&gt;Function: &lt;tt&gt;int mcheck (void (*abortfn) (enum mcheck_status status))&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;         Calling mcheck tells malloc to perform occasional consistency checks. These will catch things such as writing past the end of a block that was allocated with malloc. The abortfn argument is the function to call when an inconsistency is found. If you supply a null pointer, then mcheck uses a default function which prints a message and calls abort (see section Aborting a Program). The function you supply is called with one argument, which says what sort of inconsistency was detected; its type is described below.&lt;br /&gt;            &lt;br /&gt;It is too late to begin allocation checking once you have allocated anything with malloc. So mcheck does nothing in that case. The function returns -1 if you call it too late, and 0 otherwise (when it is successful).&lt;br /&gt;            &lt;br /&gt;The easiest way to arrange to call mcheck early enough is to use the option &lt;i&gt;-lmcheck&lt;/i&gt; when you link your program; then you don't need to modify your program source at all. Alternately you might use a debugger to insert a call to mcheck whenever the program is started, for example these gdb commands will automatically call mcheck whenever the program starts:&lt;br /&gt;&lt;pre&gt;(gdb) break main&lt;br /&gt;Breakpoint 1, main (argc=2, argv=0xbffff964) at whatever.c:10&lt;br /&gt;(gdb) command 1&lt;br /&gt;Type commands for when breakpoint 1 is hit, one per line.&lt;br /&gt;End with a line saying just "end".&lt;br /&gt;&gt;call mcheck(0)&lt;br /&gt;&gt;continue&lt;br /&gt;&gt;end&lt;br /&gt;(gdb) ...&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Another possibility to check for and guard against bugs in the use of malloc, realloc and free is to set the environment variable &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt;. When &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt; is set, a special (less efficient) implementation is used which is designed to be tolerant against simple errors, such as double calls of free with the same argument, or overruns of a single byte (off-by-one bugs). Not all such errors can be proteced against, however, and memory leaks can result. If &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt; is set to 0, any detected heap corruption is silently ignored; if set to 1, a diagnostic is printed on stderr; if set to 2, abort is called immediately. This can be useful because otherwise a crash may happen much later, and the true cause for the problem is then very hard to track down.&lt;br /&gt;       &lt;br /&gt;So, what's the difference between using &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt; and linking with &lt;i&gt;-lmcheck&lt;/i&gt;? MALLOC_CHECK_ is orthognal with respect to &lt;i&gt;-lmcheck&lt;/i&gt;. &lt;i&gt;-lmcheck&lt;/i&gt; has been added for backward compatibility. Both &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt; and &lt;i&gt;-lmcheck&lt;/i&gt; should uncover the same bugs - but using &lt;tt&gt;MALLOC_CHECK_&lt;/tt&gt; you don't need to recompile your application.&lt;br /&gt;&lt;br /&gt;If you want to check the whole heap and not only one block, you can call &lt;tt&gt;mcheck_check_all()&lt;/tt&gt; to walk through all the active blocks. You also can instruct the memory management routines to use &lt;tt&gt;mcheck_check_all()&lt;/tt&gt;, instead of checking only the current block by initializing &lt;tt&gt;mcheck_pedantic()&lt;/tt&gt; instead of &lt;tt&gt;mcheck()&lt;/tt&gt;. Be aware, though, that this approach is rather time consuming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824526123885950?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824526123885950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824526123885950' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824526123885950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824526123885950'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/default-malloc-debugging-capabilities.html' title='default malloc debugging capabilities in GNU libc'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9494257.post-110824429893106630</id><published>2005-02-12T22:34:00.000+01:00</published><updated>2005-02-12T22:38:18.933+01:00</updated><title type='text'>legacy Purify 4.X strange license messages</title><content type='html'>It is very confusing to get some error messages from a product and immediately the explanation how to avoid it! Here is the message from Purify 4.X on Solaris:&lt;br /&gt;&lt;pre&gt;Purify: Error: Couldn't get a license. Exiting.&lt;br /&gt;To run the program with Purify functionality disabled,&lt;br /&gt;use the command&lt;br /&gt;&lt;br /&gt; (csh) setenv PURIFYOPTIONS "-continue-without-license=yes $PURIFYOPTIONS"&lt;br /&gt; (ksh) PURIFYOPTIONS="-continue-without-license=yes $PURIFYOPTIONS"; export PURIFYOPTIONS&lt;br /&gt;&lt;br /&gt;The options section of the manual has more information.&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110824429893106630?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110824429893106630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110824429893106630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824429893106630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110824429893106630'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/legacy-purify-4x-strange-license.html' title='legacy Purify 4.X strange license messages'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110811838169569749</id><published>2005-02-11T11:34:00.000+01:00</published><updated>2005-02-11T12:36:36.533+01:00</updated><title type='text'>Install Oracle 9.2 AMD64 on x86-64 RedHat WS 3.0 Update 4</title><content type='html'>Installing Oracle 9i AMD64 on x86-64 has a problem on RedHat WS 3.0 Update 4 x86-64 version. It stalls during naeet.o linking. To avoid that happen set:&lt;br /&gt;&lt;pre&gt;export LD_ASSUME_KERNEL=2.4.1&lt;/pre&gt;&lt;br /&gt;before launching Oracle installer. It is something with Java VM does not support Native POSIX Treads, so LD_ASSUME_KERNEL=2.4.1 tells the dynamic linker to use &lt;span style="font-style: italic;"&gt;legacy&lt;/span&gt; implementation of Linux threads.&lt;br /&gt;&lt;br /&gt;It has been something about GCC version of 2.96 shall be used during Oracle installation but it looks like all right  to me with default 3.2.&lt;br /&gt;&lt;br /&gt;Oracle installation notes has a list of compatibility packages had to be deployed prior to the installation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110811838169569749?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110811838169569749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110811838169569749' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110811838169569749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110811838169569749'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/02/install-oracle-92-amd64-on-x86-64.html' title='Install Oracle 9.2 AMD64 on x86-64 RedHat WS 3.0 Update 4'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110702106670268699</id><published>2005-01-29T18:32:00.000+01:00</published><updated>2005-01-29T18:57:59.230+01:00</updated><title type='text'>dmalloc</title><content type='html'>Introduce a shell function first (KSH/BASH/ZSH):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;dmalloc () {&lt;br /&gt; eval `command dmalloc -b $*`&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Link application with &lt;span style="font-family:courier new;"&gt;-ldmallocthc++&lt;/span&gt; (C++ with threads) or &lt;span style="font-family:courier new;"&gt;-ldmalloc&lt;/span&gt; (for C only) at the end of the list of libraries.&lt;br /&gt;&lt;br /&gt;Activate your shell environment:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;dmalloc -l dmalloc.log -i 100 debug|verbose|none|run|low|med|high|all&lt;br /&gt;&lt;/pre&gt; &lt;ul&gt;   &lt;li&gt;-i                        check the heasp every 100 allocations/deallocations.&lt;/li&gt;   &lt;li&gt;-l  my log file name, may be omitted.&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:courier new;"&gt;debug|...&lt;/span&gt; the predefined tag of test methods, it is defined in &lt;span style="font-family:courier new;"&gt;~/.dmallocrc&lt;/span&gt; Standard predefined tags: &lt;span style="font-family:courier new;"&gt;none, run, low, med, high, all&lt;/span&gt; but &lt;span style="font-family:courier new;"&gt;debug&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;verbose&lt;/span&gt; are customized! see &lt;span style="font-family:courier new;"&gt;~/.dmallocrc&lt;/span&gt;.&lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;dmalloc installs a shell variable to the current environment:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;DMALLOC_OPTIONS=debug=0x26f07c01,inter=100,log=dmalloc.log&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110702106670268699?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110702106670268699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110702106670268699' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110702106670268699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110702106670268699'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/01/dmalloc.html' title='dmalloc'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110701877056555077</id><published>2005-01-29T18:04:00.000+01:00</published><updated>2005-01-29T19:01:03.256+01:00</updated><title type='text'>GnuPG mini howto</title><content type='html'>Encrypt a file:&lt;br /&gt;&lt;pre&gt;gpg --armor --encrypt --recipient &lt;my_unix_user_name&gt; --yes "my_file_name" &lt;/my_unix_user_name&gt;&lt;/pre&gt;&lt;br /&gt;Decrypt a file:&lt;br /&gt;&lt;pre&gt;gpg --armor --decrypt "my_file_name"&lt;/pre&gt;&lt;br /&gt;What works for GnuPG with --keyserver-options honor-http-proxy.&lt;br /&gt;&lt;pre&gt;export http_proxy=http://proxy.mycompany.com:8080/&lt;/pre&gt;&lt;br /&gt;Search for keys on a server:&lt;br /&gt;&lt;pre&gt;gpg --keyserver pgp.mit.edu --keyserver-options honor-http-proxy   --search-keys "my@mail.com"&lt;/pre&gt;&lt;br /&gt;Import my public key:&lt;br /&gt;&lt;pre&gt;gpg --keyserver pgp.mit.edu --keyserver-options honor-http-proxy   --send-key "my@mail.com"&lt;/pre&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110701877056555077?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110701877056555077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110701877056555077' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110701877056555077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110701877056555077'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2005/01/gnupg-mini-howto.html' title='GnuPG mini howto'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110254915772426674</id><published>2004-12-09T00:32:00.000+01:00</published><updated>2005-03-23T00:21:36.520+01:00</updated><title type='text'>AProbe tricks</title><content type='html'>Limit shared segment to 128M with 10 APD ring files:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    aprobe -v -sp 134217728 -n 10 ...&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;TSM conflicts with AProbe over the shared memory segments. TSM could allocate all shared memory segments available. It looks like AIX 4.3 has a problem with TSM &lt;4.1&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9494257-110254915772426674?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110254915772426674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110254915772426674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110254915772426674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110254915772426674'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2004/12/aprobe-tricks.html' title='AProbe tricks'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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-9494257.post-110237639833137713</id><published>2004-12-07T00:29:00.000+01:00</published><updated>2005-01-26T23:53:25.970+01:00</updated><title type='text'>AIX &gt;=5.1, what is the kernel mode?  Is it 32bit or 64bit?</title><content type='html'>Run as a root (execution to other users may not be available):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;        bootinfo -K&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It will return 32 or 64 string.&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/9494257-110237639833137713?l=o1e9.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://o1e9.blogspot.com/feeds/110237639833137713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9494257&amp;postID=110237639833137713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110237639833137713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9494257/posts/default/110237639833137713'/><link rel='alternate' type='text/html' href='http://o1e9.blogspot.com/2004/12/aix-51-what-is-kernel-mode-is-it-32bit.html' title='AIX &gt;=5.1, what is the kernel mode?  Is it 32bit or 64bit?'/><author><name>Oleg Cherkasov</name><uri>http://www.blogger.com/profile/16297482728735319236</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>
