Command line mail w/attachment

2003-08-14 Thread C Wells
What is the simplest way to send email from the
command line, so that I can mime attach files (html,
binary, etc). I would like to specify everything on
the command line, because I don't know how to
configure sendmail. I just need to call the email
sending mechanism from a cygwin bash script. Ideas ?
Thanks


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Dueling cygwin DLLs

2002-12-11 Thread C Wells
I needed a new newer cygwin1.dll in order to run the
top utility in procps, but its replacement of an older
DLL caused many other scripts to fail. I can't debug
the ones it affected. Is there a way to have the top
executeable call the new cygwin1.dll called
cygwin2.dll so it can "find an entry point" and run ?
Thanks

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Dueling cygwin DLLs

2002-12-11 Thread C Wells
I knew that solution, but I have inherited 40 scripts
clocking in at 5 meg by departed staff. Tell me the
hard way. I wish it were easier to run a cmdline util
cygwin or other to yield cpu mem stats on win.
Thanks


> > DLL caused many other scripts to fail. I can't
> debug
> > the ones it affected. Is there a way to have the
> top
> > executeable call the new cygwin1.dll called
> > cygwin2.dll so it can "find an entry point" and
> run ?
> 
> No. (Yes, but far from simple, and harder than just
> doing as I recommend
> below.)
> 
> Install the latest cygwin package, then fix your
> scripts.
> 
> Max.
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




write to remote syslogd

2004-05-11 Thread C Wells
I know you can set syslog.conf to point to a remote
syslog daemon, so if you use logger it will get copied
to the remote syslogd, however is there a command in
cygwin (or linux for that matter) that you can use to
send a syslog message directly to a remote syslogd ?
logger seems to write to only to local files. kiwi
makes a nice one called KLOG for win32.
Thanks




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



tail and win file handling

2004-05-18 Thread C Wells
I am sorry if this has been covered before, but I was
wondering if there is work around (probably not ;-(

In unix you can do the following
tail -f /somefile
in another session
rm -f /somefile
echo OK > /somefile

of course the tail stops working, but the file is
recreated

On a cygwin box
tail -f c:/somefile
in another session
rm -f c:/somefile
echo OK > c:/somefile
'Access is denied'

So obviously the tail puts a lock on the file,
preventing an application from creating a new one,
which in my case breaks the application. Any thoughts
about how work around this, given I need to tail the
file ?

Thanks





__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: tail and win file handling

2004-05-18 Thread C Wells
I can't change the application unfortunately, if I
could I'd have it only log interesting stuff rather
than the garbage it does.

Is it worth trying maybe to link the file and tail the
link ? or mess with a tee command ??

--- Larry Hall <[EMAIL PROTECTED]> wrote:
> re tail and win file handles.

> Your going to have to use a different file name. 
> Windows doesn't 
> support the same semantics in this case.  The
> emulation Cygwin provides
> is as close as you're going to get (which ain't that
> close but... ;-) ).
> 




__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



bad install ?

2007-02-01 Thread C Wells
I can't figure out what I have done or not done to
make .sh scripts NOT run in my seemingly ok cygwin
install.

My script.sh
#!/bin/bash
PATH=/bin:/usr/bin
echo OK

# bash -x script.sh
+ PATH=$'/bin:/usr/bin\r'
+ $'\r'
: command not found
+ $'\r'
: command not found

Is it a Unix - DOS thing ? 
Thanks


 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/