掲示板 - 2001年10月の Messages

 
Message-Id: <20011031124004.25399@www2u.biglobe.ne.jp>
Date: Wed, 31 Oct 2001 12:40:04 +0900 (JST)
From: hsaka
Subject: mlterm

mlterm が凄い勢いで開発されている。 まだ、*BSD, Linux でしか動かないと思うけれどメジャーデビューも近いかも。
Message-Id: <20011025222826.06425@www2u.biglobe.ne.jp>
Date: Thu, 25 Oct 2001 22:28:26 +0900 (JST)
From: hsaka
Subject: mlterm ML

mlterm の ML が出来たみたい。
Message-Id: <20011024202633.11893@www2u.biglobe.ne.jp>
Date: Wed, 24 Oct 2001 20:26:33 +0900 (JST)
From: hsaka
Subject: 買ったもの

買ったもの。 う〜ん。ここ最近、散財気味。 でも、まあ人並だろう。
Message-Id: <20011024163640.29527@www2u.biglobe.ne.jp>
Date: Wed, 24 Oct 2001 16:36:40 +0900 (JST)
From: hsaka
Subject: 帰休日

今日は帰休日。ってことで、16:00 まで寝てました(おぃおぃ)。

先日、FreeBSD PRESS No.7 買いました。DVD 読めん。 いい加減、PC 買うか。今のはこれだし…

xlhtml-0.3 が(やっと)リリース。 ついでにメーリングリストも出来ているよう。


Message-Id: <20011022011951.00481@www2u.biglobe.ne.jp>
Date: Mon, 22 Oct 2001 01:19:51 +0900 (JST)
From: Ikegami
Subject: おやすみ?

某電気会社のおやすみ情報を/.でみたのですが・・・
いずこも大変ですね。

ようやく「ハイペリオンの没落」を読み始めました。
途中に「スコーリア戦史」「ドラゴンファーム」とか
いろんなものが間に入ったので前作の情報が混乱してます。
会社の往復だけで読んでるので今週いっぱいかかりそう。

Message-Id: <20011020105846.24717@www2u.biglobe.ne.jp>
Date: Sat, 20 Oct 2001 10:58:46 +0900 (JST)
From: hsaka
Subject: Re: w3mのインストール方法

w3m-0.2.1-inu-1.4 を使ってみていただけませか。 また、最近、w3m-dev ML でも少し話題になっているので、見てみてください。
Message-Id: <20011019161000.05156@www2u.biglobe.ne.jp>
Date: Fri, 19 Oct 2001 16:10:00 +0900 (JST)
From: koba
Subject: Re: w3mのインストール方法

kobaです。

ご助言ありがとうございます。

さっそくcygwinとw3mをダウンロードして
インストールを試みたのですが、
makeのところで、以下のメッセージが出て
エラーになります。

