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

  • 03/30() 0900 WW WPX Phone
  • 03/31() NTT 東 払込期日
  • 04/01(月) atactl check
  • 04/03(水) 不燃ごみ
  • 04/13() 1600 - 2200 JIDX CW
  • 04/17(水) 不燃ごみ
  • 04/19(金) CQ Ham Radio
  • 04/20() 木之本会議
  • 04/25(木) Interface
  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 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年03月 来月
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
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2020年01月13日(月) 旧暦 [n年日記] [更新:"2020/01/13 10:27:10"]

#1 [pkgsrc] Hellow world on R

I had no experience on R (R language) so, I tried Hellow World. Thanks to the author of above page.

cat hellow-world.r:

CF-SX2@makoto 19:24:52/200113(..devel/R-covr)% cat ~/prep/hellow-world.r
sayOnce <- function(value) {
    s <- as.character(value)
    print(paste("Hello, World.",s,sep = " "))
}

say <- function() {
    for(i in 0:9) {
        sayOnce(i)
    }
}

say()

R --no-save < hellow-world.r:

CF-SX2@makoto 19:24:54/200113(..devel/R-covr)% R --no-save < ~/prep/hellow-world.r
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64--netbsd (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> sayOnce <- function(value) {
+     s <- as.character(value)
+     print(paste("Hello, World.",s,sep = " "))
+ }
> 
> say <- function() {
+     for(i in 0:9) {
+         sayOnce(i)
+     }
+ }
> 
> say()
[1] "Hello, World. 0"
[1] "Hello, World. 1"
[1] "Hello, World. 2"
[1] "Hello, World. 3"
[1] "Hello, World. 4"
[1] "Hello, World. 5"
[1] "Hello, World. 6"
[1] "Hello, World. 7"
[1] "Hello, World. 8"
[1] "Hello, World. 9"
>


2014年01月13日(月) 旧暦 [n年日記] [更新:"2014/01/13 18:02:20"]

#1 [無線] 60m diameter Receiving antenna for 160m

MMANA で模擬 (Simulation)
8 Element round phased array receiving Antenna
*** generated by "$Id: 8-round-receive.perl,v 1.10 2014/01/13 05:06:28 makoto Exp " *** 
1.815
*** ワイア ***
8
   0.00,   30.00,    0.00,    0.00,   30.00,   10.00,  0.001, -1
   0.00,  -30.00,    0.00,    0.00,  -30.00,   10.00,  0.001, -1
  21.21,   21.21,    0.00,   21.21,   21.21,   10.00,  0.001, -1
  21.21,  -21.21,    0.00,   21.21,  -21.21,   10.00,  0.001, -1
 -21.21,   21.21,    0.00,  -21.21,   21.21,   10.00,  0.001, -1
 -21.21,  -21.21,    0.00,  -21.21,  -21.21,   10.00,  0.001, -1
  30.00,    0.00,    0.00,   30.00,    0.00,   10.00,  0.001, -1
 -30.00,    0.00,    0.00,  -30.00,    0.00,   10.00,  0.001, -1
*** feed point ***
8,	1
w8b,	 90.0,	1.0
w5b,	 60.0,	1.0
w6b,	 60.0,	1.0
w1b,	 0,	1.0
w2b,	 0.0,	1.0
w3b,	-60.0,	1.0
w4b,	-60.0,	1.0
w7b,	-90.0,	1.0
*** 集中定数 ***
8,     1
**                L       C       Q 
w1b,	0, 1000, 0, 1
w2b,	0, 1000, 0, 1
w3b,	0, 1000, 0, 1
w4b,	0, 1000, 0, 1
w5b,	0, 1000, 0, 1
w6b,	0, 1000, 0, 1
w7b,	0, 1000, 0, 1
w8b,	0, 1000, 0, 1
*** 自動分割 ***
400,	40,	2.0,	1
*** 計算環境 *** 実大地(2)、地上高(0.0m)、 銅線(1)/アルミパイプ(4)
2,	0.0,	1,	50.0,	120,	60,	0
(半径大きすぎ、以下にやり直し)

30m diameter Receiving antenna for 160m:

8 Element round phased array receiving Antenna
*** generated by "$Id: 8-round-receive.perl,v 1.13 2014/01/13 07:46:51 makoto Exp " *** 
1.815
*** ワイア ***
8
   0.00,   15.00,    0.00,    0.00,   15.00,   10.00,  0.001, -1
   0.00,  -15.00,    0.00,    0.00,  -15.00,   10.00,  0.001, -1
  10.60,   10.60,    0.00,   10.60,   10.60,   10.00,  0.001, -1
  10.60,  -10.60,    0.00,   10.60,  -10.60,   10.00,  0.001, -1
 -10.60,   10.60,    0.00,  -10.60,   10.60,   10.00,  0.001, -1
 -10.60,  -10.60,    0.00,  -10.60,  -10.60,   10.00,  0.001, -1
  15.00,    0.00,    0.00,   15.00,    0.00,   10.00,  0.001, -1
 -15.00,    0.00,    0.00,  -15.00,    0.00,   10.00,  0.001, -1
*** feed point ***
8,	1
w8b,	 116.0,	1.0
w5b,	 80.0,	1.0
w6b,	 80.0,	1.0
w1b,	 0,	1.0
w2b,	 0.0,	1.0
w3b,	-80.0,	1.0
w4b,	-80.0,	1.0
w7b,	-116.0,	1.0
*** 集中定数 ***
8,     1
**                L       C       Q 
w1b,	0, 1000, 0, 1
w2b,	0, 1000, 0, 1
w3b,	0, 1000, 0, 1
w4b,	0, 1000, 0, 1
w5b,	0, 1000, 0, 1
w6b,	0, 1000, 0, 1
w7b,	0, 1000, 0, 1
w8b,	0, 1000, 0, 1
*** 自動分割 ***
400,	40,	2.0,	1
*** 計算環境 *** 実大地(2)、地上高(0.0m)、 銅線(1)/アルミパイプ(4)
2,	0.0,	1,	50.0,	120,	60,	0


2012年01月13日(金) 旧暦 [n年日記] [更新:"2012/01/14 22:18:49"]

#1 [無線] CQ WW WPX SSB 2011 の結果が出ている

稲葉さんの blog を見ていて気が付いた。
SOSB/40 LP の claimed score では 7Z1SJ に続いての Asia 二位となっていたが、 この Saudi Arabia の局は Assisted 部門だったので、 Non-assisted では、Asia #1 になった。去年に続いてのことで、 記録 も少し更新出来た。


2011年01月13日(木) 旧暦 [n年日記] [更新:"2011/01/16 00:41:24"]

#1 [X11] modular xorg with T-105

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: NetBSD-5.1-x86_64 The NetBSD Foundation
Current Operating System: NetBSD t-105.i.ki.nu 5.1 NetBSD 5.1 (GENERIC) 
	#0: Sat Nov  6 13:19:33 UTC 2010
 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/
	201011061943Z-obj/home/builds/ab/netbsd-5
1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
Build Date: 12 January 2011  09:15:49AM

        Before reporting problems, check http://www.pkgsrc.org/
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 14 08:48:32 2011
List of video drivers:
        apm
        ark
        ast
        ati
        radeon
        chips
        cirrus
        glint
        i128
        i740
        intel
        mach64
        mga
        neomagic
        nsc
        nv
        r128
        radeonhd
        rendition
        s3
        s3virge
        savage
        siliconmotion
        sis
        tdfx
        tga
        trident
        tseng
        vmware
        vga
        wsfb
        vesa
(++) Using config file: "/root/xorg.conf.new"
Using rom_base = 0xc0000 (pci_rom=0)
Using rom_base = 0xc0000 (pci_rom=0)


Xorg detected your mouse at device /dev/wsmouse.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Xorg has configured a multihead system, please check your config.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

t-105#
X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: NetBSD-5.1-x86_64 The NetBSD Foundation
Current Operating System: NetBSD t-105.i.ki.nu 5.1 NetBSD 5.1 (GENERIC) 
#0: Sat Nov  6 13:19:33 UTC 2010  builds@b6.netbsd.org:
 /home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj
 /home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
Build Date: 12 January 2011  09:15:49AM
 
        Before reporting problems, check http://www.pkgsrc.org/
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 14 00:17:29 2011
(II) Loader magic: 0x1720
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
(II) Loader running on netbsd
(--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
(--) using VT number 5

(!!) More than one possible primary device found
(--) PCI: (1:1:7:0) 1002:5159:18bc:0210 rev 0, Mem @ 0xd0000000/134217728, 
		0xc8100000/65536, I/O @ 0x00003000/256
(--) PCI: (1:1:8:0) 1002:515e:1028:0225 rev 2, Mem @ 0xd8000000/134217728, 
		0xc8110000/65536, I/O @ 0x00003400/256
Primary device is not PCI
(==) Using default built-in configuration (21 lines)
(==) --- Start of built-in configuration ---
        Section "Device"
The PCI device above seems to be on board graphics. I have another PCI-E board.
R7000PCI-B3

without PCI Card (R7000 uninserted):

t-105@makoto 11:20:19/110114(~)% fgrep '(--)' !$
fgrep '(--)' /var/log/Xorg.0.log-vga
Markers: (--) probed, (**) from config file, (==) default setting,
(--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
(--) using VT number 5
(--) PCI:*(1:1:8:0) 1002:515e:1028:0225 rev 2, Mem @ 0xd8000000/134217728, 
		0xd0100000/65536, I/O @ 0x00003000/256
(==) RADEON(0): Depth 24, (--) framebuffer bpp 32
(--) RADEON(0): Chipset: "ATI ES1000 515E (PCI)" (ChipID = 0x515e)
(--) RADEON(0): Linear framebuffer at 0x00000000d8000000
(--) RADEON(0): Mapped VideoRAM: 32768 kByte (16 bit DDR SDRAM)
(--) Depth 24 pixmap format is 32 bpp
(--) RandR disabled
t-105@makoto 11:20:28/110114(~)% ls -l  /var/log/Xorg.0.log-vga
The system is running but thhe screen is blacked out.
t-105@makoto 11:34:26/110114(~)% sudo pcictl  pci1 list
001:07:0: ATI Technologies Radeon 7000/VE QY (VGA display)
001:08:0: ATI Technologies ES1000 (VGA display, revision 0x02)
The first one is extra PCI board, the second one is on board grahics
I have deleted the Screen1 and have only one Screen, it start now.


2009年01月13日(火) 旧暦 [n年日記] [更新:"2009/01/18 10:02:04"]

#1 [NetBSD] inside of /kern disappear

As is reported in kern/38778, after some time of boot, ls -l /kern does not show anything.
The trigger to this symptom may be intensive files access, the number may be important. In my case, rsync -ah NFS/ to local-disk/ of large filesystem will easily trigger the one. In my case, the size is 180GB. But tar ztvf Large.tar.gz may be another example, someone told me. It only needs two minutes to make /kern empty.
I have looked at CVS repository and it turned out the changes between 2008/01/25 0000 JST to 2008/01/25 0600 JST is the reason to this behavior. See source changes in Jan. 2008
( cd /usr/src/sys ; cvs diff -D '2008-01-24 1500-UTC' -D '2008-01-24 2100-UTC' . )
may give you the related changes.
It is now reported to netbsd-bugs.

The responce to netbsd-bugs should be sent to gnats-bugs at netbsd.org. David Holland kindly transfered it, and it is now linked to the original -> KERN/38265



2005年01月13日(木) 旧暦 [n年日記] [更新:"2005/01/13 18:46:50"]

#1 [2.99.12] 四台目を 2.99.12 に

ずうっと以前には NFS/AppleTalk/Samba server をして いて、またその後も 1.6Q で動いていた機械を 2.99.12 にする。sysinst の update を選ぶと、設定など、かなり 良きにはからってくれる。

sendmail だけは、:

Jan 13 18:14:24 u2 root: /etc/rc: WARNING: sendmail.cf has wrong version (have 9, should be 10)
Jan 13 18:14:24 u2 root: /etc/rc: WARNING: sendmail is sgid smmsp, but submit.cf is missing
というので cf をどこから探してくるか。 NetBSD 解説 を見て、 cvsweb から netbsd-proto.mc 1.12 をもらって来て、次のように確認。
   124  18:33   ./Build netbsd-proto.cf
   125  18:34   sudo cp netbsd-proto.?? /etc/mail
   126  18:34   cd /etc/mail
   128  18:34   sudo mv sendmail.cf sendmail.cf-old
   129  18:34   sudo ln -s netbsd-proto.cf sendmail.cf
   131  18:34   ps ax | grep sendmail
   132  18:35   sudo /usr/sbin/sendmail -bt -d0.1 -v
この機械は、実際には sendmail は普段は起動していないから、 変更しないでそのままでもいいけれど、変更しておいた。

:

  1. PowerBook G4/800 80G disk (NetBSD/40,Mac OS X/40)
  2. iBook/366 20G disk Entire disk + 8M HFS (not bootable though)
  3. G4/AGP 1.2G 10G boot disk + 80G ( upgrade from 2.99.11 ), desktop
  4. G4/400 80G disk (upgrade from 1.6Q), stanby for file server


2004年01月13日(火) 旧暦 [n年日記]

#4 [NetBSD] boot 時に割込む

setenv auto-boot? true
setenv boot-device hd:\OFWBOOT.XCF;1 hd:0
setenv boot-file netbsd
setenv boot-command key? invert if boot then

pkgsrc/www/w3m-img を入れる:

===> Registering installation for w3m-img-0.4nb2
w3m-img-0.4nb2 requires installed package boehm-gc-6.2nb1
w3m-img-0.4nb2 requires installed package gdk-pixbuf-0.22.0nb1
w3m-img-0.4nb2 requires installed package glib-1.2.10nb5
w3m-img-0.4nb2 requires installed package gtk+-1.2.10nb5
w3m-img-0.4nb2 requires installed package jpeg-6b
w3m-img-0.4nb2 requires installed package openssl-0.9.6l
w3m-img-0.4nb2 requires installed package perl-5.6.1nb7
w3m-img-0.4nb2 requires installed package png-1.2.4
w3m-img-0.4nb2 requires installed package pth-2.0.0
w3m-img-0.4nb2 requires installed package tiff-3.5.7
ttypd:root@harry  20:40:07/040113(...www/w3m-img)# 
w3m version w3m/0.4-m17n-20030224
(単独の方で)初めて絵が出た気がする 。 fvwm2 の他の窓に行って帰って来ると消えている。g でまた出る。
emacs-w3 は、まだ ?
Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size")
w3m-version
"w3m/0.4-m17n-20030224"
emacs-w3m-version
"1.3.6"
変だな。
ttyp3:makoto@harry  20:48:22/040113(...emacs/site-lisp)> ls -ld w3m*
drwxr-xr-x  2 root  wheel  5632 Nov 17 09:38 w3m/
drwxr-xr-x  2 root  wheel  5632 Aug 17 01:13 w3m-1.3.6/
これではうまく行くはずがない ? (しかし何故今日の日付ではないのだらうか)。
1.3.80 を入れる。/usr/local/share/emacs/site-lisp/w3m/ の方に入ってしまった。/usr/pkg/share の方に rsync -a。 動いた。
「図はクリックすると出る」のが正しい ?

#3 [Emacs] w3m の素朴な疑問

emacs-w3m から使う場合と限定する。 (その限定がどういう意味があるかは考えていない)
NetBSD/pkgsrc から入れた場合、次のものが入っている
w3m version w3m/0.3.2.2+cvs-1.599-m17n-20021207 (僕の古そう)

もし RedHat などの場合、rpm はあるか ? (この綴り意図的 ?) ←英語じゃなかった
w3m-imgdisplay-0.4.2-1.i586.rpm.html これか ?
何を入れればいいのか
  • w3m-0.3.2.2
  • w3m-0.3.2.2-m17n
  • w3m-0.4.x
  • w3m-0.4.x-m17n

#2 [Emacs] help.el の訳

以前に試した が patch に " が一つ足りなかった。 作り直し (21.3.50向)
(文字化け -- euc-jp 効かないなぁ).. 前の時に化けていないのは実は中身が jis で保存してある。

#1 [NetBSD][macppc] PowerBook G4 FW800

これなら動くという情報があって言っている訳ではないけれど: TsubaiBSD とかは試されているのかな。

動いたそうで:

素晴らし。↑の近所には src も置いてあります。
X11 はちょっと困るかも知れない。僕の理解では、
  • xc-4.3.99.902 は(確か)一か所直せば make World 出来るが /dev/pci が open できない と言って動かない。 (直すのはどこだったかなぁ) これ の気がする
  • XFree86 binary を使えば動くかも知れない。
  • ただし↑には、最新版 :-) の 2003-04-01 は置いていない
  • 2003-04-01 を最近の gcc-3 で make しようとすると止ってしまう(気がする)


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

#4 [hns] refer_log をさわって所有者を変更してしまった

(ので 16:27 .. 21:48 まで日記が見えなかった)

#3 [NetBSD] TNF nandra 追っかけと枝の作り方

 1.1   1.2
  +----+----- 幹
   \    \
    \    +--- nandra (1.2.2) cvs tag -b nandra で作る
     \
      +------ TNF(1.1.1)     最初の import
1.1 から 1.2 は macppc-030107 を当てる
こうすればいいと気が付くのに何か月かかったことか。
-ko は付けるべきか、付けない方がいいか ?
追っかけをしながら、外のものと diff を取ることが多い場合は -ko しておいた方がいい
と思っている。

#2 [NetBSD] CVSup

にある
NOTE: non-static binaries do NOT need modula-3 libraries.
は逆の気がするが...
wget http://motoyuki.bsdclub.org/data/NetBSD/CVSup/i386-1.6/cvsup-static-16.1.f.tgz
# pkg_add cvsup-static-16.1.f.tgz

#1 [NetBSD] 「cc を使ってくれちゃう」問題

arch/macppc/compile/Makefile:

arch/macppc/compile/Makefile に
CC?=cc と書いてあるのは、
arch/macppc/conf/Makefile.macppc
を写しているらしい (usr.sbin/config/mkmakefile.c) ので、 それを消して見たら、確かに Makefile からは消えたが、
( cd /export/20030107-ts/src/etc && make INSTALL_DONE=1 release )
....
cd /export/20030107-ts/src/obj/sys/arch/macppc/compile/GENERIC && make depend && make
depending the kern library objects
CC=cc /export/20030107-ts/src/tools/obj/tools.NetBSD-1.6K-powerpc/bin/nbmkdep
CC=cc は残っているようで、どうも違う。

/usr/share/mk/bsd.own.mk:

grep CC /usr/share/mk/bsd.own.mk
.if ${USETOOLS_GCC:Uyes} == "yes"
CC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc
これが効いていない ? kernel を作っているのは src/etc/Makefile の次の行。
383 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE}
これが上の cd /export .... に対応しているはず。

もう一度初めから:

200301080000/source/sets/ と macppc-030107.tar.gz で。
ttyp3:root@quick 9:41:28/030113(...20030107ts/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR > & ../log-1
4867.033u 1909.256s 2:58:02.28 63.4% 0+0k 13854+390197io 14681pf+0w
sh /export-n/20030107ts/src/sys/kern/genassym.sh cc -O2 -pipe -Werror -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-main -msoft-float -ffreestanding -I. -I/export-n/20030107ts/src/sys/arch -I/export-n/20030107ts/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc < /export-n/20030107ts/src/sys/arch/macppc/macppc/genassym.cf > assym.h.tmp && mv -f assym.h.tmp assym.h
-D_LOCORE -I. -I/export-n/20030107ts/src/sys/arch -I/export-n/20030107ts/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc /export-n/20030107ts/src/sys/arch/macppc/macppc/locore.S
-D_LOCORE: not found
*** Error code 127

Stop.
nbmake: stopped in /export-n/20030107ts/src/sys/arch/macppc/compile/GENERIC
*** Error code 1
何か一つ変数が代入されていない。MKDEP かな。
ttyp3:root@quick 12:48:12/030113(...20030107ts/src)# grep -n AFLAGS sys/arch/macppc/compile/GENERIC/Makefile
31:# MKDEP?= mkdep ...
547: ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PPC}/macppc/locore.S
やりすぎ。 src/sys/arch/macppc/conf/Makefile.macppc を元に戻す。

CC を使ってしまう問題:

でも、これがうまく行かないと cross-build など出来ないから、 これは単に僕だけの問題の気がする... /etc/mk.conf ? (いまは殆んど空)

tar で開けると予め用意してあった symlink を無視して /usr/src に別に開ける:

問題:
tar の選択で逃げるか。
-s replstr
Modify the file or archive member names specified by the pattern or file operands according to the substitution ex- pression replstr, using the syntax of the ed(1) utility regular expressions. The format of these regular expres- sions are:
/old/new/[gp]
これ、全然うまく行かないので、/export/20030107 の下に usr/src と開けて、後で 一つ上に移動する。その方がずうっと速くて簡単。


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

#3 [NetBSD] snapshot/20011014 を作り直そうとしている

powerpc/powerpc/pmap.c について
1 20010801/  /powerpc/          1.46 2001/07/22 wiz
2 20011014/  /powerpc-20011014/ 1.47 2001/10/13 chs
3 20011014/  /powerpc/          1.44 2001/06/10 tsubai
4 20011220/  /powerpc-20011220/ 1.48 2001/12/01 tsutsui
5 20011220/  /powerpc/          1.13 2001/12/15 tsubai
これは kernel だけ後で取替えることにすれば、放っておいた方がいい。 ということは include/netinet6/in6.h だけを新しくしておけば良い ?

#2 [NetBSD] union -b で載せているものの下だけ更新した時に

www/mozilla)# find . -type f | awk '{print "rm",$1,"; rm -W",$1}' 
...
rm ./files/CVS/Root ; rm -W ./files/CVS/Root
...
www/mozilla)# find . -type f | awk '{print "rm",$1,"; rm -W",$1}' | sh
という作業が要るのかな... 要るような気がする。

