|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||
2003年12月10日(水) 旧暦 [n年日記]#1 [無題] age++
Prime Number
( つっこみ )
#2 [build.sh][NetBSD][macppc] Invalid bfd target
src/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-objcopy -O xcoff-powermac -R .comment -R .note temp ofwboot.xcf src/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-objcopy: ofwboot.xcf: Invalid bfd target これなら、 以前 gnu/dist/toolchain/bfd/config.bfd への patch があったはず @ config.bfd が移動している ?:
最近
37167 Dec 10 13:07 ./gnu/dist/binutils/bfd/config.bfd 34733 Dec 10 13:09 ./gnu/dist/gdb/bfd/config.bfd(そういう問題ではない ? 気もするが、上の patch を両方に当てて見る) @ BUILD_DONE=1:
env BUILD_DONE=1 time ./build.sh -D $DESTDIR -R $RELEASEDIR -T /export/nandra-tr-031206/checkout/src/tooldir.NetBSD-1.6T-powerpc release > & ../log-2
@ subr_disk.c:504: warning: control reaches end of non-void function:src/sys/kern/subr_disk.c: In function `buf_inorder': src/sys/kern/subr_disk.c:504: warning: control reaches end of non-void functionsubr_disk.c を 1.57 に交換 @ :stripping ramdiskbin ( つっこみ )
2003年12月09日(火) 旧暦 [n年日記]#1 [無題][rsync] rsync --delete
は使ったことがなかった。ありがとうございます。
8:58:58/031209(~)# /usr/pkg/bin/rsync -a --delete /e/u/home/ /export/home/ 9:16:49/031209(~)# du -sk /e/u/home/ /export/home/ 6846900 /e/u/home/ 6846892 /export/home/ 9:30:34/031209(~)# ( つっこみ )
2003年12月08日(月) 旧暦 [n年日記]#1 [LaTeX] 表や図の位置
\begin{figure}[htbp] \begin{figure}[H] (H は here.sty が要るのかな) などがいまひとつうまく使えていない t に来るのはいいのだが b に置かれるのを (自分が作ったものでは見たことがない) p して欲しくないと思って \begin{figure}[htb] とすると、最後の方に追いやられてしまう。 \begin{figure}[!htbp] というのを見かけたが、これは何 ? そのため、文字 が先に来て、図が出現したときそのページに入らない場合には次のページに 移されてしまいます。 ( つっこみ )
#2 [無題] 歯医者
● 歯 = {止, 米}
・・・・ ・○・・
・・・・ ・・・・ ●…第1打鍵
・・・・ ・・・・ ○…第2打鍵
医 = {匚, 矢}
・・・・ ・・●・
・・・・ ・・・・ ●…第1打鍵
・・・・ ○・・・・ ○…第2打鍵
者 = {者}
電話番号は google で調べて予約。
15:30-16:20 くらい。あめをかじってしまったら、
つめものが取れてしまった。歯石も取ってもらう。
(4,410 円)
( つっこみ )
2003年12月07日(日) 旧暦 [n年日記]#1 [Emacs] src/xfns.c x-backspace-delete-keys-p
むしろ、問題はこちらか。
if (delete_keycode && backspace_keycode && XKeysymToKeycode (dpy, XK_Delete) == delete_keycode && XKeysymToKeycode (dpy, XK_BackSpace) == backspace_keycode) have_keys = Qt; } ( つっこみ )
2003年12月06日(土) 旧暦 [n年日記]#1 [電話][PHS] 子機(KX-HF300)からの内線発信は
「機能」→「H" 左」だと(偶然)発見。
( つっこみ )
#2 [無題] rsync -a した二つの大きさがかなり違う(/export)# du -sk /e/u/home home 6816572 /e/u/home 7814396 home(まあ少ないよりは大きいのだからいいけれど) -a って消さないのだったっけ ? ( つっこみ )
2003年12月05日(金) 旧暦 [n年日記]#1 [Emacs] normal-erase-is-backspace-mode
emacs-21.3/src/xfns.c:
11353 DEFUN ("x-backspace-delete-keys-p", Fx_backspace_delete_keys_p,
11354 Sx_backspace_delete_keys_p, 0, 1, 0,
11355 "Check if both Backspace and Delete keys are on the keyboard of FRAME.\n\
11356 FRAME nil means use the selected frame.\n\
11357 Value is t if we know that both keys are present, and are mapped to the\n\
11358 usual X keysyms.")
...
@ Delete and Backspace with xev::
(XFree86 4.0.1 + patch)
KeyRelease event, serial 25, synthetic NO, window 0xa00001,
root 0x2a, subw 0xa00002, time 1133603822, (41,48), root:(136,74),
state 0x0, keycode 84 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 characters: ""
KeyPress event, serial 25, synthetic NO, window 0xa00001,
root 0x2a, subw 0xa00002, time 1133604612, (41,48), root:(136,74),
state 0x0, keycode 50 (keysym 0xff08, BackSpace), same_screen YES,
XLookupString gives 1 characters: "
@ I wonder if above are right ?:
and getting strange page as
Then, running following command to create .tpu-keys
emacs -f tpu-edt -l @ on the machine where (x-backspace-delete-keys-p = t):
(XFree86 4.3.99)
KeyRelease event, serial 28, synthetic NO, window 0xa00001,
root 0x3f, subw 0xa00002, time 1167534565, (35,48), root:(639,74),
state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: (7f) "_"
@ xkbprint:
xkbprint -label name harry:0.0 /tmp/ps
ってやったら、PostScript File が出来た。 でも Apple Extended Keyboard II となっている。 @ lets Note で:
xkbprint -label name :0.0 /tmp/lets.ps
としたら Japanese 106 が出て来た。 ( つっこみ )
#2 [電話] VE-PVC01L を入手・子機登録
を見て、子機登録。素晴しい。
今のところ不明なのが子機(KX-HF300)からの内線発信。クリアボタンの番号、では だめ。以下登録方法抜粋 -- 親機: 「保留ボタン」を押しながら「キャッチ」ボタンを五秒ぐらい押す子機: # を押しながら電源を入れるさえ覚えておけば後は何とかなるかな。普通の「改行」「実行」キーが ないので、それはまようがどうも「内線」ボタンらしい。 少なくとももう一台入手しよう。 ( つっこみ )
2003年12月04日(木) 旧暦 [n年日記]#1 [Emacs] normal-erase-is-backspace-mode が nil になっているのは
lisp/startup.el から:
(unless noninteractive
;; DOS/Windows systems have a PC-type keyboard which has both
;; <delete> and <backspace> keys.
(when (or (memq system-type '(ms-dos windows-nt))
(and (memq window-system '(x))
(fboundp 'x-backspace-delete-keys-p)
(x-backspace-delete-keys-p))
;; If the terminal Emacs is running on has erase char
;; set to ^H, use the Backspace key for deleting
;; backward and, and the Delete key for deleting forward.
(and (null window-system)
(eq tty-erase-char 8)))
(setq-default normal-erase-is-backspace t)
(normal-erase-is-backspace-mode 1)))
x-backspace-delete-keys-p is a built-in function.これが問題らしい。nil になってしまう。 ( つっこみ )
2003年12月03日(水) 旧暦 [n年日記]#1 [build.sh][NetBSD][macppc] 20031122-UTC + macppc-031129TNFDATE=20031122-UTC @ elapsed: 6:23:47.41:ttyp2:root@serv 21:18:39/031202(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-1 @ kauai.c:144: structure has no member named `cmd_baseioh':cc -O2 -pipe -Werror -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-main -Wno-format-zero-length -msoft-float -ffreestanding -I. -I/export/nandra-tr-031129/checkout/src/sys/arch -I/export/nandra-tr-031129/checkout/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc -c /export/nandra-tr-031129/checkout/src/sys/arch/macppc/dev/kauai.c単に組合せが悪いのだろう。これを見ているのは次のところ。
102 struct channel_softc *chp = &sc->wdc_channel;
..
144 if (bus_space_map(chp->cmd_iot, 0, WDC_REG_NPORTS, 0, &chp->cmd_baseioh) ||
145 bus_space_subregion(chp->cmd_iot, chp->cmd_baseioh,
146 WDC_AUXREG_OFFSET, 1, &chp->ctl_ioh)) {
channel_softc を定義しているのは
src/sys/dev/ic/wdcvar.h:
の次のところ。
1 /* $NetBSD: wdcvar.h,v 1.43 2003/11/02 11:07:46 wiz Exp $ */
...
53 struct channel_softc { /* Per channel data */
...
これを /* $NetBSD: wdcvar.h,v 1.44 2003/11/27 23:02:40 fvdl Exp $ */ にすればいいらしい。 @ BUILD_DONE=1:ttyp2:root@serv 6:59:24/031203(...checkout/src)# env BUILD_DONE=1 time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-2 ===> MACHINE: macppc
src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbinstall
↓
./tooldir.NetBSD-1.6T-powerpc/bin/nbinstall
@ -T ./tooldir.NetBSD-1.6T-powerpc:
ttyp2:root@serv 7:07:20/031203(...cheCKOUT/src)# env BUILD_DONE=1 time ./build.sh -D $DESTDIR -R $RELEASEDIR
-T /export/nandra-tr-031129/checkout/src/tooldir.NetBSD-1.6T-powerpc
release > & ../log-4
@ 'WDC_NREG' undeclared here:
/export/nandra-tr-031129/checkout/src/sys/dev/ic/wdcvar.h:63: `WDC_NREG' undeclared here (not in a function)
63 bus_space_handle_t cmd_iohs[WDC_NREG];
source changes by fvdl
これを全てかな。Date: Thu Nov 27 23:02:41 UTC 2003 これら 24 files を全て上書きして、 @ :
src/sys/dev/pci/pdcide.c:56: `PCI_PRODUCT_PROMISE_PDC20246' undeclared here (not in a function)
src/sys/dev/pci/pcidevs 1.595 (2003/11/28 20:04:16 chs) src/sys/dev/pci/pcidevs.h 1.593 (2003/11/28 20:05:14 chs) src/sys/dev/pci/pcidevs_data.h 1.591 (2003/11/28 20:05:14 chs) src/sys/dev/pci/hptide.c 1.7 (2003/11/28 20:08:29 chs) @ checkflist:
また
patch
が当っていないかな。(2,4,5,7)
============ extra files =============== Files in DESTDIR but missing from flist. File is obsolete or flist is out of date ? ------------------------------------------ ./usr/include/macppc/bat.h ./usr/include/macppc/bus.h ./usr/include/macppc/db_machdep.h ./usr/include/macppc/ipkdb.h ./usr/include/macppc/pio.h ./usr/include/macppc/powerpc.h ./usr/include/powerpc/bat.h ./usr/include/powerpc/byte_swap.h ./usr/include/powerpc/db_machdep.h ./usr/include/powerpc/hid.h ./usr/include/powerpc/ipkdb.h ./usr/include/powerpc/pio.h ========= end of extra files =========== =========== missing files ============== Files in flist but missing from DESTDIR. File wasn't installed ? ------------------------------------------ ./usr/include/macppc/apmvar.h ./usr/include/macppc/atomic.h ./usr/include/macppc/intr.h ./usr/include/macppc/pmc.h ./usr/include/powerpc/atomic.h ./usr/include/powerpc/oea ./usr/include/powerpc/oea/bat.h ./usr/include/powerpc/oea/hid.h ./usr/include/powerpc/oea/hid_601.h ./usr/include/powerpc/oea/pmap.h ./usr/include/powerpc/oea/pte.h ./usr/include/powerpc/oea/sr_601.h ./usr/include/powerpc/oea/vmparam.h ./usr/include/powerpc/pmc.h ./usr/share/man/cat8/apm.0 ./usr/share/man/cat8/apmd.0 ./usr/share/man/man8/apm.8 ./usr/share/man/man8/apmd.8 ======== end of missing files ==========どうも reject されているっぽい。 という訳で patch も作り直して @ 出来たぁ。久し振り。日付は 20031128:
っていうことにしておこうか。
20031122-UTC + 1128 + macppc-031129 だけれど。 (まだ何も試していない) ( つっこみ )
#2 [Namazu] pre6 or pre7こちらのバグに気づき、藤原さんが書かれた最新版(13pre7)の ソースを拝見したのですが、二つの疑問
次を作ればいいのか。 ( つっこみ )
2003年12月02日(火) 旧暦 [n年日記]#1 [NetBSD][macppc][build.sh] ofwboot.xcf: Invalid bfd target/export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-objcopy -O xcoff-powermac -R .comment -R .note temp ofwboot.xcfRe: 1.6R (ts) BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE ... port-powerpc-ja 2003/05/ 何だか patch がうまく当っていない気がする。 ( つっこみ )
#2 [Emacs] emacs -nw で起動した時に、色を付けること。
(21.3)
多分
kterm から起動した場合、TERM が kterm になっているので、そのままでは
色が付かない。
TERM が
xterm の場合には、term/xterm.el が読まれて、これで色が付く。
@ もしかして pkgsrc の emacs は kterm でも大丈夫:
かな。
( つっこみ )
2003年12月01日(月) 旧暦 [n年日記]#1 [RedHat][Linux] XscreenSaver 4.0.7 03-Feb-2003 Circuit
これ面白い。7 segment の LED の数字が変わるのとか、サイコー。
抵抗のカラーコードが何だかいい加減な気がするので send-pr したいところ。
(そういうのがあればだけれど)
( つっこみ )
#2 [NetBSD][macppc][build.sh] (1.6ZF) macppc-031129 + 20031122-UTCTNFDATE=20031122-UTC NANDRA=/e/u/j/nandra DATE=031129 ttyp0:root@serv 10:40:07/031201(...nandra-tr-031129/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-1きょうは何だかとても時間がかかっている。(もしかして gcc を作るのに ?) @ -o except で `fpgetmask':/export/nandra-tr-031129/src/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-gcc -o except -nostdlib -Wl,-rpath-link,/export/nandra-tr-031129/d/lib:/export/nandra-tr-031129/d/usr/lib -L/export/nandra-tr-031129/d/lib /export/nandra-tr-031129/d/usr/lib/crt0.o /export/nandra-tr-031129/d/usr/lib/crti.o /export/nandra-tr-031129/d/usr/lib/crtbegin.o except.o -L/export/nandra-tr-031129/d/usr/lib -L/export/nandra-tr-031129/d/usr/lib -lgcc -lc -lgcc /export/nandra-tr-031129/d/usr/lib/crtend.o /export/nandra-tr-031129/d/usr/lib/crtn.osrc/UPDATING 見たら、こんなのあって、一つ前にだめだったのこれのせいかも知れない
やり直し ttyp0:root@serv 18:11:38/031201(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-1 ( つっこみ )
|
最近の日記 2026年01月29日 ・Die Fledermaus at New National theatre 2026/01/29 2025年12月25日 ・pbulk 11.99.3 (emacs30) 2025年11月22日 ・crash dump 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? | ||