make[1]: *** [w3m.exe] Error 1
make[1]: Leaving directory `/usr/w3m-0.2.1'
make: *** [install] Error 2

原因がいまいちわからず、止まっています。(T_T)

Message-Id: <20011018130828.09742@www2u.biglobe.ne.jp>
Date: Thu, 18 Oct 2001 13:08:28 +0900 (JST)
From: hsaka
Subject: Re: w3mのインストール方法

こんにちは > KOBA さん。

Windows で w3m を動かすには Cygwin というものが必要になります。 (『Cygwin w3m』で検索してみてください。)

とりあえずは、『cygwin32 で快適windowsらいふ』 あたりのページが参考になるでしょうか。(少々、情報が古いです。)
また、w3m の作者の掲示板 『aito 連絡帳』 も参考になるかと思います。


Message-Id: <20011018114023.19646@www2u.biglobe.ne.jp>
Date: Thu, 18 Oct 2001 11:40:23 +0900 (JST)
From: koba
Subject: w3mのインストール方法

はじめまして、KOBAです。

windowsマシンにw3mをダウンロードして
インストールしたいのですが
よくわかりません。
windowsマシンのインストール方法等
やさしく解説しているようなホームページ等
あれば、ご教授ください。

Message-Id: <20011016231705.23265@www2u.biglobe.ne.jp>
Date: Tue, 16 Oct 2001 23:17:05 +0900 (JST)
From: hsaka
Subject: xlhtml-0.2.9.14

xlhtml-0.2.9.14 がリリースされていた。 今回から xlHtml → xlhtml と名前を変えるらしい。 なぜゆえ?
Message-Id: <20011015110606.24971@www2u.biglobe.ne.jp>
Date: Mon, 15 Oct 2001 11:06:06 +0900 (JST)
From: hsaka
Subject: Re: Mozilla

Mozilla が動かない件。 こういう情報が…。やっぱりバージョンアップしよう。 FreeBSD PRESS No.7 に 4.4-RELEASE CD-ROM が付くらしいし。

おや。FreeBSD PRESS No.7 には w3m-img の話も載るんだ。買い決定。


Message-Id: <20011011225459.16800@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 22:54:59 +0900 (JST)
From: hsaka
Subject: w3m-img-1.11-1.11.1.patch (Re: xwnmo で問題)

w3m-img-1.11-1.11.1.patch としてまとめました。
Message-Id: <20011011202425.00775@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 20:24:25 +0900 (JST)
From: yamamoto
Subject: Re: xwnmo で問題

これらのパッチでばっちり表示できました。
ありがとうございます。

一応さきほどのコマンドの実行結果をつけます。

$ /usr/lib/w3m/w3mimgdisplay -test && echo OK
OK
$ /usr/lib/w3m/w3mimgdisplay -debug
window=480000f parent=1c003ee nchildren=1 x=0 y=0 width=585 height=340
children[0]=480003f x=0 y=0 width=585 height=340
window=480003f parent=480000f nchildren=7 x=0 y=0 width=585 height=340
children[0]=1000099 x=0 y=0 width=7 height=14
children[1]=100009a x=0 y=0 width=585 height=14
children[2]=100009b x=0 y=0 width=62743 height=14
children[3]=100009c x=0 y=0 width=7 height=14
children[4]=100009d x=0 y=0 width=7 height=14
children[5]=100009e x=0 y=0 width=7 height=14
children[6]=4800048 x=-1 y=-1 width=20 height=340
children[0]=1000099 x=0 y=0 width=7 height=14
children[1]=100009a x=0 y=0 width=585 height=14
children[2]=100009b x=0 y=0 width=62743 height=14
children[3]=100009c x=0 y=0 width=7 height=14
children[4]=100009d x=0 y=0 width=7 height=14
children[5]=100009e x=0 y=0 width=7 height=14
children[6]=4800048 x=-1 y=-1 width=20 height=340

Message-Id: <20011011195319.19799@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 19:53:19 +0900 (JST)
From: hsaka
Subject: Re: xwnmo で問題

まだ、だめですね。さらに、この patch も当ててください。

--- w3mimgdisplay.c.1	Thu Oct 11 19:49:12 2001
+++ w3mimgdisplay.c	Thu Oct 11 19:49:18 2001
@@ -74,7 +74,7 @@
     Window root, *children;
     XWindowAttributes attr;
     XColor screen_def, exact_def;
-    int revert, nchildren, len;
+    int revert, nchildren, len, width, height;
     char buf[1024 + 128];
     int i;
     char *id;
@@ -94,7 +94,6 @@
     if (defined_test) exit(0);		/* test OK */
 
     while (1) {
-	int width, height;
 	Window p_window;
 
 	XQueryTree(display, window, &root, &parent, &children, &nchildren);
@@ -132,7 +131,7 @@
 		fprintf(stderr,
 			"children[%d]=%x x=%d y=%d width=%d height=%d\n", i,
 			children[i], attr.x, attr.y, attr.width, attr.height);
-	    if (attr.x <= 0 && attr.width < 30) {
+	    if (attr.x <= 0 && attr.width < 30 && attr.height > height * 0.7) {
 		/* scrollbar of xterm/kterm ? */
 		offset_x += attr.x + attr.width + attr.border_width * 2;
 		break;

Message-Id: <20011011192953.09732@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 19:29:53 +0900 (JST)
From: hsaka
Subject: Re: xwnmo で問題

なるほど。以下の patch でどうですか。
# しかし、width=62743 height=14 って何の window だろう。

--- w3mimgdisplay.c.orig	Thu Oct 11 19:05:06 2001
+++ w3mimgdisplay.c	Thu Oct 11 19:19:11 2001
@@ -94,29 +94,32 @@
     if (defined_test) exit(0);		/* test OK */
 
     while (1) {
-	unsigned int size = 0;
+	int width, height;
 	Window p_window;
 
 	XQueryTree(display, window, &root, &parent, &children, &nchildren);
 	if (defined_debug)
-	    fprintf(stderr, "window=%x root=%x parent=%x nchildren=%d\n",
-		window, root, parent, nchildren);
-	if (! size) {
-	    XGetWindowAttributes(display, window, &attr);
-	    size = attr.width * attr.height;
-	}
-	size *= 0.5;
+	    fprintf(stderr, "window=%x parent=%x nchildren=%d",
+		window, parent, nchildren);
+	XGetWindowAttributes(display, window, &attr);
+	if (defined_debug)
+	    fprintf(stderr,
+			" x=%d y=%d width=%d height=%d\n",
+			attr.x, attr.y, attr.width, attr.height);
 	p_window = window;
+	width = attr.width;
+	height = attr.height;
 	for (i = 0; i < nchildren; i++) {
 	    XGetWindowAttributes(display, children[i], &attr);
 	    if (defined_debug)
 		fprintf(stderr,
 			"children[%d]=%x x=%d y=%d width=%d height=%d\n", i,
 			children[i], attr.x, attr.y, attr.width, attr.height);
-	    if (attr.width * attr.height > size) {
+	    if (attr.width > width * 0.7 && attr.height > height * 0.7) {
 		/* maybe text window */
-		size = attr.width * attr.height;
 		window = children[i];
+		width = attr.width;
+		height = attr.height;
 	    }
 	}
 	if (p_window == window)

Message-Id: <20011011185827.22274@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 18:58:27 +0900 (JST)
From: yamamoto
Subject: Re: xwnmo で問題

こんな感じです。

$ /usr/lib/w3m/w3mimgdisplay -test && echo OK
OK
$ /usr/lib/w3m/w3mimgdisplay -debug
window=680000f root=25 parent=1c009e3 nchildren=1
children[0]=680003f x=0 y=0 width=585 height=340
window=680003f root=25 parent=680000f nchildren=7
children[0]=1004c8f x=0 y=0 width=7 height=14
children[1]=1004c90 x=0 y=0 width=564 height=14
children[2]=1004c91 x=0 y=0 width=62743 height=14
children[3]=1004c92 x=0 y=0 width=7 height=14
children[4]=1004c93 x=0 y=0 width=7 height=14
children[5]=1004c94 x=0 y=0 width=7 height=14
children[6]=6800048 x=-1 y=-1 width=20 height=340
window=1004c91 root=25 parent=680003f nchildren=1
children[0]=1004c97 x=0 y=0 width=1407 height=14
children[0]=1004c97 x=0 y=0 width=1407 height=14

Message-Id: <20011011184518.20234@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 18:45:18 +0900 (JST)
From: hsaka
Subject: Re: xwnmo で問題

環境がないのでさっぱり分かりませんが、
  /usr/local/lib/w3m/w3mimgdisplay -test && echo OK
  /usr/local/lib/w3m/w3mimgdisplay -debug
とやるとどうなりますか?
(/usr/local はインストール時の prefix に置き換えてください。)
Message-Id: <20011011174647.28151@www2u.biglobe.ne.jp>
Date: Thu, 11 Oct 2001 17:46:47 +0900 (JST)
From: yamomoto
Subject: xwnmo で問題

山本と申します。
w3m-0.2.1-inu-1.4-img-1.11.patch 使わせてもらいました。
うーんすばらしいです。
いろいろ試したところ kterm+xwnmo(Wnn7) ではインライン表示できませんでした。
これはどうにかなりませんでしょうか。

Message-Id: <20011010172820.03889@www2u.biglobe.ne.jp>
Date: Wed, 10 Oct 2001 17:28:20 +0900 (JST)
From: hsaka
Subject: Mozilla

敵情視察ということで(おぃ、 nightly latest Mozilla を入れてみた(Linux 版と Solaris 版)。 Netscape 4.x よりはさすがに良さげ。 w3m には負けるけど(おぃ。
FreeBSD 3.3R でもソースから make してみたけれど、 バイナリはできるのに立ち上がらない(;_;)。何で?

なお、私の中では w3m は Gozilla の宿敵 King Gidra ということになってます(^^)。 頭3つで翼があって似てるでしょ。冠にも見えるし。 プラテノドンって噂もあるけど。


Message-Id: <20011010102056.19478@www2u.biglobe.ne.jp>
Date: Wed, 10 Oct 2001 10:20:56 +0900 (JST)
From: hsaka
Subject: chmod -R +rX

知らなかった。メモメモ。
Message-Id: <20011003205109.15153@www2u.biglobe.ne.jp>
Date: Wed, 03 Oct 2001 20:51:09 +0900 (JST)
From: hsaka
Subject: 困ったちゃん

困ったちゃん出現。 あのなぁ、JIS 第 1水準だけいいんなら 機種依存字とか JIS X 0213 なんて出てくるわけないでしょうが。 kubota さん、ご苦労様。 つうか、Native に反論されたら引っ込みなさい。
Message-Id: <20011003201946.00332@www2u.biglobe.ne.jp>
Date: Wed, 03 Oct 2001 20:19:46 +0900 (JST)
From: hsaka
Subject: ありゃりゃ

ありゃりゃ。掲示板の CGI がバグってる。 情けなや。修正は簡単だけれど、ここからじゃ up できん。

ホームページへ 新着情報 コンピュータ コラム ダウンロード
用語集(索引) 用語集 プロフィール リンク w3m おぼえがき

このページへのお問い合わせは hsaka@mth.biglobe.ne.jp まで御願いします。