先日は cron.monthly に設定したけど、もうすり抜けてきたので cron.weekly に置いた。
zee を忘れていた。
--- zee.orig 2003-11-13 16:57:20.000000000 +0900 +++ zee 2007-01-30 22:36:13.000000000 +0900 @@ -14,6 +14,7 @@ require 5.004; use strict; use IO::File; +use Encode; # default directory where dictionaries are in my $DICT_DIR = "/usr/share/dict"; @@ -70,6 +71,7 @@ if ($fh_pager->open("| $PAGER")) { my $fh_current = select $fh_pager; for my $line (@result) { + Encode::from_to( $line, "euc-jp", "utf8" ); print $line, "\n"; } $fh_pager->close; @@ -78,6 +80,7 @@ } } for my $line (@result) { + Encode::from_to( $line, "euc-jp", "utf8" ); print $line, "\n"; } } @@ -156,6 +159,7 @@ if (defined $ARGV[0]) { $query = shift @ARGV; + Encode::from_to( $query, "utf8", "euc-jp" ); } else { print "usage: zee [-r] query [dictionary(s)]\n", " -r: use Perl's regular expressions to search\n";
超手抜き。
また、audacious でファイル追加しようとしたらファイル名が化けまくってたので、
export G_FILENAME_ENCODING=@locale,UTF-8,EUC-JP,SHIFT_JIS
を ~/.zshrc に追加。
libuim-data: registers unusable "tutcode" module に対応していただいた。
前 | 1970年 1月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)