piyo's computer tips
	
  
   
   
        
   
       
   
Stop Win XP from Searching Within ZIP Files
   Windows XPOne annoying thing is when Windows XP searches within ZIP files. Here is some information on how to turn off this function.
regsvr32 /s /u zipfldr.dll
regsvr32 /s /u cabview.dll
After this it is necessary to reboot the computer.
 
   
     
 
   
        
   
       
   
Getting Debian up and running on colinux 0.6.2
   Debian, ColinuxJust a bunch of packages that are necessary to me when using the new Debian colinux image, 
Debian-3.0r2.ext3-mit-backports.1gb.bz2.
apt-get install sudo ssh emacs21-nox emacs21-el vim screen subversionOf course you need the following in your 
/etc/apt/sources.list:
# subversion backports
# http://www.backports.org/package.php?search=subversion
# 2005-02-20T00:04:03+0900
deb http://www.backports.org/debian/ woody subversion
# emacs backports
# http://www.backports.org/package.php?search=emacs
# 20050219
deb http://www.backports.org/debian/ woody emacs21
# zsh backports
# http://www.backports.org/package.php?search=zsh
# 2005-02-20T00:00:42+0900
deb http://www.backports.org/debian/ woody zsh
Excellent!
 
   
     
 
   
       
   
Shortcuts for your Windows Run Dialog Box
   Windows XPCan you remember 
control appwiz.cpl to open the Add/Remove Control Panel in Windows XP? I thought not.
 
   
     
 
   
        
   
       
   
/ABOVENORMAL Parsec47
   Windows XP, GamesWindows XP makes my games jittery. Solve that by making the games' default priority "Above Normal". No, we don't use Task Manager, we start the process off right:
cd games\p47
start /MIN /ABOVENORMAL p47.exe -reverse -nosound -windowFinally, a non-jumpy intentional slowdown game of Parsec 47. Rock!
 
   
     
 
   
        
   
       
   
Stuck using a Japanese keyboard on Colinux?
   Colinux, JapaneseYou use a Japanese PC110 keyboard in Colinux. Try pressing the backslash key ('\'). Frustrated?
You can set the keyboard map in 
Debian using this command:
apt-get install console-data console-toolsdpkg-reconfigure console-data 
   
     
 
   
       
   
WinSCP
   Windows, SSHWe need a SCP/SFTP client that works like Windows Explorer. Thankfully, WinSCP does the job.
 
   
     
 
   
        
   
       
   
GNU Emacs 21.4
   Text Editing, GNU EmacsOMG it's out. GNU Emacs 21.4. Does this mean we get Unicode goodness now?!?
 
   
     
 
   
        
   
       
   
Regex Coach
   Regular Expressions
I pride myself on knowing a bit more about Regular Expressions (正規表現) than the average person. I usually write my renames commands with braces (mv myfile.txt{,.org}). I even have the seminal book Mastering Regular Expressions, 1st and 2nd edition. Now I hear there's a regex tester made in Common Lisp called 
The Regex Coach. The font display needs work but it is pretty decent.
Don't forget M-x re-builder RET in your favorite Emacs 21.
src: 
Easy Regular Expression Development
 
   
     
 
   
        
   
       
   
Colinux 0.6.2
   Colinux
My favorite obsession has just upgraded to Linux 2.6.x kernel. Yes.
 
   
     
 
   
        
   
       
   
ipod 40GB, power
   iPod,Windows
(original draft 2004/05)
If you wanna use a iPod as an external harddisk on a 4pin firewire Windows laptop, things are not easy. I ordered a 4Power connector. It works as advertised!
Also, when using iPod, try to make smart playlists that are "small", perhaps 500 songs or less so that the iPod doesn't pause when opening it.
 
   
     
 
   
       
   
Sites that post computer tips
   Understanding computers
Take a look at this new site called 
LifeHacker. It has interesting tips that show you more computer stuff in more detail than your regular 
LockerGnome entry. Of course if you want the real deal with Windows, you go to 
Old New Thing.
 
   
     
 
   
       
   
Don't forget to add swap
   Linux,Colinux
You shouldn't forget to add swap to your Colinux instance, especially if you only give it sub-100MBs of real RAM. Here's how your /etc/fstab should look like for the swap entry:
/dev/cobd0 / ext2 defaults 0 1
/dev/cobd1 none swap sw 0 0
proc /proc proc defaults 0 0
Of course you need to define it in your colinux.xml file as well:
<block_device index="1" path="\DosDevices\c:\coLinux\swap_256Mb" enabled="true" /> 
   
     
 
   
       
   
Every windows needs a loopback interface
   Windows, Colinux
I'm sure in your travels you find a need for a loopback interace, for example, using Colinux without a network cable.
Here's something interesting. Instead of 
manually installing the Microsoft Loopback Adapter with your mouse and such, why not use a command line utility?
Devcon
This is the way to install it using Devcon:
devcon -r install Windows directory\Inf\Netloop.inf *MSLOOP
Oh, BTW, it looks like you need to restart the computer in order for Colinux to recognize the new loopback interface.
src: 
http://support.microsoft.com/?kbid=311272
 
   
     
 
 
	How I keep remembering new ways of using computers. My (computer-centric) new-optimization learning blog.