C Language Style Guide

2005-01-25 Thread Michael Madden
Is there an accepted standard C language style guide. I'm starting to develop and test my applications on FreeBSD, and I want to ensure my code is readable and maintainable. I've been able to find specific project's guidelines like the following, but I can find a general standard. Does ANSI or

Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread Michael Madden
What is the secret to getting my scroll wheel working on FreeBSD 5.3? If have the following added to /etc/rc.conf: moused_enable=YES moused_flags= moused_port=/dev/psm0 moused_type=auto I've also got the mouse section of /etc/X11/xorg.conf setup as: Section InputDevice Identifier

OpenGL hardware acceleration with FreeBSD 5.3

2005-01-24 Thread Michael Madden
I have a Matrox G400, and I cannot figure out how to get hardware acceleration setup for it. glxinfo still displays direct rendering: No, and OpenGL apps like glxgears are slow. I've made sure I've got the dri and glx modules loaded, and I've added the DRI section to xorg.conf. If it helps,

Re: OpenGL hardware acceleration with FreeBSD 5.3

2005-01-24 Thread Michael Madden
This thought just came to me... Do I need Linux Binary Compatibility packages to get the acceleration? Right now I don't have it setup since I didn't think I'd need it. Thanks, Mike ___ freebsd-questions@freebsd.org mailing list

Router setup with FreeBSD 5.3

2005-01-06 Thread Michael Madden
Does anyone have documentation and/or a tutorial for setting a router with FreeBSD 5.3? I want to share a broadband connection with 5-10 Windows/Linux/FreeBSD boxes. I assume I'll need to setup the two interfaces, gatewaying, and some type of firewall... Thanks, Mike

Re: DNS problems - slow to resolve

2005-01-02 Thread Michael Madden
David Daugherty wrote: Are there tools/commands I can use to determine the resolution time that my lookups are taking? A lot of my web browser requests are timing out (name lookups) and I have to keep hitting refresh until it finally resolves. I'd try using dig: dig www.freebsd.org At the end

Recommended Mail Transfer Agent

2005-01-02 Thread Michael Madden
I'm looking to setup a mail server with FreeBSD 5.3 for a group of around 100 users, and I was wondering which MTA I should use. I have noticed sendmail is the default MTA, but I have no sendmail experience. Also I know historically sendmail has had some serious security issues. Furthermore,

Re: Recommended Mail Transfer Agent

2005-01-02 Thread Michael Madden
Where do I go to learn about sendmail configuration? Pick up the O'Reilly Bat Book Sendmail book. The sendmail.org site is also a very good resource as well as IRC on freenode. Any HOWTO do something standard instructions? Where do I send newbie questions to? Does anyone know of a good

Re: Recommended Mail Transfer Agent

2005-01-02 Thread Michael Madden
Warren Block wrote: So have other MTAs, including one for Postfix not so long ago. Sendmail configuration can be charitably called odd, but it's so widely used that answers can usually be found on google or groups.google.com. Then there's comp.mail.sendmail, and sendmail.org, the bat book,

rsyncd with FreeBSD 5.3 on AMD64

2004-12-31 Thread Michael Madden
Has anyone gotten rsync 2.6.3 working on FreeBSD 5.3. I am using it on AMD64 if it matters. I've made the following rsyncd.conf which works on my FreeBSD 5.2.1 server: log file = /var/log/rsyncd.log hosts allow = 192.168.2.0/255.255.255.0 use chroot = yes uid = root gid = wheel read only = no

Re: FreeBSD PNP OS = NO in system bios configuration?

2004-12-31 Thread Michael Madden
John Conover wrote: Should PNP OS = NO in the PC system bios configuration be used for freeBSD? I was reading through Michael Lucus's highly recommended book 'Absolute BSD', and this is what is said on the matter: While you're in the system BIOS, set the Plus and Play OS option to no. This tells

Programming with Bourne or C shell

2004-12-31 Thread Michael Madden
I have most of my interactive shell experience using bash on Linux and shell programing on Unix-like systems with Bourne shell. Since FreeBSD's default shell is csh/tcsh, I was wondering if it's still considered an atrocity to develop shell scripts with C shell:

Playing DVDs with xine

2004-03-18 Thread Michael Madden
Has anyone gotten xine to play DVDs? I have installed it from /usr/ports/multimedia/xine and setup /dev/dvd, but I keep getting this error: This is xine (X11 gui) - a free video player v0.9.23. (c) 2000-2003 The xine Team. libdvdnav: Using dvdnav version 1-rc3a from http://xine.sf.net libdvdread:

SMP on FreeBSD 5.2.1

2004-03-18 Thread Michael Madden
It looks FreeBSD detects both my processors from dmesg, but I've noticed that top and slmon don't show both processors. Is this a problem with top or slmon? Should I be using a different tool to monitor the processors? CPU: Intel Pentium III Xeon (794.66-MHz 686-class CPU) Origin = GenuineIntel

FreeBSD on PA-RISC workstations

2004-03-11 Thread Michael Madden
Is there any work going on to port FreeBSD to PA-RISC (HPPA) based workstations (9000/700)? We have numerous C110s, C180s, and C200s at work that are just collecting dust. If we put them to use that would be great. Thanks, Mike ___ [EMAIL PROTECTED]

Recommend MTA

2004-03-06 Thread Michael Madden
Which MTA is the recommended one to use on FreeBSD? I've noticed sendmail is installed by default, but my book I've been learning FreeBSD from (The Complete FreeBSD) only covers setting up postfix. Should I go ahead a learn/setup sendmail? If so, where's a good place to find a tutorial on

FreeBSD 5.2 Router Setup

2004-02-13 Thread Michael Madden
I am trying to setup a pc with FreeBSD 5.2 as a router. I've got two NICs setup. My laptop can ping the LAN side of the router (192.168.200.1), and it can also ping the WAN side of the router (172.16.20.10). However, I cannot get past the WAN side of the router to other pcs or the internet, but