#1 [NetBSD] pkg_add mozilla-0.9.6

をしたら、IPv4 の Web が見えなくなって IPv6 だけは見える という不思議な状態になってしまった。
  • 最近の -current は IPv6 mapped IPv4 address は使えなくなった
  • ところが mozilla-0.9.6 はそれを使っていた
で mozilla を新しくすればいいということで
pkgsrc/www/mozilla/ で make; make upgrade
で、 0.9.7 にしたけれど、それも同じだった。 そうか pkgsrc が古いこともあるのだ。
と書いたがこれは 最新 で、OS の方の対応も問題で、 include/netinet6/in6.h が 1.27 (2001/07/24) ではだめで 要 1.28 (2001/10/15) 以降とのこと 試したのは 10/14 日版で、二日違い 2001/10/25 頃の current-users に出ている問題だった。

0.9.7 を make したら 3:16 かかった。:

比較的なにも入っていない機械 (iBook/SE 366 = graphite) の /usr/pkgsrc/www/mozilla で make に 3:16。

ここで setenv DISPLAY で試そうとしたが、

ping6: UDP connect: No route to host:

と言われてしまう。実はここでは rtsol を使っていなくて、手動で IPv6 を設定していた。 その時には
route add -inet6 default 'fe80::200:f8ff:fe1e:af1c%rtk0'
のようなおまじないが必要だということに気が付いていなくて、これでやっと 動く www.kame.net と、通常の IPv4 の Web の両方が見える Mozilla になった。


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

