すみません,質問させてください Emacsで英和/和英辞書を利用できる sdic というソフトを http://namazu.org/~tsuchiya/sdic/index.html ここを見ながらインストールしてたんですが 辞書ファイルを作成する make dict とすると test -f gene95.lzh -o -f gene95.tar.gz -o -f gene95.tar.bz2 if [ -f gene95.lzh ]; then lha x gene95.lzh gene.txt; elif [ -f gene95.tar.gz ]; then /usr/bin/gzip -dc gene95.tar.gz | tar xf - gene.txt; else /usr/bin/bzip2 -dc gene95.tar.bz2 | tar xf - gene.txt; fi test -s gene.txt no -S -e gene.txt | /usr/bin/perl contrib/gene.perl > gene.sdic no: not found
となるんです.このまま続けると一応使えるようになるんですが, 和英辞書はちゃんと動くんですが,英和(gene95)が動いてくれません. make dictでのgene.txt→gene.sdicの変換がうまくいってない見たいです. /usr/local/share/dict/gene.sdic のサイズも6バイトしかありません. make dictしたときのログから,'no'というコマンドが無くて変換できなかった みたいですが,この'no'ってなんでしょう? どうやったらちゃんと変換できるでしょうか?
% dmesg | grep de の結果はこんなかんじです coregaのカードはFEther_PCI-TXSです
Preloaded elf kernel "kernel" at 0xc0520000. Using $PIR table, 11 entries at 0xc00fdea0 pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <NVidia model 0111 graphics accelerator> at 0.0 irq 10 pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 ohci0: <NEC uPD 9210 USB controller> mem 0xef021000-0xef021fff irq 11 at device 0.0 on pci2 ohci1: <NEC uPD 9210 USB controller> mem 0xef022000-0xef022fff irq 11 at device 0.1 on pci2 atapci0: <Promise ATA100 controller> port 0xa000-0xa03f,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 mem 0xef000000-0xef01ffff irq 11 at device 1.0 on pci2 rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem 0xef023000-0xef0230ff irq 10 at device 4.0 on pci2 isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0 atapci1: <Intel ICH2 ATA100 controller> port 0xf000-0xf00f at device 31.1 on pci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xb000-0xb01f irq 11 at device 31.2 on pci0 pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 0 uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xb400-0xb41f irq 11 at device 31.4 on pci0 pcm0: <Intel 82801BA (ICH2)> port 0xbc00-0xbc3f,0xb800-0xb8ff irq 11 at device 31.5 on pci0 psm0: model Generic PS/2 mouse, device ID 0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode Mounting root from ufs:/dev/ad0s1a
>>557 ありがとうございます。 実は正規表現はよく分かってないです(汗 せっかく教えて頂いたのにすみません。 一応自分で試行錯誤したらsedを使って以下のように すればできるようです。 #!/bin/sh for MOD in *.tar.bz2; do MOD=$(echo $MOD | sed -e "s/\.tar\.bz2//") ・・・・ done これでMODに正しくファイル名からサフィックスを取り除いた 値を取得することができました。
$ groff -Tps XXX.ps |less XXX.ps:3901: warning: can't find special character `PV' XXX.ps:3930: warning: can't find special character `S)' XXX.ps:3938: warning: can't find special character `Gn' XXX.ps:3941: warning: can't find special character `us' XXX.ps:4002: warning: can't find special character `wi' XXX.ps:4124: warning: can't find special character `)p' XXX.ps:4135: warning: can't find special character `wh' XXX.ps:4158: warning: can't find special character `Se' XXX.ps:4171: warning: can't find special character `su' XXX.ps:4172: warning: can't find special character `a,' XXX.ps:4337: warning: can't find special character `he' XXX.ps:4381: warning: can't find special character `in'
ghostscript-gnu-7.05_1 GNU Postscript interpreter ghostscript-gnu-commfont-7.05 GNU ghostscript with Japanese Font support ghostview-1.5 An X11 front-end for ghostscript, the GNU postscript previe ja-ghostscript-gnu-jpnfont-7.05 GNU ghostscript with Japanese Font support ja-vfghostscript-5.50a_5 GNU Postscript and PDF interpreter with Japanese vector fon pkfonts600-1.0 English PK fonts, for ghostscripts, xdvi and so on
Please type another input file name ! Emergency stop. <*> ...nex; mag:=1+0/600; nonstopmode; input min10
Transcript written on mfput.log. grep: min10.log: No such file or directory mktexpk: `mf \mode:=canonex; mag:=1+0/600; nonstopmode; input min10' failed to make min10.600pk. kpathsea: Appending font creation commands to missfont.log. No font file for min10 (mag 1000) (use -d option to know the font file names tried) [/usr/local/lib/dvi2ps/headers/dvi2.ps] Reading font info .. [1]
INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 < System error?:: No such file or directory Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. INTERNAL ERROR on Browser End: Could not read ack from browser System error?:: Resource temporarily unavailable
[1] 255で終了しました mozilla
この原因はなんでしょうか?インストールしたjdkは jdk-1.3.1p7 Java Development Kit 1.3 linux-sun-jdk-1.3.1.04_1 Sun Java Development Kit 1.3 for Linux です。ports/java/jdk13からインストールしました。 分かる方いましたら教えて頂けないでしょうか。