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

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

2003年12月20日() 旧暦 [n年日記]

#1 [無題] 館山に行く。

君津の辺りで、雪が降ったらしく、日陰に少し残っている。 はじめは霜が降りたのかと思ったが、どうもそうでもなかった。

千倉のあたりであられが降る。一時的にかなりはげしく:


#2 [BUG] 関東 BUG 合同忘年会

34 名くらい集まる。 初めて会う人が多い。実は初めて参加。 ChiBUG は O I T F の四人か。 幹事の方ありがとうございます。
 DEBUG   小林秀誉
 ChiBUG  大熊教夫
 BAY-BSD たかのゆ〜じ
 CBUG    今野元之、りゅうちてつや、波田野裕一

CVsync 教わる:


#3 [Siliconmotion][XFree86] xf86GetVerbosity() ?

programs/Xserver/hw/xfree86/common/xf86Helper.c
2210 int 
2211 xf86GetVerbosity()
2212 {
2213     return max(xf86Verbose, xf86LogVerbose);
2214 }       
これか。でも、これだけでは... programs/Xserver/hw/xfree86/xf86cfg/interface.c: xf86Verbose = atoi(argv[++i]);
278 #ifdef USE_MODULES
279         else if (strcmp(argv[i], "-nomodules") == 0)
280             nomodules = True;
281         else if (strcmp(argv[i], "-verbose") == 0) {
282             if (i + 1 < argc)
283                 xf86Verbose = atoi(argv[++i]);
284         }
285 #endif
programs/Xserver/hw/xfree86/common/xf86Globals.c
207 /* Parameters set only from the command line */
....
220 int xf86Verbose = DEFAULT_VERBOSE;


2003年12月19日(金) 旧暦 [n年日記]

#1 [NetBSD][macppc][boot] G4/800 MP cdrom: NetBSD 1.6.1

setenv boot-device cd:,ofwboot.xcf
setenv boot-file  hd:10/netbsd
reset-all
boot
0 > boot load-size=e1dc adler32=435ec885 

loading XCOFF

tsize=cc50 dsize=14ac bsize=2668 entry=640000 
SECTIONS:
.text    00640000 00640000 0000cc50 000000e0
.data    0064d000 0064d000 000014ac 0000cd30
.bss     0064e4b0 0064e4b0 00002668 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.7
>> (autobuild@tgm.daemon.org, Tue Apr  8 14:55:46 UTC 2003)
hd:10/netbsd: Inappropriate file type or format
Boot: exit
 ok
0 > 

CDROM 20030726ts,20030615ts とも:

0 > boot load-size=d950 adler32=2e98922c 

loading XCOFF

tsize=d5d0 dsize=2a0 bsize=2620 entry=600000 
SECTIONS:
.text    00600000 00600000 0000d5d0 000000e0
.data    0060e000 0060e000 000002a0 0000d6b0
.bss     0060e2a0 0060e2a0 00002620 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.5
>> (root@serv, Thu Jul 31 15:13:58 JST 2003)
Boot: 

enet (20030615.xcf + disk):

0 > setenv boot-device enet:192.168.1.1,20030615.xcf  ok
0 > reset-all
erasing fff06000 
flashing fff06000 
swapping blocks
..
0 > boot
以下同様

enet (20030615.xcf + kernel) OK:

0 > setenv boot-file 20031206.gz  ok
0 > reset-all 
...
これは起動する。

CDROM (20030615.xcf) + enet kernel: OK:

setenv boot-device cd:,ofwboot.xcf
setenv boot-file   enet:192.168.1.1,20031206.gz

要するに disk に起動出来る / を用意出来ていない:

ということになる。

#2 [CVS][macppc][nandra] どうやって作ったか

覚えていない。かなり衝撃。 (手続を探さないで) cvs add でもう一度作り直し。
日付の設定
tar zxf
find . -type d | sort | cvs add
find . -type f | sort | cvs add
これだけ ?

作り直した。:

~/macppc/nandra-repository を作って、作り直した。 ついでに mpc も入れるといいかなと思ったり。

ofwboot.xcf を作り直すには、:

45  15:19   cd /export/nandra-tr-031206a/checkout/src/tools/obj
47  15:19   ln -s ../../obj/tooldir.NetBSD-1.6T-powerpc tools.NetBSD-1.6T-powerpc

