[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:31804] Re: lynx-cur on woody



こんにちは。松田陽一@PAL-NET三鷹です。

From: Atsuhito Kohda <kohda@xxxxxxxxxxxxxxxxxxxx>
Subject: [debian-users:31801] Re: lynx-cur on woody (was Re: dpkg --configure まわりのトラブル)
Date: Fri, 15 Feb 2002 16:37:39 +0900

> 答えになってないと思いますが,
> 
> lynx -nocolor

うーん、背景が黒に塗りつぶされて、文字が灰色です。

> あるいは "o"キーを lynx で押して表示される画面で
> 「色を付ける」を選択し「OFF」にする,

元々「色を付ける」を「NEVER」にしてるんです。
状態は全く同じです。

> あるいは ~/.lynx/colors に設定する(設定の仕方は 
> /etc/lynx-cur/lynx.cfg 参照),
> 
> などの方法がありますが,どうも kterm では白が灰色
> になるみたいですね。(これは良く判らないです)

そうなんです。

> あるいは /usr/bin/lynx の # If reverse video
> の一行上をコメントにして一行下のコメントを外して
> みるのも可能性あります。

これも同じです。

> 多分本質的には slang から ncurses にした変更のため
> の影響だと思いますが,kterm 上色付きでマウスが使える,
> という利点も ncurses にはあります(^^;
> 
> また lynx と揃えておきたいですし。。。
> 
> ~/.lynx/colors の設定で良いのがあればデフォルトに
> するのも考えます。良い案があればよろしくお願いします。

これなんですが、 /etc/lynx-cur/lynx.cfg の

.h2 ASSUMED_COLOR
# If built with a library that recognizes default colors, initializes it
# to assume the corresponding foreground and background colors.  Default
# colors are those that the terminal (emulator) itself is initialized to.
# For instance, you might have an xterm running with black text on a white
# background, and want lynx to display colored text on the white background,
# but leave the possibility of using the same configuration to draw colored
# text on a different xterm, this time using its background set to black.
#
# The first value given is the foreground, the second is the background.
ASSUMED_COLOR:default:default

この部分を ~/.lynx/colors にコピーする、ということでよろしいので
しょうか。
この設定にしてもやっぱり青に設定していた kterm の背景が黒に塗り
潰されてしまいます。
--
夜に帰るため夜に帰るため夜に。
松田 陽一(yoh)
mailto:matsuda@xxxxxxxxxxxx
http://www2.palnet.or.jp/~matsuda/index.htm