While I haven't checked how well it supports Yahoo Messenger's other features,
Adium does the job for me. It's a multi-protocol IM client like Trillian and Gaim and has a lot of nice features that Yahoo might not have.
You might never want to use the Yahoo client again. I haven't for years now thanks to Gaim on Linux & Windows and Adium on Mac OS X.