[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] need hints and help with Windows



On Fri, Sep 17, 2004 at 08:42:42AM -0700, Douglas Zander wrote:
> Hello, 
> 
> 1) how do I get a listing of the fetch directory? (I wish to see all the files
> I may fetch from Richard's server)

Put "fetch" in your subject to "pbmserv@gamerz.net".

> 2) what are the differences in compiling on a MS Windows machine vs a Unix
> machine?  

No idea.

> 3) how do I print out the board to the console instead of attempting to send it
> through email?  (I need to change sendmail.cpp but I forget how)

On linux, I changed:

	while (count < 60 && (_fp = popen("/usr/sbin/sendmail -t","w")) == NULL) {

to
	while (count < 60 && (_fp = popen("/bin/cat -","w")) == NULL) {

Not sure in windows, as "/bin/cat" doesn't exist.  (Neither does "/usr/sbin/sendmail"!)