#6 [Emacs] Wanderlust きょうの elp-results

Function Name                                          Call Count  Elapsed Time  Average Time
=====================================================  ==========  ============  ============
wl-folder-jump-to-current-entity                       2           24.646404     12.323202
wl-summary-goto-folder-subr                            2           24.603204     12.301602
wl-summary-msgdb-load-async                            2           10.353382     5.176691
wl-summary-sync-force-update                           2           7.171543      3.5857715
wl-summary-sync-update3                                2           6.977547      3.4887735
wl-thread-resume-entity                                2           6.4673510000  3.2336755000
wl-highlight-summary                                   1           4.79316       4.79316
wl-highlight-summary-current-line                      1005        3.7981830000  0.0037792865
wl-summary-insert-thread-entity                        11          1.27841       0.1162190909
もう一回。(寝る前)
Function Name                                          Call Count  Elapsed Time  Average Time
=====================================================  ==========  ============  ============
wl-summary-goto-folder-subr                            10          447.240129    44.724012900
wl-folder-jump-to-current-entity                       10          422.73789999  42.27379
wl-summary-msgdb-load-async                            10          267.911895    26.7911895
wl-summary-sync-force-update                           10          86.282126     8.6282126000
wl-summary-sync-update3                                10          84.459881     8.4459881
wl-summary-cursor-down                                 18          56.496802     3.1387112222
wl-thread-jump-to-next-unread                          18          56.493031     3.1385017222
wl-thread-get-next-unread                              18          55.811513     3.1006396111
wl-thread-entity-get-next-marked-entity                18          55.798080999  3.0998933888
wl-thread-entity-check-next-mark-from-younger-brother  14          55.711501999  3.9793929999
wl-thread-entity-check-next-mark                       5766        36.707367999  0.0063661755
wl-summary-read                                        62          36.387422000  0.5868939032
wl-message-redisplay                                   55          35.823312999  0.6513329636
wl-mmelmo-message-redisplay                            55          35.809541     0.6510825636
wl-folder-mark-as-read-all-current-entity              2           29.887276     14.943638
wl-folder-mark-as-read-all-entity                      2           29.686759     14.8433795
wl-thread-resume-entity                                10          23.084595     2.3084595
wl-summary-exit                                        11          19.315628999  1.7559662727
wl-mime-header-presentation-method                     55          18.312622     0.3329567636
wl-summary-save-status                                 11          18.208905     1.6553550000
wl-summary-msgdb-save                                  11          11.327003999  1.0297276363
wl-draft-send-and-exit                                 3           10.876807     3.6256023333
wl-draft-send                                          3           10.876185     3.6253949999
wl-summary-redisplay                                   12          10.545399     0.87878325