60  15:21   cd /export/nandra-tr-031206/checkout/src/sys/arch/macppc/stand/ofwboot/
61  15:21   make
これでも出来た

20031206/ofwboot.xcf はだめだが 20031206/ofwboot.elf を使えば動く:

ただし /etc/bootptab の bf に指定が必要な気がする。

20030726ts の CDROM も elf を使えば問題なし:

0> boot cd:,ofwboot.elf

起動した。:

0 > boot enet:192.168.60.223,20031206.elf /pci/mac-io/ata-4/disk@0:10/netbsd 
CLIENT: 0003933ea378 192.168.1.100
SERVER: 000393b3d0ac 192.168.1.1 harry
Transfer FILE: 20031206.elf \
TFTP-actual=d148 TFTP-adler32=e8b856fb load-size=d148 adler32=e8b856fb 

Loading ELF

>> NetBSD/macppc OpenFirmware Boot, Revision 1.5
>> (root@serv, Fri Dec 19 16:32:39 JST 2003)
>> Open Firmware version 3.x
Before ----
bootdev=/pci@f4000000/ethernet:192.168.1.1,20031206.elf
bootline=/pci/mac-io/ata-4/disk@0:10/netbsd
After ----
bootdev=/pci@f4000000/ethernet:0
bootline=/pci/mac-io/ata-4/disk@0:10/netbsd
Trying /pci/mac-io/ata-4/disk@0:10/netbsd
loadfile.c: /pci/mac-io/ata-4/disk@0:10/netbsd
open /pci/mac-io/ata-4/disk@0:10/netbsd: Inappropriate file type or format
Boot: /pci@f2000000/mac-io/ata-4/@0:0/netbsd
Trying /pci@f2000000/mac-io/ata-4/@0:0/netbsd
loadfile.c: /pci@f2000000/mac-io/ata-4/@0:0/netbsd
loadfile..
4277496+264924 [214784+183549]=0x4b66b0
 start=0x100000

これで行けそう。 /pci@f2000000/mac-io/ata-4/@0:0/netbsd 区画 0 ?

root login refused on this terminal.:

root login refused on this terminal. login:

#3 XFree86 4.3.99

作って見た。1:20 というのはちょっと長い ?
ttyp0:makoto@quick 19:07:15/031219(...cvs-work/xc)> make World >& make-world-log
ttyp0:makoto@quick 20:27:52/031219(...cvs-work/xc)>
..
Full build of XFree86 version 4.3.99.901 ( 2 December 2003) complete.
gcc   -c -traditional-cpp BUSmemcpy.S
BUSmemcpy.S:40: assyntax.h: No such file or directory
*** Error code 1

RE: XFree86 on alpha.:

--- xc/programs/Xserver/hw/xfree86/os-support/misc/Imakefile    Wed Jan 23 18:38:15 2002
***************
*** 17,22 ****
--- 17,25 ----
  #else
  XSRCS = BUSmemcpy.c IODelay.c SlowBcopy.c
  XOBJS = BUSmemcpy.o IODelay.o SlowBcopy.o
+ BUSmemcpy.o: BUSmemcpy.c
+ IODelay.o: IODelay.c
+ SlowBcopy.o: SlowBcopy.c
  #endif
  
  #if HasGcc || HasGcc2

#4 [build.sh][macppc] can't cd to sys/arch/macppc/stand/installboot

rm -f a.out [Ee]rrs mklog core *.core .gdbinit
cleandir ===> sys/arch/macppc/stand/installboot
cd: can't cd to /export/20031206/sys/arch/macppc/stand/installboot

#5 [無題] 歯医者 2,450 円

しばらく麻酔が効いている。


2003年12月18日(木) 旧暦 [n年日記]

#1 [NetBSD][macppc] G4/800MP が動いていない

boot-device             cd:,ofwboot.xcf      hd:,\\:tbxi
boot-file               /pci@f2000000/mac-io/ata-4/disk@1:10/netbsd
....
0 > boot load-size=d950 adler32=2e98922c

loading XCOFF

tsize=d5d0 dsize=2a0 bsize=2620 entry=600000
SECTIONS:
.text    00600000 00600000 0000d5d0 000000e0
.data    0060e000 0060e000 000002a0 0000d6b0
.bss     0060e2a0 0060e2a0 00002620 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.5
>> (root@serv, Thu Jul 31 15:13:58 JST 2003)
open /pci@f2000000/mac-io/ata-4/disk@1:10/netbsd: Device not configured
Boot: exit
 ok
