Hi, Here's a second attempt at adding FreeBSD support. Hopefully most of the concerns raised about the initial patch set have been addressed. I'll send my "I don't have emacs" patches in a separate email.