#5 [jpnic] 汎用ドメイン名


#4 [Web] (auto-index) iBook2, tutorial が 差分を取れるような状態でないことを発見

makoto@nazuha ■17:55:55/010113(~)> ls -l n/iBook2.cgi i/namazu/tutorial.cgi
-rwxr-xr-x  1 makoto  users  11506 Oct 21 20:54 i/namazu/tutorial.cgi*
-r-xr-xr-x  1 makoto  3000   14959 Jan  6 14:26 n/iBook2.cgi*
実は
  • namazu を cvs に import して見よう
  • cvs の画面を作って見よう
  • それには iBook2, tutorial 方式がいい
  • と思って、上のどちらから作るかと見たら 全然違っている。
いまの問題
  1. 日本語と英語を混ぜた時の索引の作り方に問題がある
  2. それは両方の言葉を見て、menu database を作っておく必要がある という理解をしている
  3. 名前を pml にするか html で行くか迷っている。
  4. (namazu/filter のことを考えると pml などの自分で作った名前がいい)
  5. GooglebotiBook2 を見つけてくれない 問題と(関係あるのかないのか)不明
  6. namazu filter を作っていない
きょうの時点のものを tar 形式で置いておこう。 ftp://ftp.ki.nu/pub/web_tool/ web_tool.tar.gz かな。 でも説明なしに使うのは いくら簡単な道具とは言えちょっと無理かな。