0 > 

20030726ts の CDROM でも起動しない:

0 > boot cd:,ofwboot.xcf macppc load-size=d950 adler32=2e98922c 

loading XCOFF

tsize=d5d0 dsize=2a0 bsize=2620 entry=600000 
SECTIONS:
.text    00600000 00600000 0000d5d0 000000e0
.data    0060e000 0060e000 000002a0 0000d6b0
.bss     0060e2a0 0060e2a0 00002620 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.5
>> (root@serv, Thu Jul 31 15:13:58 JST 2003)
 start=0x0

 DEFAULT CATCH!, code=900 at   %SRR0: 00000000   %SRR1: 00083030 
 ok
0 > 

という訳で、netboot を試している。:

  1. いきなり netbsd-GENERIC_MD.gz を読ませようとすると 書式が正しくないという。
    0 > boot enet:192.168.1.1,20031206.gz 
    CLIENT: 0003933ea*** 192.168.1.100
    SERVER: 000393b3d+++ 192.168.1.1 server
    Transfer FILE: 20031206.gz |
    TFTP-actual=2907f6 TFTP-adler32=37c2c422 load-size=2907f6 adler32=37c2c422 
    unrecognized Client Program format
     ok
    0 > 
    
  2. 20031206/ofwboot.xcf ではうまくかない。
    0 > boot enet:192.168.1.1,20031206.xcf 
    CLIENT: 0003933ea378 192.168.1.100
    SERVER: 000393b3d0ac 192.168.1.1 server
    Transfer FILE: 20031206.xcf /
    TFTP-actual=c49c TFTP-adler32=b66ca8ff load-size=c49c adler32=b66ca8ff 
    
    loading XCOFF
    
    tsize=b6dc dsize=280 bsize=2620 entry=600000 
    SECTIONS:
    .text    00600000 00600000 0000b6dc 000000fc
    .rodata. 0060b6dc 0060b6dc 00000a44 0000b7d8
    .data    0060d000 0060d000 00000280 0000c21c
    .bss     0060d280 0060d280 00002620 00000000
    loading .text, done..
    loading .data, done..
    clearing .bss, done..
    
    ここから無反応
  3. 20030615/ofwboot.xcf と 20031206/netbsd-GENERIC_MD.gz だと起動する
  4. ただし、OF の serial が 57.6k なのに console が 38.4k らしく、 そこで化ける

起動しない 20G:

# disklabel wd1 disklabel: Invalid signature in mbr record 0
16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:    328608         0     4.2BSD   1024  8192     0  # (Cyl.      0 -    325)
 b:   4096512    328608       swap                     # (Cyl.    326 -   4389)
 c:  39070080         0     unused      0     0        # (Cyl.      0 -  38759)
 d:   2867760   4425120     4.2BSD   1024  8192     0  # (Cyl.   4390 -   7234)
 e:    205632   7292880     4.2BSD   1024  8192     0  # (Cyl.   7235 -   7438)
 f:  31571568   7498512     4.2BSD   1024  8192     0  # (Cyl.   7439 -  38759)
# 

pdisk /dev/wd1c:

Partition map (with 512 byte blocks) on '/dev/wd1c'
 #:                type name              length   base     ( size )
 1: Apple_partition_map Apple                 63 @ 1       
 2:      Apple_Driver43*Macintosh             54 @ 64      
 3:      Apple_Driver43*Macintosh             74 @ 118     
 4:    Apple_Driver_ATA*Macintosh             54 @ 192     
 5:    Apple_Driver_ATA*Macintosh             74 @ 246     
 6:      Apple_FWDriver Macintosh            200 @ 320     
 7:  Apple_Driver_IOKit Macintosh            512 @ 520     
 8:       Apple_Patches Patch Partition      512 @ 1032    
 9:           Apple_HFS 写 80  (700.0M) s3   FS   
13:     Apple_UNIX_SVR2 Unreserved 1    33062912 @ 6006280  ( 15.8G) s3   FS   
14:          Apple_Free ∝p               888 @ 39069192
10 がない ? のではなくて表示されないだけ ..
Command (? for help): n 9
New name of partition: MacOS
Command (? for help): P
したら見えるようになった。
9: Apple_HFS MacOS 65536 @ 1544 ( 32.0M)
10: Apple_UNIX_SVR2 A/UX Root 409600 @ 67080 (200.0M) S0 RUFS k0

