--Multipart_Tue_Sep_19_01:21:23_2000-1
Content-Type: text/plain; charset=ISO-2022-JP

立石です.

rubyに標コノユ、ホcursesライブラリで色とマウスを扱うメドなどを
追加してみました.まだkterm上のncursesでしか試していませんので,
動かない環境などの報告などあれば嬉しいです.

サンプルのhello.rb,rain.rbには簡単に色付にしています.また,mouse.rb
というhello.rbを改造してマウスイベントを受けつけるものも用意しました.


--Multipart_Tue_Sep_19_01:21:23_2000-1
Content-Type: application/octet-stream; type=tar+gzip
Content-Disposition: attachment; filename="curses.patch.20000919.tar.gz"
Content-Transfer-Encoding: base64

H4sIABs7xjkAA+0ba3PaxjZfza/Y4E4q2YtBPP2o6yE2SZhgk2KcNNN0GCEWoxokX0nEduLc337P
PiSthATCSd07HauN0e6e9+6ec/YhY+64xN251j1jslMuwbOn7T37sY9WKtWrVfQMlRvVRpn+1iqN
Bvyyp1LX6g2EGlpdq1ZqlVoVIa1Sr1WeodIPliPxmbue7iD0zPN0jyyBu9I9/U6f6Y8h0yM+R8hI
GgG5IzSz5y7ZcYa5tjUit/s+nJE7/P4n1zs+R2NzSvZRcWLPSNH47Bad+fCuSG69IudU9BnizzmH
eI5JPpvWJXLgxzVtC2k71dzIHI9RwUAFB0qhhFtbW0Fhg6pULFWKpToqVfe12n6ltkFxC4VCHGiv
qO0igKjV92slSkV+GNXKLq5WECtSfFqsIngr5BCC/2EseaaB3jc7Fy00O2bUD+L1xgfTGtk3B7nt
WP0ptXjrM7G8A06O1zvDgeuNXMNhtUlSVWu4XuZS8Tn1oX120v2Atm4EJ4S+HUQk/GybIyhZ9oCD
KCqUvgpsYOjopksUeCG9ueWZM9JyHNvBKK9PHaKP7pAxtV0yQhw7rzIWnMPmiIxNi6DXxONiKPbw
L0whr1X09ZPgcQLTaQAgg3PPmRseh3HZOyMKzQLnwEcxx0ihNYVfOVd0eIhKqqwDA2ViFAIxjt+0
jt8qhoqMJAOMHUJ8dMaNdWu1jut1v1uX2XM7ic02rX8EU2//31g7k2ETp1NtF1fq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