#3 [Network] whois ip-address

こういう情報(とその調べ方)を知らなかった。
makoto@harry ■9:57:27/010113(~)> whois -h radb.ra.net 210.145.40.112/28
route:         210.145.0.0/17
descr:         NTT-OCNET CIDR BLOCK 3 (AS4713)
               Tokyo Opera City Tower 21F
               3-20-2 Nishi-shinjuku, Shinjuku-ku
               Tokyo 163-14, Japan
origin:        AS4713
mnt-by:        MAINT-AS4713
changed:       arano@mod.hqs.ntt.co.jp 19970303
source:        RADB

route:         210.145.0.0/17
descr:         NTT-OCNET CIDR BLOCK 3 (AS4713)
               Yamato Life Insurance Bldg.
               1-7 Uchisaiwai-cho 1-chome Chiyoda-ku,
               Tokyo 100-8019 Japan
tech-c:        Tomoya Yoshida
origin:        AS4713
mnt-by:        MAINT-AS4713
changed:       yoshida@rr.ntt.net 19991117
source:        ARCSTAR
ところで AS って何の略だったっけ。こういう短い名前は全文検索 では見つかり難い。 http://www.google.com/ で調べると、
  • AS routing cisco internet TCP/IP (件数) 19,800
  • AS OSPF routing whois database (件数) 10,400