#2 [Emacs] emacs-21.3.50 の src/regex.? がない件

mule-jp より
> : cvs server: nothing known about src/regex.c
> : cvs server: nothing known about src/regex.h
>
> のようにメッセージがでてこのふたつのファイルが checkout でき
> ません。

この二つのファイルのgnulibから持ってきており(シンボリックリンクになって いる)、そのせいでcoに失敗するみたいです。今はftpでリポジトリが取ってこ れるので、僕はemacsとgnulibのリポジトリを取ってきてgnulibのregex.[ch]の リポジトリをemacsの方にコピーしてcoしました。
知らなかった。... というか、良く分ったなぁ。
ttyp8:makoto@harry 11:02:59/031218(/export/emcws-track)> cvs -d :ext:anoncvs@subversions.gnu.org:/cvs-latest/gnulib co gnulib/lib/regex.{h,c}
U gnulib/lib/regex.h
U gnulib/lib/regex.c

`re_match_object' undeclared (first use in this function):

dired.c: In function `directory_files_internal':
dired.c:211: `re_match_object' undeclared (first use in this function)
dired.c:211: (Each undeclared identifier is reported only once
dired.c:211: for each function it appears in.)
*** Error code 1
cvs でなくて ftp で持って来る ? ? これは ? Changes to emacs/src/regex.c [emacs-unicode-2] 9/30 これって 22 の方かな。


2003年12月15日(月) 旧暦 [n年日記]

#1 [Emacs] fvwm.el --- major mode for editing fvwm resource files in Emacs

fvwm.el
(load "fvwm")

おまけ for GNU Emacs:

jaspace.el ja space と読むらしい。

#2 [X11] X11R6.6+XF4

って何かなぁ。

#3 [X11][XFree86] /usr/X11R6/lib/modules/drivers/siliconmotion_drv.o

こんなところにかくれていた。知らなかった。

次を生かす方法は ?:

        if (xf86GetVerbosity() > 1)
        {
                xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, VERBLEV,
                                "Saved current video mode.  Register dump:\n");
                SMI_PrintRegs(pScrn);
        }

        LEAVE_PROC("SMI_Save");
}
VERBLEV を設定するには ? もしかして
#define VERBLEV 2
のように書くだけなのかな ? 次のように書いておけばいいようだ。
SMI_PrintRegs(ScrnInfoPtr pScrn)
{
#define VERBLEV 2
もっとも if (xf86GetVerbosity() > 1) こっちは不明。

#4 [無題] 歯医者 2,600 円



2003年12月14日() 旧暦 [n年日記]

#1 [Emacs][CVS] 枝の分け方

枝の分け方案もしやるとすると、こうなるのかな。
出来ない
あまり意味がない
気もするけれど。

きのうの再実行:

全文
101 10:08	cd /export/emcws-track/
117 10:27	mkdir emcws-track2
118 10:27	cd emcws-track2
119 10:27	mkdir src repos co work log
123 10:31	setenv CVSROOT /export/emcws-track2/repos
134 10:33	setenv LOG /export/emcws-track2/log
120 10:27	cd src
121 10:27	tar zxf /e/u/j/distfiles/emacs-21.3.tar.gz
122 10:29	tar zxf /e/u/j/distfiles/leim-21.3.tar.gz
124 10:31	cvs init
135 10:33	cd emacs-21.3/
138 10:34	cvs import -ko -m 'FSF import' -W "*.elc -k 'b'" emcws FSF m_21_3 > ! $LOG/import
139 10:34	cd ../../co/
141 10:35	cvs co emcws > $LOG/co
142 10:41	cd emcws/
143 10:42	zcat /e/u/j/ftp/pub/emcws/emcws-21.3-20030507.gz | patch -p1 -s
181 10:58	find . -type d | awk '\!/CVS/  { print "cvs add", $1}' | sh
182 10:58	find . \
    \! -name Root \
    \! -name Repository \
    \! -name Entries \
    \! -name \*orig \
    \! -name CVS \
    -exec cvs -n update '{}' \; |& \
    sort | awk ' /update: use/ { print "cvs add", $11}' |\
     sh
183 10:59	cvs commit -m 'emcws-21.3-20030507' > $LOG/commit
184 10:59	cd ../../work/
186 11:00	cvs co emcws > $LOG/co-emcws
187 11:00	cd emcws/
190 11:01	./configure \
   --with-wnn-includes=/usr/pkg/include/wnn \
   --with-wnn-libraries=/usr/pkg/lib \
   --with-canna \
   --with-canna-includes=/usr/pkg/canna/incude \
   --with-canna-libraries=/usr/pkg/lib \
   --with-sj3 \
   --x-libraries=/usr/pkg/lib:/usr/X11R6/lib \
   --x-includes=/usr/pkg/include:/usr/X11R6/include
191 11:01	time make
192 11:21	src/emacs -q

(CVS) きょうの疑問:

枝に tag は振れるのか。(枝と tag の関係は ?) (別の言い方をすると、tag を付けると、それは幹と枝の両方に付くのか、 それとも片方に付けられるのか ?

shell script にしてみた。:

20030507-> 20031213 の差分 は /tmp/1 に置くとする。(rcs_id で rej が出るが無視する)
#!/bin/sh
  mkdir head log repos fsf work
CVSROOT=`pwd`/repos
LOG=`pwd`/log
DIST=/e/u/j/distfiles
EMCWS=/e/u/j/ftp/pub/emcws
export CVSROOT LOG DIST EMCWS

  cvs init
  mkdir repos/emcws

  cd fsf
  cvs co -d emacs-21.3 -ko emcws

  tar zxf ${DIST}/emacs-21.3.tar.gz
  tar zxf ${DIST}/leim-21.3.tar.gz

  cd emacs-21.3
  find . -type d | awk ' ! /CVS/ { print "cvs add", $1}' | sort | sh  > ${LOG}/add-dir    2>&1
  find . -type f | awk '         { print "cvs add", $1}' | sort | sh  > ${LOG}/add-files  2>&1
  cvs commit -m 'FSF-21.3' > ${LOG}/commit-1
  cvs tag -b FSF                                    > ${LOG}/tag-1  2>&1

  cd ../../work
  cvs co -ko emcws                                  > ${LOG}/co-fsf 2>&1
  cd emcws
  zcat ${EMCWS}/emcws-21.3-20030507.gz | patch -p1 -s
  find . -type f -name \*orig | perl -nle unlink
  find . -type d | awk ' ! /CVS/ { print "cvs add", $1}' | sort | sh  > ${LOG}/cvs-add-directory 2>&1
  find . -type f | awk '         { print "cvs add", $1}' | sort | sh  > ${LOG}/cvs-add-files	 2>&1

  cvs commit -m 'emcws_20030507'   > ${LOG}/commit-2	 2>&1
  cvs tag emcws_20030507           > ${LOG}/tag-2	 2>&1

  patch -s -p2 < /tmp/1
  cvs commit -m 'emcws_20031213'   > ${LOG}/commit-3	 2>&1
  cvs tag emcws_20031213           > ${LOG}/tag-3 	 2>&1
これで初めの図の 1 2 3 5 が出来たはず。

21.3.50:

regex.h がないというようなことを言うので もしかしたら、と
cvs -d :ext:anoncvs@subversions.gnu.org:/cvs-2003-09-16/emacs co emacs
として見たが、やはり、これの方が古そう。

#2 [hns][HTML] FONT color を使った色(試したかっただけ)

FONT color white
FONT color red
FONT color brown
FONT color orange
FONT color yellow
FONT color lightgreen
FONT color green
FONT color darkgreen
FONT color turquoise
FONT color skyblue
FONT color blue
FONT color purple
赤橙黄緑青藍紫

#3 [XFree86] /var/log/XFree86.0.log

に例えば、次のような文字がある
(**) Silicon MotionOption "ZoomOnLCD"
(**) Silicon MotionOption: pci_burst - PCI burst read enabled
この部分は、 programs/Xserver/hw/xfree86/drivers/siliconmotion/smi_driver.c の 646 行目の
 if (xf86ReturnOptValBool(pSmi->Options, OPTION_PCI_BURST, FALSE))
 {
         pSmi->pci_burst = TRUE;
         xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Option: pci_burst - PCI burst "                                                       
                         "read enabled\n");
 }
が表示していると思われる。ところが、この Option: ... の部分を、ちょっと 変えて見ても、/var/log/XFree86.0.log の表示に反映されない。 変更した後は programs/Xserver で make を二回くらいやっている。 その後に XFree86 を /usr/X11R6/bin に cp している。
  1. ここではなく違う部分が表示している
  2. ここが表示しているが、compile の方法が正しくない
?? (これを変えるのが目的ではないが、どうも変更が反映されて いない気がしたので、確実な部分ということで、この行を変更して見ている。)
誰か「何が悪いのか」教えて下さい...

勝手に変えてはいけないのかな。:

Diff to previous 1.32 (colored)
453. Add gcc format checking for the X server's message and logging
functions, and fix lots of associated warnings (David Dawes).

1.9:

151. Siliconmotion driver updates, including:
....
- CRT is off after exit X on DSTN 800x600.

試しに、646 行目を #if 0 ... #endif でかこんだが:

表示から消えない。??
siliconmotion:
  -rw-r--r--   1 makoto  wheel  76915 Dec 14 23:04 siliconmotion_drv.o
  -rw-r--r--   1 makoto  wheel      0 Dec 14 23:04 DONE
  -rw-r--r--   1 makoto  wheel  40924 Dec 14 23:04 smi_driver.o
  -rw-r--r--   1 makoto  wheel  86131 Dec 14 23:04 smi_driver.c
  -rw-r--r--   1 makoto  wheel  16036 Dec 13 23:10 smi_video.o
..
Xserver:
  -rwxr-xr-x   1 makoto  wheel 1791767 Dec 14 23:05 XFree86*
こんな感じなのだけれど。どこかに cache している ??

make clean したら、:

DDDXOSVERRORF -DUSE_RGB_TXT -DSELF_CONTAINED_WRAPPER libcwrapper.c
libcwrapper.c:91:24: xf86_ansic.h: No such file or directory
通らなくなってしまった。きょうはおしまい。


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

#1 [build.sh] 自分で作った Repository から co して

400MHz の PPC 7450 より
ttyp8:root@serv 17:47:44/031212(/export/20031206)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & log-1
16037.775u 4543.135s 5:44:33.78 99.5% 0+0k 17445+436749io 24689pf+133w
ttyp8:root@serv 23:32:50/031212(/export/20031206)#
700MHz の i 社の方が少し速かった気がする。
install ===> sys/arch/macppc/stand/ustarboot
# install /export/d/usr/share/mk/bsd.README
STRIP=/export/20031206/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-strip /export/20031206/tooldir.NetBSD-1.6T-powerpc/bin/nbinstall -N /export/20031206/etc -c -r -o root -g wheel -m 444 bsd.README /export/d/usr/share/mk/bsd.README
nbinstall: bsd.README: stat: No such file or directory

*** Failed target: /export/d/usr/share/mk/bsd.README

#2 [Emacs][Emcws] ワイドキャラクタのAPI 変更


#3 [CVS] ちょっと練習

   104  12:32   mkdir emcws-track
   105  12:32   cd emcws-track
   106  12:33   mkdir src
   107  12:33   mkdir repository
   108  12:33   mkdir checkout
ttypb:makoto@harry  12:42:44/031213(/export/emcws-track)> ls -l
total 16
drwxr-xr-x  3 makoto  wheel  512 Dec 13 12:39 checkout/
drwxr-xr-x  4 makoto  wheel  512 Dec 13 12:37 repository/
drwxr-xr-x  3 makoto  wheel  512 Dec 13 12:33 src/
drwxr-xr-x  3 makoto  wheel  512 Dec 13 12:42 work/
ttypb:makoto@harry  12:42:45/031213(/export/emcws-track)> 
   109  12:33   cd src
   110  12:33   tar zxf /e/u/j/distfiles/emacs-21.3.tar.gz
   111  12:33   tar zxf /e/u/j/distfiles/leim-21.3.tar.gz
   112  12:34   cvs -d /export/emcws-track/repository init
   114  12:34   cd emacs-21.3/
   118  12:37   cvs -d /export/emcws-track/repository import -ko -m 'FSF import' -W "*.elc -k 'b'" emcws FSF m_21_3
   120  12:39   cd ..
   121  12:39   cd ..
   123  12:39   cd checkout/
   124  12:39   cvs -d /export/emcws-track/repository co emcws
   126  12:39   cd emcws/
   129  12:40   zcat /e/u/j/ftp/pub/emcws/emcws-21.3-20030507.gz | patch -p1 -s
   130  12:41   cvs commit -m 'emcws-21.3-20030507'
   131  12:41   cd ../..
   133  12:41   mkdir work
   134  12:41   cd work
   135  12:42   cvs -d /export/emcws-track/repository co emcws
./configure \
--with-wnn-includes=/usr/pkg/include/wnn \
--with-wnn-libraries=/usr/pkg/lib \
--with-canna \
--with-canna-includes=/usr/pkg/canna/include \
--with-canna-libraries=/usr/pkg/lib \
--with-sj3 \
--x-libraries=/usr/pkg/lib:/usr/X11R6/lib \
--x-includes=/usr/pkg/include:/usr/X11R6/include
make bootstrap
gcc -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/export/emcws-track/work/emcws/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/canna/include -g -O2 -DPURESIZE=5000000 -I../src fontset.c
make: don't know how to make canna.o. Stop

make: stopped in /export/emcws-track/work/emcws/src
*** Error code 2

cvs add が抜けている。やり直し。:

やり直し summary 全文
177  12:56   mkdir emcws-track
178  12:57   cd emcws-track/
179  12:57   mkdir src repository checkout work
180  12:57   cd src
181  12:57   tar zxf /e/u/j/distfiles/emacs-21.3.tar.gz
182  12:57   tar zxf /e/u/j/distfiles/leim-21.3.tar.gz
183  12:57   cvs -d /export/emcws-track/repository init
184  12:57   cd emacs-21.3/
185  12:57   cvs -d /export/emcws-track/repository import -ko -m 'FSF import' -W "*.elc -k 'b'" emcws FSF m_21_3
186  12:58   cd ../../checkout/
187  12:58   cvs -d /export/emcws-track/repository co emcws
188  12:58   cd emcws
189  12:59   zcat /e/u/j/ftp/pub/emcws/emcws-21.3-20030507.gz | patch -p1 -s
190  12:59   cvs -n update > /tmp/list
192  12:59   less /tmp/list
201  13:01   cvs -n update | awk ' /^\?/ { print "cvs add",$2}' > ! /tmp/add.sh
203  13:01   sh /tmp/add.sh
204  13:02   cvs commit -m 'emcws-21.3-20030507'
205  13:02   cd ../../work
206  13:02   cvs -d /export/emcws-track/repository co emcws
209  13:02   cd emcws/
210  13:02   ./configure \
    --with-wnn-includes=/usr/pkg/include/wnn \
    --with-wnn-libraries=/usr/pkg/lib \
    --with-canna \
    --with-canna-includes=/usr/pkg/canna/incude \
    --with-canna-libraries=/usr/pkg/lib \
    --with-sj3 \
    --x-libraries=/usr/pkg/lib:/usr/X11R6/lib \
    --x-includes=/usr/pkg/include:/usr/X11R6/include
211  13:03   make bootstrap
212  13:28   find . -name its/hira
214  13:28   cd ../../checkout/emcws
221  13:29   cvs add lisp/its/hira.el
222  13:29   cvs commit -m 'adding hira'
223  13:29   cd ../../work/emcws
227  13:29   cvs update -dP lisp/its
228  13:29   make bootstrap
229  13:33   cd ../../emcws-track/checkout/emcws/lisp/its
233  13:33   cvs -n update
234  13:34   cvs add *.el
236  13:34   cvs commit -m newly-addition
237  13:34   cd ../../../../work/emcws/lisp/its/
241  13:34   cvs update
245  13:34   cd ../../
247  13:34   make
何とはなく動く感じ。 cvs diff -u -r FSF > ! /tmp/diff
これをやると、
cvs diff: tag FSF is not in file src/canna.c
cvs diff: tag FSF is not in file src/wnnfns.c
となってしまう。 cvs diff -u -N -r m_21_3 > ! /tmp/diff こうすると、それらしくなるが、ちょっとまだ変。
Index: lisp/egg-keymap.el
===================================================================
 RCS file: egg-keymap.el
diff -N egg-keymap.el
--- /dev/null   Sat Dec 13 13:50:11 2003
+++ /tmp/cvs00009114al  Sat Dec 13 14:08:28 2003
これで当たるのかな。
ttypb:makoto@harry  14:14:55/031213(...src-2/emacs-21.3)> patch -s -p0 < /tmp/diff
usage: mkdir [-p] [-m mode] dirname ...
??
ttypb:makoto@harry  14:17:18/031213(...src-2/emacs-21.3)> patch --version
Patch version 2.0, patch level 12u8
これって古い ? gpatch という名前で入っているのを知らなかった。
やはり /tmp/cvs00009114al のようなものが出来てしまう。
#!/usr/pkg/bin/perl
while (<>) {
	if    (/^Index: (.*)/) {
	$filename = $1;}
	elsif ( /^\+\+\+ (.*)\s+[MTWTFSS][ouehra][neduitn] [A-Z][a-z][a-z]\s+\d/) {
	s/$1/$filename/;
	}
	print }
こんなもので

cvs-1.11.6:

cvs-1.11 (NetBSD に入っているもの)を cvs-1.11.6 (pkgsrc/devel/cvs) にしたら上の問題は解決した。

cvs export:

気のせいだが cvs export を知らなかった気がする。

21.3.50 を取出して見る:

(...emcws-track/21.3.50)> setenv CVS_RSH ssh
(...emcws-track/21.3.50)> cvs -d:ext:anoncvs@subversions.gnu.org:/cvs-latest/emacs co emacs
cvs server: Updating emacs
 U emacs/.cvsignore
 U emacs/AUTHORS
..

枝を作っておく:

ttypa:makoto@harry 18:35:50/031213(...checkout/emcws)> cvs -d `cat CVS/Root` rtag -r FSF -b FSF_cvs emcws
cvs rtag: Tagging emcws
...

import:

cvs -d `cat ../../checkout/emcws/CVS/Root` import emcws FSF m_20031213
..
13 conflicts created by this import.
Use the following command to help the merge:

cvs -d /export/emcws-track/repository checkout -jFSF:yesterday -jFSF emcws
なんかだめそう。おまじないを忘れてしまったし。
-ko -m 'FSF import' -W "*.elc -k 'b'" 


2003年12月12日(金) 旧暦 [n年日記]

#1 [XFree86] /usr/X11R6/lib/X11/xkb/keycodes/macintosh

The configuration I am using without any particular idea was
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "Protocol"      "wskbd"
    Option      "Device"        "/dev/wskbd1"

    Option      "AutoRepeat"    "500 5"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "macusb"
    Option      "XkbLayout"     "jp"
    Option      "XkbVariant"    "altjp"
    Option      "XkbGeometry" "kinesis"
EndSection
This at least refers the file
/usr/X11R6/lib/X11/xkb/keycodes/macintosh and its "usb" part.
I have added the line
+    <DELE> =  84;

setxkbmap -rules xfree86 -model macusb -layout jp -variant altjp:

Then I have run
21:41   setxkbmap -rules xfree86 -model macusb -layout jp -variant altjp
in usb part, of which DELE was missing. It now changes the output of Emacs/xfns.c equivalent checking program.
delete_keycode: 84
backspace_keycode: 50
xk_delete: 50
xk_backspace: 84
But this still give me
normal-erase-is-backspace nil 'cause the code is swapped. Actually this was before I have run xmodmap. After the daily xmodmap, I am getting
delete_keycode: 84
backspace_keycode: 50
xk_delete: 0
xk_backspace: 84
still looks bad. The line was:
keycode 50 = 0177
I have changed this line into
keycode 50 = Delete
Now I am getting really swapped. delete_keycode: 84 backspace_keycode: 50 xk_delete: 50 xk_backspace: 84


2003年12月11日(木) 旧暦 [n年日記]

#1 [build.sh] もう一度始めから... 完送 (1.6ZG)

ttyp3:root@serv 8:44:56/031211(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-4
19767.927u 5910.314s 7:01:28.29 101.5% 0+0k 21842+508716io 24598pf+93w
再確認
TNFDATE=20031206-UTC
NANDRA=/e/u/j/nandra
DATE=031206
その上で、
config.bdf の patch を二か所に当てる。
subr_disk.c は 1.57 にする。

#2 [XFree86] X11/xkb

/usr/X11R6/lib/X11/xkb/README.config
これを読むこと。 (ただし XF.4.0.1 + patch には入っていない) cvsweb で見るなら: xc/programs/xkbcomp/README.config

ちなみに outline-mode::

Local Variables:
mode: outline
outline-regexp: "[1-9.]+ \\|\\ +o\\ ......\\|\\ +\\(Section\\|EndSect\\|Identifier\\|Driver......\\|Option......\\)"
End:
outline-regexp: を書く時は、 ^ は要らないが、^ があるものとして書く。従って '\\ ' のように空白の指定が必要。



最近の日記
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)
以上、8 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)