hns - 日記自動生成システム - Version 2.19.9

  • 04/19(金) CQ Ham Radio
  • 04/20() 木之本会議
  • 04/25(木) Interface
  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 04/30(火) NTT 東 払込期日
  • 04/30(火) ○ 固定資産税振替・支払
  • 05/01(水) atactl check
  • 05/01(水) 不燃ごみ
  • 05/03(金) 0900-1500 東京コンテスト
  • 05/14(火) All JA ログ締切
  • 05/15(水) 不燃ごみ
  • 05/18() 木之本会議
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2024年04月 来月
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
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2014年05月13日(火) 旧暦 [n年日記] [更新:"2014/05/13 22:13:54"]

#1 [Phone] WX02SH の着信音の設定

何故か WX02SH の着信音を黒電話の音にする、という課題が発生した
まず内蔵の選択肢には黒電話は無さそう。
音自体は、 にはありそうだが、このページの中には、ダウンロードボタンが見つからない

*.mp3 形式を見つける:

それで、これとは別の NHK ではなくて、どこからか *.mp3 を見つけて来て、(自分の) Web に置き、download すると サウンドフォルダに入ってくれる
しかし、着信音を「サウンド」の中から選ぼうとしても、 「サウンドにはファイルはありません」と言われる

着信音に設定出来るファイルの形式:

そこで、シャープさんのカスタマ・サポートに電話をする。(15:20)
電話口では、すぐには答えは分らず、 後ほど(一時間以内に)担当者から連絡を下さるということで待つ。
それで電話がかかって来て、(16:08) 利用出来るのは
  • .midi または .mid
  • feelsound 形式 (.dxm)
  • Voicedata (.amr)
だとのこと。実は待たなくても ここに書いてあった。
さて、いろいろ探すが mp3 を(今時)これらに変換するのはなかなかない。 そのうちに

というのを見つけて amr 形式に変換。これをやはり Web に置いて、ダウンロード しようとしたが、音だとは思わないのでダウンロード出来ない。
名前を、例えば *.mp3 に変えると、ダウンロードは出来るが、サウンドフォルダには入れられない

*.amr を SD カードで転送:

そこで SD カードを使って、他の計算機で書いておいて読ませようとした。
しかし、単純な msdos 形式の初期化ではだめ。それで、一度電話機側でカードを初期化して、 もう一度別の計算機で見ると
DCIM/PRIVATE/MYFOLDER/Sound のようになっている(これは記憶で書いているので不正確)。
これに sound.amr のように書いて、今度は(電話側で) 直接着信音の設定から探したら、 やっと設定してくれた。


2013年05月13日(月) 旧暦 [n年日記] [更新:"2013/05/14 00:04:33"]

#2 [NetBSD][pkgsrc] FireFox 21.0 seems to be replaced

modena@makoto 23:09:54/130513(/export/distfiles)% ls -l xulrunner-21.0*.source.tar.bz2*
-rw-r--r--  1 makoto  wheel  105375567 May 12 04:44 xulrunner-21.0.source.tar.bz2
-rw-r--r--  1 makoto  wheel  105268055 May  7 18:25 xulrunner-21.0.source.tar.bz2-keep
-rw-r--r--  1 makoto  wheel  105483074 May  7 08:21 xulrunner-21.0b7.source.tar.bz2

#1 [gcc] gcc-4.7.2 in pkgsrc and DragonFly are not the same