良く見たら、 「"AS" は一般的すぎる言葉のため、検索には使われていません。」 って書いてある。 AS4713 なんて入れて見たら、 の中に AS (autononmous System) という字がある。でも n 抜の autonomous ではないかな。
[- 日記システム警告:コマンド AS は予約されています。-]

http://www.ryston.cz/petr/traceroute3.html は何語か良く分らないが。
makoto@harry ■10:36:03/010113(~)> whois -h whois.ra.net AS4713
aut-num:       AS4713
as-name:       NTT-OCN-AS
descr:         NTT-OCNET
               Tokyo Opera City Tower 21F
               3-20-2 Nishi-shinjuku, Shinjuku-ku
               Tokyo 163-14, Japan
admin-c:       Takashi Arano
tech-c:        Shinichi Norikane
notify:        db-admin@mod.hqs.ntt.co.jp
mnt-by:        MAINT-AS4713
changed:       arano@mod.hqs.ntt.co.jp 19961216
source:        RADB

aut-num:       AS4713
as-name:       NTT-OCN-AS
descr:         NTT-OCNET
               Yamato Life Insurance Bldg.
               1-7 Uchisaiwai-cho 1-chome Chiyoda-ku,
               Tokyo 100-8019 Japan
admin-c:       Tomoya Yoshida
tech-c:        Tomoya Yoshida
notify:        yoshida@ocn.ad.jp
mnt-by:        MAINT-AS4713
changed:       yoshida@ocn.ad.jp 20000114
source:        ARCSTAR
makoto@harry ■10:45:56/010113(~)> 

