<$BlogRSDUrl$>

Thursday, February 12, 2009

Cygwin environment variable


For cygwin 1.7: ntsec codepage:utf8
For cygwin 1.5: tty ntsec

Monday, February 09, 2009

Zotero


Some kind of end-note software. Looks interesting.

http://www.zotero.org/

Changing my system name


I changed the name of my W2K computer (after 5 years), to conform to our departmental naming scheme. Now, firefox is no longer the default browswer. I did the following to force it:

http://support.mozilla.com/en-US/kb/Setting+Firefox+as+the+default+browser+does+not+work

But it bothers me that I have to do this. Why?

Windows 2000 reboot vs. blue screen


Sometimes you want an auto-reboot, sometimes you want a blue screen. How to choose...

http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/RegistryTips/Miscellaneous/AutomaticRebootafterLockuporBSOD.html

Monday, February 02, 2009

windows+unicode+perl+metaflac+lame


Wow, it is a struggle.

I'm trying to get my flac -> mp3 converter to play nicely with unicode. What is happening is that I have filenames with characters that cannot be represented in the current locale.

Applocale actually does work on Vista:

http://www.vistax64.com/vista-general/8653-applocale.html

Here is how to specify the command line options of AppLocale:

http://www.mydigitallife.info/2007/08/13/run-applocale-with-support-multiple-languages-ansi-codepage-trick/

You can use chcp to (try to) change the codepage of your cmd.exe

http://technet.microsoft.com/ja-jp/library/cc733037.aspx

There is a separate windows globber:

http://cpansearch.perl.org/src/TATE/File-Glob-Windows-0.1.3/lib/File/Glob/Windows.pm

Cmd.exe has a /U option which pipes Unicode strings instead of locale strings.

Also, perl has a -C option which enables certain unicode options.

http://perldoc.perl.org/perlrun.html

But there remains problems. Grr.

More on cygwin reboots


This turns out to be a more interesting problem than I expected. The cygwin experts (Corinna Vinschen) have helped me understand that there are choices about case sensitivity that may be involved. Here is the relevant reference:
http://cygwin.com/1.7/cygwin-ug-net.html#pathnames-casesensitive
My install (win2k) has ObCaseInsensitive value of 0x1. But in my SFU GUI, Case sensitive lookups is enabled. However, if I uncheck, the registry value doesn't change. Strange...

This page is powered by Blogger. Isn't yours?