Compiling with gcc-4.7 (Re: Can't build cairo on HEAD ..
/usr/pkg/gcc47/lib/gcc/i386--netbsdelf/4.7.3/include/ssp/string.h:38:17: fatal
error: ssp.h: No such file or directory
        compilation terminated.

I've checked the difference on gcc-4.7 of pkgsrc and the one on DragonFly

ssp directory (ssp.h's themselves are exactly the same):

pkgsrc/gcc-47
modena@makoto 22:41:44/130513(~)% \
ls -l /usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp
total 36
-rw-r--r--  1 root  wheel  2402 Apr 19 02:07 ssp.h
-rw-r--r--  1 root  wheel  3473 Apr 19 02:07 stdio.h
-rw-r--r--  1 root  wheel  5720 Apr 19 02:07 string.h
-rw-r--r--  1 root  wheel  2816 Apr 19 02:07 unistd.h
modena@makoto 22:41:46/130513(~)% \
md5 /usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp/ssp.h 
MD5 (/usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp/ssp.h) 
   = cee75c078610b5c83b8af551349ed01b
But DragonFly has ssp.h only. Others are gone.
pts/0:makoto@dragon344 21:09:07/130513(...graphics/cairo)> ls -l /usr/libdata/gcc47/ssp
total 2
-r--r--r--  1 root  wheel  2402 Apr 25 04:23 ssp.h
pts/0:makoto@dragon344 21:11:19/130513(...graphics/cairo)> \
md5 /usr/libdata/gcc47/ssp/ssp.h 
MD5 (/usr/libdata/gcc47/ssp/ssp.h) 
   = cee75c078610b5c83b8af551349ed01b

string.h:

pkgsrc/gcc-47
modena@makoto 23:37:37/130513(~)% \
ls -l `find /usr/include /usr/lib /usr/pkg -name string.h`
-r--r--r--  1 root  wheel   4322 Mar 16 13:27 /usr/include/ssp/string.h
-r--r--r--  1 root  wheel   4452 Mar 16 13:27 /usr/include/string.h
-rw-r--r--  1 root  wheel  11368 May  4 20:28 /usr/pkg/cross/x86_64-w64-mingw32/include/string.h
-rw-r--r--  1 root  wheel   5720 Apr 19 02:07 /usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp/string.h
-rw-r--r--  1 root  wheel  64580 Apr  8 13:35 /usr/pkg/include/wx-2.8/wx/string.h
DragonFly
pts/0:makoto@dragon344 22:23:38/130513(~)> \
ls -l `find /usr/include /usr/lib /usr/pkg -name string.h`
-r--r--r--  1 root  wheel   5480 Apr 25 04:21 /usr/include/string.h
-r--r--r--  1 root  wheel   6404 Apr 25 05:01 /usr/pkg/include/isc/string.h
-rw-r--r--  1 root  wheel  64580 May  5 13:34 /usr/pkg/include/wx-2.8/wx/string.h


2011年05月13日(金) 旧暦 [n年日記] [更新:"2011/05/13 16:30:31"]

#1 [emacs][pkgsrc] flim で apel を見つけられない

きのう、うまく行くはずだけれど、と言われたので、 もう一度最初からやり直しているつもりだけれど、 きょうのとりあえずの問題は、flim を作るところで、
/usr/pkg/bin/emacs -batch -q -no-site-file -l FLIM-MK -f compile-flim NONE NONE  NONE
Loading /export/pkgsrc/devel/flim/work/flim-1.14.9/FLIM-CFG...
Cannot open load file: install
*** Error code 255
と言われていて、見ると apel の apel directory が buildlink されていない
ml110-2@makoto 16:01:39/110513(..devel/flim)% ls work/.buildlink/share/emacs/site-lisp/
emu        subdirs.el
ml110-2@makoto 16:04:34/110513(..devel/flim)% 
と思ったら、/usr/pkg/share/emacs/site-lisp も同じ状態だったので入直し。
ml110-2@makoto 16:06:38/110513(..devel/flim)% ls /usr/pkg/share/emacs/site-lisp/
emu        subdirs.el
pkg_info 的には入っているはずなのだけれど。
ml110-2@makoto 16:06:00/110513(..devel/flim)% pkg_info -qL apel |grep install
/usr/pkg/share/emacs/site-lisp/apel/install.el
/usr/pkg/share/emacs/site-lisp/apel/install.elc
という訳で flim までは入った。
=> Returning to build of wl-2.15.9nb20110513
=> Full dependency bbdb>=2: NOT found
=> Verifying package-install for ../../misc/bbdb
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Accepted versions are: emacs23 emacs22 emacs22nox emacs21 emacs21nox  emacs20 emacs20nox
ERROR: No valid Emacs version installed found
*** Error code 1
結局、bbdb/Makefile に(も)問題があったということかな
misc/bbdb-2.34-3 emacs-snapshot と bbdb で確認すれば send-pr 出来るかも知れない


2010年05月13日(木) 旧暦 [n年日記] [更新:"2010/05/20 11:06:10"]

#2 without pkgsrc, it also segfaults,

I have minor problem on xft, so use --without-xft just for now,
  246  2010-05-13 11:39  tar zxf /e/tera/j/distfiles/emacs-23.2.tar.gz
  247  2010-05-13 11:39  cd emacs-23.2
  262  2010-05-13 11:51  ./configure --without-xft
  263  2010-05-13 12:04  time gmake
And I got:
...
Directory /export/local-src/emacs-23.2/lisp/./mail
Directory /export/local-src/emacs-23.2/lisp/./language
Fatal error (11)[1]   Segmentation fault (core dumped) EMACSLOADPATH=/e...
gmake[2]: *** [custom-deps] Error 139
gmake[2]: Leaving directory `/export/local-src/emacs-23.2/lisp' 
gmake[1]: *** [/export/local-src/emacs-23.2/lisp/cus-load.el] Error 2
gmake[1]: Leaving directory `/export/local-src/emacs-23.2/lisp' 
gmake: *** [lisp] Error 2
602.83s 103.45s 20:57.84 56% 0+0k 12+1230io 212pf+0w
modena@makoto 12:25:27/100513(..local-src/emacs-23.2)% 

#1 [Emacs] Segfaults at generating lisp/cus-load.el

As I wrote in Yesterday, Emacs segfaults while building at
(cd work/emacs-23.2/lisp;
EMACSLOADPATH=/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp
LC_ALL=C ../src/emacs -batch --no-site-file --multibyte -l
cus-dep --eval \
'(setq generated-custom-dependencies-file "/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/cus-load.el")'\
-f custom-make-dependencies `cat /tmp/list`)
  • In /tmp/list, it can be full PATH or relative to lisp directory.
    ./
    url
    org
    play
    net
    cedet
    cedet/srecode
    cedet/semantic
    cedet/semantic/wisent
    cedet/semantic/symref
    cedet/semantic/decorate
    cedet/semantic/bovine
    cedet/semantic/analyze
    cedet/ede
    textmodes
    progmodes
    nxml
    mh-e
    mail
    language
    international
    gnus
    eshell
    erc
    emulation
    emacs-lisp
    calendar
    calc
    
  • In this /tmp/list, by eliminating language, it does NOT segfaults.
  • If with only language in this list, it does NOT segfaults
  • Also, by eliminating mail (with language included), it does NOT segfaults
  • strangely, eliminating either one of url , org , cedet , cedet/srecode , cedet/semantic , progmodes , nxml , (all others remains), it does NOT segfault
  • eliminating either one of play , net , textmodes , mh-e , (all others remains), it DOES segfault
OS: NetBSD/amd64 5.0_STABLE
gcc: 4.1.3
So, the point of failure is 'language'. And it is the combination with either one of url, org, cedet, cedet/srecode, cedet/semantic, progmodes, nxml, mail (others not mentioned here are not checked yet).
custom-make-dependencies() の結果って何のために必要なんですか?

There should be some infinite loop for the dependencies, and custom-make-dependencies should detect such status and stop processing for that particular loop. -> cus-dep.el

joerg version: also segfaults


I don't remember the editors/emacs-snapshot



2009年05月13日(水) 旧暦 [n年日記] [更新:"2009/05/15 10:03:52"]

#1 [NetBSD][imap] imap にたまった spam が 3G

普段メールを読むのには、 cyrus imapdsieve も使っている。 「も」と書いたのは、それだけでなく他のものも使っているという意味。 sieve の中の一部に spam を分ける設定 *1 があって、 実はそれを設定したこと を忘れていて、全く見ることも捨てることもしていなかった。 それが 3GB 位も溜って、 imap サーバが非力なせいだが、メモリが足りなく(Memory = 256M, swap = 1G) 、 MUA (Wanderlust) からは見ることが出来なくなってしまっていた。
May 10 02:00:01 bwg3 lmtpunix[20006]: FATAL: failed to mmap cache file
May 10 02:00:02 bwg3 lmtpunix[21828]: IOERROR: mapping cache file for user.makoto.bounce-spam2: Cannot allocate memory
これは単なるゴミに過ぎないので捨てればいい訳だけれど、上に書いたように imap の操作では(簡単には)捨てられない。 単純にシェルの操作で消してしまうことは出来るが、 それでは imap サーバが困らないかな、どうやれば回復出来るかな、 というのがこの記事の主旨。つまり、次のようにしても大丈夫かということ。
rm -rf           /var/spool/imap/user/makoto/bounce-spam2
mkdir            /var/spool/imap/user/makoto/bounce-spam2
chown cyrus.mail /var/spool/imap/user/makoto/bounce-spam2
で、どうも本当は次のものは消してはいけなかったらしい。
 bounce-spam2/cyrus.index
 bounce-spam2/cyrus.cache
 bounce-spam2/cyrus.header
でこれらを touch で大きさ 0 のものを作ったのでは、やはりだめで、 でも、他の近くにある小さめの、 同じ名前のものを三つとも cp で写して置いたら、 一応は動くようになって、後は Wanderlust (MUA) からの強制同期 (sync) で 何とか回復した。

そう言えば reconstruct(8) という手があったかな、→ /usr/pkg/cyrus/bin/reconstruct

この問題に何故気が付いたかということも実は大切だったけれど、 それは mrtg + net-snmp でサーバを見ていたら、何やら変な負荷がかかっていて 何だろうと見ると /var/log/message に最初に挙げた行が大量に書かれていた という訳。
多分関係ないと思うが、同じ表示が出ているようなので:
*1: この ~/.sieve の日付を見ると、これを設定したのは 2008/08。


2005年05月13日(金) 旧暦 [n年日記] [更新:"2005/05/13 17:21:00"]

#1 [Web] mod_encoding と WebDAV

まだ試したことはないが、これでうまく行くのかな。

0 からの解説ページよりも、こういうちょっとした実例の方が役に立つことが 多い。

libiconv_hook を /usr/local に apache-2 は /usr/pkg に入ったものを使う、 ということで試して見たが、

In file included from /usr/pkg/include/apr-0/apr_portable.h:47,
                 from /usr/pkg/include/httpd/http_protocol.h:22,
                 from mod_encoding.c:11:
/usr/pkg/include/pthread.h:285: error: conflicting types for `pthread_t'
/usr/include/pthread_types.h:71: error: previous declaration of `pthread_t'
とか、
/usr/include/signal.h:68: error: previous declaration of `pthread_kill'
mod_encoding.c:58: error: parse error before "array_header"
mod_encoding.c:58: warning: no semicolon at end of struct or union
mod_encoding.c:59: warning: data definition has no type or storage class
mod_encoding.c:62: error: parse error before '}' token
とか言われて、そう甘くはない ?
ttype:makoto@mini > find /usr -name pthread\*.h -ls
        17666 Apr 18 11:55 /usr/include/g++/bits/pthread_allocimpl.h
         6885 Apr 18 11:54 /usr/include/pthread_dbg.h
        14118 Apr 18 11:54 /usr/include/pthread.h
         5379 Apr 18 11:54 /usr/include/pthread_queue.h
         6976 Apr 18 11:54 /usr/include/pthread_types.h
        20463 May  2 06:57 /usr/pkg/include/pthread.h
pthread.h が二つあるから /usr/include の方をかくしたら、
/usr/pkg/include/pthread.h:285: error: conflicting types for `pthread_t'
/usr/include/pthread_types.h:71: error: previous declaration of `pthread_t'
まだだめなので、ではと、 pthread_types.h をかくしたら、さすがに、 /usr/include/sys/types.h:374:27: pthread_types.h: No such file or directory


2004年05月13日(木) 旧暦 [n年日記]

#3 [] ちょっと作って見る。

cbook24.com border=0 cbook24.com への接続:

#2 [無題] 第一回 FICクリエイターズ・フォーラム

藤井 雅俊 さんの話、はとても役に立ちそう。 河井 信哉 さん の話、これは面白かった。 特に映画を作る時のお金の話。 他のクリエイターズの方々の話、とても良かった。

#1 [Linux] Fedora Core 2 test 3 and CF-R1



2003年05月13日(火) 旧暦 [n年日記]

#2 [pkgsrc] bootstrap-pkgsrc

実はきょうまで bootstrap-pkgsrc の場所を知らなかった。

#1 [機械] 某なつみかんサーバの /home が

別のところを指していたので、5/1 .. 5/13 の間、 更新されていなかった。


2002年05月13日(月) 旧暦 [n年日記]

#1 [Network] ipf をさわったせいか

ipf を試そうと思って
ipf -F a; ipf -f /etc/ipf.conf
した(ような気がする)が、router が forwarding しなくなった。 面倒なので再起動。(20:00pm 頃)
/etc/rc.d/ipfiter を見ると、(手動なら)
/sbin/ipf -E -Fa
/sbin/ipf -f /etc/ipf.conf
かな。でも /etc/rc.d/ipfiter reload の方が確実かな。
ipnat の方は /etc/rc.d/ipnat なのに ipf の方は /etc/rc.d/ipfilter


2001年05月13日() 旧暦 [n年日記]

#5 [荻窪] 10:16 本千葉発 16:25 千葉駅着

secondary server のこととか

#4 [MacOSX] automount/home directory

automount が出来るようになったので (本当に automount か怪しい -- cd しなくても mount しているような気がする) 次の問題は、 他の unix と home を共有出来るのかということ。

automount の map (mounts.byname) を変更した時。:

kill -1 では効かないようだし、 kill すると普通には動かなくなってしまうような気も。

#3 [MacOSX] Emacs

~/.emacs に
(setq debug-on-error t)
と書いておくと、
Debugger entered--Lisp error: (void function x-selection-exists-p)
(x-selection-exists-p)
(and (x-selectio-exists-p)(not buffer-read-only))
sit-for(120)
command-line-1(nil)
command-line()
normal-top-level()

wl を起動すると:

Not an image: nil
という。これは多分 icon を表示しようとしているところか。

.folder に &LOGIN/user@HOST.DOMAIN だと unplugged:


#2 [Network] named 逆引の secondary ?

を設定した と書いたが、「自分 の soa に書けばいい」 という問題かどうか不安になって来た。
やっぱり勘違いのよう ? でも、
> set q=ns
> 112.40.145.210.in-addr.arpa         
....
....
Non-authoritative answer:
112.40.145.210.in-addr.arpa     nameserver = ns.fujiwara.chuo.chiba.jp
112.40.145.210.in-addr.arpa     nameserver = ns-tk011.ocn.ad.jp
って書いてあるから、ntt でやってくれている。 自分が意図した設定とは関係ないが、これはこれでいい。 というか、これに合せて soa を書いておくのがいいと 気が付く。

#1 [Emacs] W3 cvs

こういうのがあるのを知らなかった。 cvs かららしい
http://jaderholm.com/w3-4.0pre.46-emacs-21.patch



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、10 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)