#2 [Namazu] Mail directory

何故か mew-nmz.el に親しんでいないので、 ~/Mail 全体を mknmz する方を考えている。いきなり
mknmz --mtime -10 --verbose -O /usr/namazu/Mail . とやると

Out of memory during "large" request for -2147479552 bytes at mknmz line 2278.:

@@ Processing mail/news file ...
3733/3733 - /amd/ki.nu./export/home/makoto/Mail/webcount/1124 [message/rfc822]
Out of memory during "large" request for -2147479552 bytes at /usr/local/bin/mknmz line 2278.
makoto@harry ■DING!/010113(~/Mail)> 
ちょっとくやしい。Out of memory! とだけ表示されるのと、これはどう違うのだ ろう。でも 2,147,479,552 byte って少し変。
2^31 = 2147483648 のかなり近く。 2^31 - 4096 = 2147479552
僕は ~/.cshrc に unlimit datasize と書いていて、 limit では 「datasize 524288 kbytes」 と表示される。 /usr/local/bin/mknmz から:
   2277 sub write_index_sub () {
   2278     my @words = sort keys(%KeyIndex);

ちなみに、 http://www.namazu.org/ の 検索で「namazu-users-ja」だけを指定して out of memory large と入力して検索すると、 16781312 という数字が出て来て、それは 2^24 - 4096 なので、何か規則性がある。単に Perl の実装の都合だとは思うが。
そう言えば、メールの時に Received: とか、header の左側だけでも捨てた方が いい気がする。 ~/.mknmzrc に次のように書いて、
# $ON_MEMORY_MAX   = 5000000;
$ON_MEMORY_MAX   = 3000000;
(同じ OS だけれど)違う機械で、少し EXCLUDE もしたら 一応終った。 実行記録 (10日/22 分, 90日/116分, 100日/194 分) (これらが日本語でないのは NMZ.log を見ているため)
私家版 patch を当てたくなったけれど、 入門 にも書いてなくて、そちらの方を大分直す。

#1 [Apache] apache-ssl と apache を同時に動かす ?

apache-ssl は何も考えないと、起動時に RSA 秘密鍵を聞いて来て、入力しないと起動しない。 これを譜に書いておくという逃げ道もあるらしいが、それはまず 考えないとして、 80 番は自動で動く。443 は手動で起動。ということが出来れば次善の策 という気がする。これが出来るか。
apache-ssl 側の 80 番を動かないようにしておいて、二つ process を動か せばいいというのが一応の想像。



最近の日記
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)