Excerpts (reformatted) from Roeland Moors's mail of 20 Aug 2004 (EDT): > > Here's some code that hangs on the read for me: > > > > PROC_FILE = "/proc/acpi/battery/BAT1/state" # freezes > > #PROC_FILE = "/proc/acpi/power_resource/PFAN/state" # doesn't freeze > > I have the same beavior with these files: > PROC_FILE = "/proc/acpi/battery/BAT0/state" # freezes > PROC_FILE = "/proc/acpi/power_resource/PRCF/state" # doesn't freeze > > I can't explain it :-) So, guys, is this a bug in Ruby, or what? (details: ruby 1.8.1 (2004-02-03) [i386-linux] and Linux kernel 2.6.8.1) -- William <wmorgan-ruby-talk / masanjin.net>