01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
$url =~ /^[\w.\/?;'{}\-\+=_()&~%]+$/[2] abort(0xff2b5eec, 0x2b, 0xff2bd9d4, 0x0, 0xa24c0, 0x0), at 0xff239590[3] rb_bug(0xa0468, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8d3fc[4] sigbus(0xa, 0x0, 0xffbe5b58, 0x0, 0x0, 0x0), at 0x713cc---- called from signal handler with signal 10 (SIGBUS) ------[5] st_foreach(), at 0x73de4[6] rb_mark_tbl(0x1, 0x0, 0x32314, 0xff2b5eec, 0xff2bc830, 0xffbe7628), at 0x31df4[7] rb_gc_mark(0x208048, 0xff3fc, 0x32348, 0x0, 0x0, 0xc1bd1), at 0x32314[8] rb_gc_mark(0x1, 0x4, 0x3229c, 0xc16c0, 0x0, 0xc1c31), at 0x32380[9] blk_mark(0x1273b0, 0x271ac, 0x322f8, 0x0, 0xffbe7208, 0xc1c60), at 0x271c4[10] rb_gc_mark(0xeb378, 0xfd690, 0x0, 0xb3400, 0xc0000, 0xff2457ec), at 0x32308[11] mark_entry(0x22ad, 0xeb378, 0x0, 0xfffffff8, 0x0, 0xc19c1), at 0x31dd0[12] st_foreach(0xfc140, 0x31dcc, 0x0, 0x349b8, 0x0, 0xf2c08), at 0x73e1c[13] rb_mark_tbl(0xfc140, 0x4, 0x3229c, 0x0, 0x1, 0x0), at 0x31df4[14] rb_gc_mark(0xfc010, 0x43, 0x1, 0xff2b5eec, 0xff2bc830, 0xffbe7628), at 0x32314[15] mark_entry(0xb21, 0xfc010, 0x0, 0x0, 0x0, 0xc1bd1), at 0x31dd0[16] st_foreach(0xfc2c0, 0x31dcc, 0x0, 0xc16c0, 0x0, 0xc1c31), at 0x73e1c[17] rb_mark_tbl(0xfc2c0, 0x4, 0x3229c, 0x0, 0xffbe7208, 0xc1c60), at 0x31df4[18] rb_gc_mark(0xfbfc8, 0x4, 0x3229c, 0xb3400, 0xc0000, 0xff2457ec), at 0x32314[19] rb_gc_mark(0xfbfb0, 0x4, 0x3229c, 0xfffffff8, 0x0, 0xc19c1), at 0x3229c[20] rb_gc_mark(0xfbf98, 0x43, 0x0, 0x349b8, 0x0, 0xf2c08), at 0x3229c[21] rb_gc_mark(0xfbfe0, 0x843, 0xc19a8, 0x0, 0x1, 0x0), at 0x32268[22] rb_gc_mark(0xf3058, 0x43, 0x1, 0xff2b5eec, 0xff2bc830, 0xffbe7628), at 0x32268[23] rb_gc_mark(0xf3070, 0x4b, 0x21884, 0x0, 0x0, 0xc1bd1), at 0x32268[24] rb_gc_mark(0xc20f8, 0x18, 0xa38, 0xc16c0, 0x0, 0xc1c31), at 0x32268[25] mark_locations_array(0xffbe7af4, 0xffffffff, 0xc1c18, 0x0, 0xffbe7208, 0xc1c60), at 0x31d7c[26] rb_gc_mark_frame(0xffbe6c30, 0xffbe6c30, 0xffbe6c30, 0xb3400, 0xc0000, 0xff2457ec), at 0x32d30[27] rb_gc(0x0, 0x0, 0xffffffff, 0xfffffff8, 0x0, 0xc19c1), at 0x32de0[28] rb_newobj(0x0, 0x3d, 0x0, 0x349b8, 0x0, 0xf2c08), at 0x31b58[29] new_dvar(0x29f9, 0xd3cf0, 0xc19a8, 0x0, 0x1, 0x0), at 0x19040[30] dvar_asgn_internal(0x29f9, 0xd3cf0, 0x1, 0xff2b5eec, 0xff2bc830, 0xffbe7628), at 0x19224[31] dvar_asgn_curr(0x29f9, 0xd3cf0, 0x21884, 0x0, 0x0, 0xc1bd1), at 0x19264[32] assign(0xc1d98, 0xd8550, 0xd3cf0, 0x0, 0x0, 0xc1c31), at 0x21888[33] massign(0xc1d98, 0xd8520, 0xc1c18, 0x0, 0xffbe7208, 0xc1c60), at 0x216bc[34] rb_yield_0(0x0, 0x0, 0x0, 0x0, 0xff2b5eec, 0xff2457ec), at 0x20e7c[35] rb_yield(0xc1c18, 0xd3cf0, 0x0, 0x0, 0x0, 0xc1400), at 0x2144c[36] each_pair_i(0xcef98, 0xd3cf0, 0x0, 0x349b8, 0x0, 0xf2c08), at 0x349d4[37] rb_hash_foreach_iter(0xcef98, 0xd3cf0, 0xffbe6fe0, 0x0, 0x0, 0x0), at 0x33fbc[38] st_foreach(0x4252e8, 0x33f90, 0xffbe6fe0, 0xc20f8, 0x0, 0xffbe7628), at 0x73e1c[39] rb_hash_foreach_call(0xffbe6fe0, 0x34004, 0xc1400, 0xffbe7208, 0xc1c60, 0x4), at 0x34018[40] rb_ensure(0x34004, 0x0, 0x34028, 0xc20f8, 0xc1000, 0xffbe7b80), at 0x22360[41] rb_hash_foreach(0xc20f8, 0x349b8, 0x0, 0xff2b5eec, 0xff2bc830, 0x42582d), at 0x340b4[42] rb_hash_each_pair(0xc20f8, 0x8, 0x22b50, 0x0, 0xff2b5eec, 0xff2457ec), at 0x349f4[43] call_cfunc(0x349e4, 0xc20f8, 0x0, 0x0, 0x0, 0xc1400), at 0x22b50[44] rb_call0(0xf3070, 0xc20f8, 0xdf9, 0x0, 0x0, 0xf2c08), at 0x23288[45] rb_call(0xf3070, 0xc20f8, 0xdf9, 0x0, 0x0, 0x0), at 0x23bec[46] rb_eval(0xffbe7628, 0xd85e0, 0xd8430, 0x0, 0x0, 0xffbe7628), at 0x1dcfc[47] rb_eval(0xc0000, 0xd8418, 0xd8400, 0x1, 0x0, 0xc1c79), at 0x1cc68[48] rb_eval(0xc1d98, 0xd8640, 0x0, 0xd8358, 0xc1000, 0xffbe7b80), at 0x1c168[49] rb_call0(0x0, 0xc1d98, 0xb31, 0x1, 0xffbe8090, 0x15a970), at 0x23734[50] rb_call(0x15aa78, 0xc1d98, 0xb31, 0x1, 0xffbe8090, 0x1), at 0x23bec[51] rb_funcall2(0xc1d98, 0xb31, 0x1, 0xffbe8090, 0xc1000, 0xffbe8970), at 0x23f08[52] rb_obj_call_init(0xc1d98, 0x1, 0xffbe8090, 0x0, 0x0, 0x15a820), at 0x26358[53] rb_class_new_instance(0xc1d98, 0xffbe8090, 0x15aa78, 0xffffffff, 0xffbe89c0, 0xc1400), at 0x263bc[54] call_cfunc(0x26370, 0x15aa78, 0xffffffff, 0x1, 0xffbe8090, 0xc1400), at 0x22b80[55] rb_call0(0xfbfe0, 0x15aa78, 0xc69, 0x1, 0xffbe8090, 0xfadc8), at 0x23288[56] rb_call(0x15aa60, 0x15aa78, 0xc69, 0x1, 0xffbe8090, 0x0), at 0x23bec[57] rb_eval(0x0, 0xd7890, 0xd7908, 0xb3400, 0xa8, 0xffbe957c), at 0x1dcfc[58] rb_eval(0xc88a8, 0xd7878, 0xd7758, 0xfffffff8, 0x0, 0xc3059), at 0x1e6e4[59] rb_eval(0xc88a8, 0xd7758, 0x0, 0xd76b0, 0xc1000, 0xffbe8970), at 0x1c168[60] rb_call0(0x0, 0xc88a8, 0xb81, 0x0, 0x0, 0x15a820), at 0x23734[61] rb_call(0x15aa78, 0xc88a8, 0xb81, 0x0, 0x0, 0x0), at 0x23bec[62] rb_eval(0x0, 0xdcb40, 0xdcb88, 0xb3400, 0x0, 0x0), at 0x1dcfc[63] rb_eval(0x163850, 0xdcb28, 0xdca98, 0xdc888, 0xc1000, 0xc4781), at 0x1e6e4[64] rb_eval(0x163850, 0xdc870, 0xdc858, 0xfffffff8, 0x0, 0xc4271), at 0x1c168[65] rb_eval(0x163850, 0xdcc00, 0x0, 0xdc4c8, 0xa8, 0xffbe957c), at 0x1c168[66] rb_call0(0x0, 0x163850, 0x28f1, 0x2, 0xffbe9798, 0x2802b8), at 0x23734[67] rb_call(0x23db20, 0x163850, 0x28f1, 0x2, 0xffbe9798, 0x0), at 0x23bec[68] rb_eval(0x0, 0x27c2f8, 0x0, 0x27c310, 0x20, 0xffbe9ab4), at 0x1dcfc[69] rb_call0(0x0, 0x15a238, 0x4fc9, 0x1, 0xffbe9cc0, 0x23d430), at 0x23734[70] rb_call(0x23d9e8, 0x15a238, 0x4fc9, 0x1, 0xffbe9cc0, 0x1), at 0x23bec[71] rb_eval(0x15a238, 0x27c598, 0x27c508, 0xfffffff8, 0x0, 0xc4781), at 0x1dcfc[72] rb_eval(0x15a238, 0x27c508, 0x0, 0x27c4c0, 0x20, 0xffbea274), at 0x1c168[73] rb_call0(0x0, 0x15a238, 0x4fc1, 0x1, 0xffbea480, 0x23d460), at 0x23734[74] rb_call(0x23d9e8, 0x15a238, 0x4fc1, 0x1, 0xffbea480, 0x0), at 0x23bec[75] rb_eval(0x0, 0x25cb58, 0x0, 0x25cb70, 0x20, 0xffbea794), at 0x1dcfc[76] rb_call0(0x0, 0x159230, 0x4fc1, 0x1, 0xffbea9a0, 0x23e8a0), at 0x23734[77] rb_call(0x23f3f8, 0x159230, 0x4fc1, 0x1, 0xffbea9a0, 0x1), at 0x23bec[78] rb_eval(0x159230, 0x252358, 0x0, 0x252370, 0x50, 0xffbeacb4), at 0x1dcfc[79] rb_call0(0x0, 0x159230, 0x5321, 0x1, 0xffbeaee0, 0x23e258), at 0x23734[80] rb_call(0x23f3f8, 0x159230, 0x5321, 0x1, 0xffbeaee0, 0x1), at 0x23bec[81] rb_eval(0x159230, 0x251530, 0x2514a0, 0xffbeb72c, 0xffbebd40, 0xc1400), at 0x1dcfc[82] rb_eval(0x159230, 0x2514a0, 0x251458, 0x1, 0xc1000, 0xd5a48), at 0x1c168[83] rb_eval(0x159230, 0x251428, 0x0, 0x2513e0, 0xd0, 0xffbeb734), at 0x1c8e0[84] rb_call0(0x0, 0x159230, 0x5351, 0x1, 0xffbeb948, 0x23e1f8), at 0x23734[85] rb_call(0x23f3f8, 0x159230, 0x5351, 0x1, 0xffbeb948, 0x1), at 0x23bec[86] rb_eval(0x159230, 0x24aff0, 0x0, 0x24a2e8, 0xf0, 0xffbebc5c), at 0x1dcfc[87] rb_call0(0x0, 0x159230, 0x53d1, 0x1, 0xffbebe70, 0x23dce8), at 0x23734[88] rb_call(0x23f3f8, 0x159230, 0x53d1, 0x1, 0xffbebe70, 0x1), at 0x23bec[89] rb_eval(0x159230, 0x24a0a8, 0x24a090, 0xfffffff8, 0x0, 0x158d69), at 0x1dcfc[90] rb_eval(0x159230, 0x24a150, 0xffbec488, 0x24a000, 0xc1000, 0xffbec438), at 0x1c168[91] rb_call0(0x0, 0x159230, 0x53e1, 0x0, 0x0, 0x23dbf8), at 0x23734[92] rb_call(0x23f3f8, 0x159230, 0x53e1, 0x0, 0x0, 0x2), at 0x23bec[93] rb_eval(0x159230, 0x249c10, 0x249b68, 0xc1400, 0xffbeceb0, 0x159398), at 0x1dcfc[94] rb_eval(0x159230, 0x249b50, 0x249b20, 0xfffffff8, 0x0, 0x1593b1), at 0x1d3bc[95] rb_eval(0x159230, 0x249b38, 0x0, 0x249a90, 0xd0, 0xffbecda4), at 0x1c168[96] rb_call0(0x0, 0x159230, 0x53f1, 0x1, 0xffbecfb0, 0x23db98), at 0x23734[97] rb_call(0x23f3f8, 0x159230, 0x2469, 0x1, 0xffbecfb0, 0x0), at 0x23bec[98] rb_eval(0x0, 0x27f328, 0x0, 0x27f238, 0xd0, 0xffbed2c4), at 0x1dcfc[99] rb_call0(0x0, 0x163850, 0x28e1, 0x1, 0xffbed4d0, 0x23da48), at 0x23734[100] rb_call(0x23db20, 0x163850, 0x28e1, 0x1, 0xffbed4d0, 0x1), at 0x23becTo put an end to the confusion, TrueType 1.x support has beenremoved in favor of TrueType 2.x support. The oldgdImageStringTTF function simply invokes gdImageStringFT./usr/local/include/freetype/freetype.h/usr/local/include/freetype2/freetype.h% sudo mv /usr/local/include/freetype /usr/local/include/freetype1% env DOTFONTPATH=. ./dot -Tpng -Nfontname=kochi < z.dot > z.pngC:\j2sdk1.4.1_01\bin\java.exe -Dweirdx.displaynum=0 -Dweirdx.windowmode=RootlessWM -Dweirdx.display.charset=JISX -Dweirdx.display.keymap=jp106 -Dweirdx.display.visual=TrueColor16 -Dweirdx.ddxwindow=com.jcraft.weirdx.DDXWindowImpSwing -jar C:\weirdx\weirdx-1.0.31.jar- bugtrack: XSS あり。 → ?plugin=bugtrack&category="><s>test</s>&category="><s>test</s>- map: 動作しない。- yetlist: Pre環境中の WikiName もリストしてしまう。http://tatuya.niu.ne.jp/copyright/column/06.htmlhttp://www1.odn.ne.jp/~aab87530/news/2002/topic01.htmlhttp://www.adobe.com/support/downloads/detail.jsp?ftpID=1505プロセス状態がいつも同じ:/service と ttys, inittab のもとではシステム管理者がサービスを再起動させた場合も、システムブートの場合と同じまっさらの状態で起動されます。一方、 init.d と rc.localのもとでは、環境変数やリソースの上限設定、端末制御などを整理設定するのにうんと余分の仕事をしなければなりません。プロセス状態が異っているシステムへの移植を考える必要のない場合でさえ、プログラマーはいつもいい加減な設定をやってしまいます。そして、システム管理者はデーモンを再起動したときに、不可解な動作不良に遭遇するのです。http://homepage2.nifty.com/winfaq/wxp/hints.html#1344cf. http://www.zakzak.co.jp/top/top0314_1_07.html(setq ps-line-number t)cf. http://www.y-adagio.com/public/standards/tr_xml_jpf/kaisetsu.htm http://www.debian.or.jp/~kubota/unicode-symbols-map2.html% perl -MSOAP::Lite -MData::Dumper -e 'print Dumper(SOAP::Lite -> service("http://nile.ulis.ac.jp/~masao/term-viz-ws/term-viz.wsdl") -> getWordList("47888"));'clover% foreach f ( edr_*.db )> echo $f> db_dump -f /tmp/`basename $f` $f> endclover% scp /tmp/edr_*.db nile:nile% foreach f ( edr_*.db )> echo $f> db_load -f $f ~/CVSwork/term-viz-ws/$f> endC:\Documents and Settings\masao\Application Data\FeedReadercf. http://homepage2.nifty.com/mekkie/peace/iraq/news/023.html http://homepage2.nifty.com/mekkie/peace/iraq/news/011.html および、すべての研究開発支援、製造の諸施設。」 理・製造施設。」% ruby inst.rb% mv -f A5BDA5D5A5C8A5A6A5A7A5A22F* /project/nile-wiki/wiki/% chmod a+w /project/nile-wiki/wiki/*.txt% sudo chown nobody:nobody /project/nile-wiki/wiki/*.txt#!/usr/local/bin/rubyrequire "time"class SoftInfo attr_reader :info PATTERN_HASH = { /<li>インストールしたもの :([^<]*)<\/li>/i => "name", /<li>バージョン(パッチレベル):([^<]*)<\/li>/i => "version", /<li>簡単な説明 :([^<]*)<\/li>/i => "desc", /<li>インストール先 :([^<]*)<\/li>/i => "dest", /<li>インストールした人 :([^<]*)<\/li>/i => "person", /<li>日付 :([^<]*)<\/li>/i => "date", /<li>マニュアル :([^<]*)<\/li>/i => "man", /<li>入手経路 :([^<]*)<\/li>/i => "from", /<li>ソースの置き場所 :([^<]*)<\/li>/i => "src", /<li>関連ファイル :([^<]*)<\/li>/i => "related", /<li>インストールの際の変更点 :(.*?)<\/li>/mi => "change", /<li>\[ その他 \](.*?)<\/li>/mi => "misc", /<li>\[ 注意事項 \](.*?)<\/li>/mi => "note", } def initialize(str) @info = {} str = str.gsub(/\r/, "") PATTERN_HASH.keys.each do |pat| if pat =~ str data = $1 data = data.gsub(/<br>/i, "\n") data = data.strip if data =~ /^\s*<pre>(.*)<\/pre>\s*$/mim data = $1 end @info[PATTERN_HASH[pat]] = data end end if info["date"] and info["date"] =~ /^(\d+)\/(\d+)\/(\d+)$/ year = $3.to_i info["date"] = sprintf("%04d-%s-%s", year > 90 ? year+1900 : year+2000, $1, $2) end endenddef to_wikifilename (str) wiki_pagename = str if wiki_pagename =~ /^([^(]*)\(/ wiki_pagename = $1 end wiki_pagename = "ソフトウェア/" + wiki_pagename.strip.gsub(/[\s\/:]+/, "_") puts wiki_pagename wiki_pagename = wiki_pagename.unpack("H*")[0].upcase + ".txt"enddef to_prestr (str) if str and str.length > 0 str.gsub(/^/, " ") else str endendcontents = File.open("inst").read.chompcontents = contents.split(/<hr>/i).grep(/§/)list = []contents.each do |e| list.push SoftInfo.new(e)endlist.each do |e| wiki_pagename = to_wikifilename(e.info["name"]) File.open(wiki_pagename, "a+") {|f| f.print <<EOF* #{e.info["name"]}-名称: #{e.info["name"]}-概要(簡単な説明): #{e.info["desc"]}-Webサイト: #{e.info["from"]}-関連URL:** 使い方など#{to_prestr(e.info["misc"])}#{to_prestr(e.info["note"])} } t = Time.parse(e.info["date"]) File.utime(t, t, wiki_pagename)% cd /project% sudo mkdir nile-wiki% sudo chown masao:ulis nile-wiki% cd nile-wiki% cvs -d cvs -d :pserver:anonymous@cvs.sourceforge.jp:/cvsroot/pukiwiki co pukiwiki% mv pukiwiki/* .% rm -rf pukiwiki(`cvs -dP`してもディレクトリが消されないように dummy ファイルを作っておく)% mkdir attach/ backup/ counter/ diff/ cache/% touch attach/dummy backup/dummy counter/dummy diff/dummy cache/dummy% chmod 777 attach/ backup/ counter/ diff/ cache/ wiki/ trackback/% chmod 666 wiki/*.txt% chmod 666 cache/recent.dat% cd ~/public_html/test/pukiwiki1.3.3/% foreach d ( attach backup diff wiki )> ruby convertpage.rb $d /project/nile-wiki/$d> end(1.4 と 1.3 でかぶる内容の文書のうちいくつかを削除して `cvs up`する)% vi pukiwiki.ini.php% cvs diffdiff -u -b -r1.27 pukiwiki.ini.php--- pukiwiki.ini.php 4 Mar 2003 07:03:43 -0000 1.27+++ pukiwiki.ini.php 5 Mar 2003 09:15:28 -0000@@ -53,15 +53,15 @@ $interwiki = 'InterWikiName'; ///////////////////////////////////////////////// // 編集者の名前(自由に変えてください)-$modifier = 'me';+$modifier = 'nile管理者'; ///////////////////////////////////////////////// // 編集者のホームページ(自由に変えてください)-$modifierlink = 'http://change me!/';+$modifierlink = 'http://nile.ulis.ac.jp/nile/'; ///////////////////////////////////////////////// // ホームページのタイトル(自由に変えてください) // RSS に出力するチャンネル名-$page_title = 'PukiWiki';+$page_title = 'nile.ulis.ac.jp'; ///////////////////////////////////////////////// // WikiNameを*無効に*する@@ -103,7 +103,7 @@ ///////////////////////////////////////////////// // Last-Modified ヘッダを出力する-$lastmod = 0;+$lastmod = 1; ///////////////////////////////////////////////// // 日付フォーマット@@ -130,7 +130,7 @@ $cycle = 6; ///////////////////////////////////////////////// // バックアップの最大世代数-$maxage = 20;+$maxage = 30; ///////////////////////////////////////////////// // バックアップの世代を区切る文字列 // (通常はこのままで良いが、文章中で使われる可能性% vi .htaccess% cat .htaccessErrorDocument 404 /nile-wiki/404.htmlDirectoryIndex pukiwiki.php% cd /usr/local/apache/htdocs% sudo mv nile nile.old% sudo ln -s /project/nile-wiki nile% unzip 107684-08.zip% sudo patchadd 107684-08Checking installed patches...Verifying sufficient filesystem capacity (dry run method)...Installing patch packages...Patch number 107684-08 has been successfully installed.See /var/sadm/patch/107684-08/log for detailsPatch packages installed: SUNWcsr SUNWnisu SUNWsndmr SUNWsndmu問題が起きないよう配慮した。- cmd, plugin: pukiwiki.php (1.4系のみ) → 解決- refer: template.inc.php (1.3系のみ)- word: html.php?- date_sep: calendar_viewer.inc.php- calendar_viewer.inc.php (第3引数) → 解決53 'refer'14 'msg'14 'body'13 'cmd' 9 "page" 7 'pass' 6 'src' 5 'method' 5 'file' 4 'plugin' 4 'action' 3 'word' 3 'pcmd' 3 'paint_no' 3 'dst' 3 'digest' 3 'begin' 2 'yourname' 2 'related' 2 'md5' 2 'inter' 2 'age' 2 $_age 1 \'page\' 1 'width' 1 'type' 1 'prefix' 1 'p' 1 'original' 1 'height' 1 'filename' 1 'exist' 1 'date' 1 'category' 1 'add' 1 $var 1 $age 1 "msg" 1 "mode" 1 "date_sep" 1 "date" 1 "body"