[#1320] [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA)

けいじゅ@日本ラショナルソフトウェアです.

32 messages 1998/01/23
[#1321] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/23

まつもと ゆきひろです

[#1323] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/23

けいじゅ@日本ラショナルソフトウェアです.

[#1332] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/27

けいじゅ@日本ラショナルソフトウェアです.

[#1333] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/27

まつもと ゆきひろです

[#1334] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/27

けいじゅ@日本ラショナルソフトウェアです.

[#1351] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

けいじゅ@日本ラショナルソフトウェアです.

[#1353] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/29

まつもと ゆきひろです

[#1354] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

けいじゅ@日本ラショナルソフトウェアです.

[#1355] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/30

まつもと ゆきひろです

[ruby-dev:1287] Re: slanglib

From: Kikutani Makoto <kikutani@...>
Date: 1998-01-14 04:39:46 UTC
List: ruby-dev #1287
きくたにです。

Wed, Jan 14, 1998 at 01:10:45PM +0900 において
WATANABE Hirofumi さん曰く:

> extconf.rb で kanji_pos のチェックが and に含まれてますが, 
> これは外したほうがいいでしょうね. こんな感じで.
> 
> if have_header("slang.h") and have_header("slcurses.h") and
>       have_library("slang", "SLsmg_refresh")
>       have_func("kanji_pos")
>   create_makefile("slanglib")
> end

たしかにそのとおりです。ありがとうございます。

> それとサンプルのスクリプトで 1 .. 15 で signal の設定してる
> けど, "SIGINT" だけでいいんではないでしょうか? 1 .. 15 とは
> 限らないので.

for i in 1 .. 15  # SIGHUP .. SIGTERM
  if trap(i, "SIG_IGN") != 0 then  # 0 for SIG_IGN
    trap(i) {|sig| onsig(sig) }
  end
end

のところですね。実は意味がよくわからないままcursesのサンプルのを
真似ているのでした。

-- 
人生を背負い投げ

菊谷 誠(Kikutani Makoto)  kikutani@eis.or.jp kikutani@jdc.ericsson.se

In This Thread