Arthur Korn <arthur@korn.ch> writes: > Looking at apmd(8), it seems "change power" would fit, but > unfortunately it doesn't tell you wheter AC was plugged in or > out. Your script could query `apm | grep on-line` or something. -- Alan Shutko <ats@acm.org> - In a variety of flavors! According to the obituary notices, a mean and unimportant person never dies.