system() call returns 127 in windows xp

2006-08-09 Thread Jeff Lu
I ran into a brick wall and could not find anything on the web and on the post to resolve the problem I'm having, which is a strange one. I have a C program that call system("ls -la > dir.txt") that works fine within bash cygwin. It also has been working on the computers running windows xp with

How to start cron service in cygwin?

2002-01-28 Thread Jeff Lu
Sent: Saturday, January 05, 2002 11:30 AM To: Jeff Lu Cc: Cygwin Subject: Re: How to set up crontab file in cygwin? Hallo Jeff, Please keep Cygwin related discussion on the Cygwin list. Am 2002-01-05 um 19:16 schriebst du: > Can you show the steps in setting up the crontab file > and t

RE: How to set up crontab file in cygwin?

2002-01-28 Thread Jeff Lu
How can I check if my cron service is running? -Original Message- From: Gerrit P. Haase [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 05, 2002 11:30 AM To: Jeff Lu Cc: Cygwin Subject: Re: How to set up crontab file in cygwin? Hallo Jeff, Please keep Cygwin related discussion on

RE: How to set up crontab file in cygwin?

2002-01-28 Thread Jeff Lu
05, 2002 11:30 AM To: Jeff Lu Cc: Cygwin Subject: Re: How to set up crontab file in cygwin? Hallo Jeff, Please keep Cygwin related discussion on the Cygwin list. Am 2002-01-05 um 19:16 schriebst du: > Can you show the steps in setting up the crontab file > and the cron job? usage: cront

strange printing problem in cygwin

2002-01-25 Thread Jeff Lu
Hi, I have a c program that sends data output to different printers. Here is the code: int main() { FILE *printHandle; char contentType[] = "text/html", buffer[100]; printf("Content-Type: %s\n\n", contentType); strcpy(buffer, "This is a test\n"); printHandle = fopen("//pc0/printer0

How to print to network printer in cygwin using C

2001-12-30 Thread Jeff Lu
The network printer is //host_1/printer1 in my C code: printHandle = fopen("//host_1/printer1/, "wb"); fwrite(buffer, sizeof(char), strlen(buffer), printHandle); fclose(printHandle); This was working at one time. But it's not working anymore! Please help somebody -- Unsubscribe info: