Re: How can I run a script?

2008-01-14 Thread Vidiot
>Now all I have to do is setup in windoze scheduler and move about 30GB of data. >btb And you are not using cron because of what reason? The Windblows scheduler is a royal pain. With cron you are done in a matter of moments. MB -- e-mail: [EMAIL PROTECTED]/~\ Th

Re: how to change the prompt in Cygwin

2008-01-05 Thread Vidiot
>Could you please help on how to remove the path display in my Cygwin? >It looks like following and I don't like it: > >[EMAIL PROTECTED] /cygdrive/c/Documents and Settings/Desktop >$ > >I want to change to > >[EMAIL PROTECTED] > >it is concise and good enough. please suggest. I use zsh, but the f

Writes to Samba mount, sort-of

2007-11-18 Thread Vidiot
>From within a terminal, I run zsh. I have no trouble, via the command line, creating files on a Samba mount, or transferring files to the Samba mount. When I try and do the same thing from within a cron job, that starts a zsh script, I cannot create or copy files to a Samba mount. Can anyone th

Re: How is cron started

2007-10-11 Thread Vidiot
>Start | Control Panel | Administrative Tools | Services When I re-enabled my password, both cygrunsrv and cron started and showed up in my process list. MB -- e-mail: [EMAIL PROTECTED]/~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribb

Re: How is cron started

2007-10-10 Thread Vidiot
>Start | Control Panel | Administrative Tools | Services Thanks, it actually started. I forgot that it was cygrunsrv and it is in the task manager list of tasks. Now to figure out what went wrong. Isn't cygrunsrv supposed to show up when I do a ps? MB -- e-mail: [EMAIL PROTECTED]

How is cron started

2007-10-10 Thread Vidiot
At the moment, my piece of crap mobo wants to screw up every now and then. I'm looking for a different mobo and processor. Tonight, for example, it decided to croak and reboot. So, I wanted to turn off having to log in so that my stuff will restart. I don't remember how I set XP to cause the log

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
Larry responded: >The 'setup.exe' code is in a "challenged" state which can make adding >features "challenging". Perhaps you'd like to provide a Sun installer >and then port it to Cygwin. ;-) Now we are just being funny. :-) I said that I could use the Sun package facility for doing installs an

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
Igor posted: >What do you mean, nothing? What about this: >? As I indicated in a previous posting, I text searched the large FAQ for cron and came up with nothing. Your reference has the following: There is a comprehensive C

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
DaveK responded: > No, it's a really bad idea. Interesting. > Your suggestion amounts to "People might look in the wrong place for the >documentation, so put all the documentation in every single place they might >look". Yes and no. As I pointed out, the on line web page says that the user d

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
Larry: >You may be surprised to find out that these ideas are not new. What's been >missing in the past has been patches that do something like what you suggest >in a compelling way. If you're interested, you may be able to remedy that. I'm happy to read that the idea isn't new. As much as I'd

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
I just thought of something else. Why not have the setup program have a section where it asks if the user wants to start services like cron and ssh, where there would be the selection box and at the bottom of the GUI it would tell the user to reference the readme files in the doc directory as well

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
Larry responded: >Both 'cron' and 'ssh' have config scripts that handle installing and >starting the service for you, if you let them. They are documented in >their README files in '/usr/share/doc/Cygwin'. 'cygrunsrv --help' gives >you an overview of the command and it's available options. That

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-25 Thread Vidiot
I GOT IT WORKING! The clues that got me thinking were the login problems with cron-config and the manual timer setup problems with TSReader. Both complained about not being able to complete, because of login problems. So, I set up the system in classic login mode and sure enough, I couldn't

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-24 Thread Vidiot
Brian responded: Sorry about all of the silly questions, though not so silly to me, since I don't set up cygwin everyday and have only done it once, quite a while ago. THerefore I have forgotten most of what I did to set it up in the first place. >Probably because you had no mount table. But th

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-24 Thread Vidiot
le, it had a permission denied when trying to write my tabs/Vidiot file, just as it was expected. As previously posted, I have no idea how to change the permission of said files. I also just looked at all of the running processes and I don't see anything with cron in the process name. I

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-24 Thread Vidiot
Jason reponded: >Is this Windows XP Professional or Home? You may be using Simple File >Sharing (http://support.microsoft.com/kb/304040) which dumbs down the >security permission rules quite a bit. Pro >Turn it off if you can and you will have a 'Security' tab on the >properties when you right-

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-24 Thread Vidiot
Larry Hall responded: >'setup.exe' will only remove files when uninstalling or upgrading. It won't >remove configuration files that have been modified. Also, if the "user >files" in question were not installed by Cygwin, they will not be touched. Thanks. >> Also, where was/is the crontab file

Reloaded Win XP, now need to reload cygwin - sorta

2007-06-23 Thread Vidiot
I had to replace the mobo because, well, simple, the other one died :-( I had to reload WinXP-SP2 because the mobo drivers that were there didn't simply cause an error and abort, they caused (or at least the one that did this) the boot process to fail and caused a reboot. So, XP-SP2 was reloaded.

Re: FW: 200 GB drive has room but gzip indicates "No space left on device"

2006-05-29 Thread Vidiot
See, I am not the only one who fails to remember to change the reply. >Replies to mailing list mail should go to the mailing list, not the >poster... > >-Original Message- >From: David Christensen [mailto:[EMAIL PROTECTED] >Sent: Monday, May 29, 2006 2:05 PM >To: 'Dave Korn' >Subject: RE

Re: sh script works, zsh script doesn't

2006-05-27 Thread Vidiot
>Either that or you are just hitting "Reply" instead of "Reply-All". Further >discussion of this is OT for this list though so if you have further comments >that you'd like to share, you'll need to follow-up on the cygwin-talk list. >Larry Hall http://www.rfk.com Corr

Re: sh script works, zsh script doesn't

2006-05-26 Thread Vidiot
>There is nothing wrong with this mail list, although it may not conform to >your personal preference. This list does not dictate to the sender where >replies will go. It leaves that up to the sender. If posters want email >to go to the list rather than to them, it's simply a matter of setting t

Re: sh script works, zsh script doesn't

2006-05-26 Thread Vidiot
IT WORKS!!! The original problem with the "-a 0" being a combined value was it. When I separated them, I get the echo into the log correct for the new variable names, but had a typo for for one of them in the actual command launch. Thanks for the pointer/tip. Onward and upward. MB -- e-mail:

Re: sh script works, zsh script doesn't

2006-05-26 Thread Vidiot
[Can the listmaster fix the mail list so that it sends the reply back to the list and not to the poster? I sent the e-mail before remembering that this mail list gets it wrong, at least AFAIAC.] >Vidiot doesn't really state how zsh fails, so I'd really like more >details as to

Re: sh script works, zsh script doesn't

2006-05-26 Thread Vidiot
>I think that the problem is the difference between ZSH's parameter >expansion and sh's parameter expansion. I think that your $MUX gets >expanded into single parameter "-a 0", instead of two parameters "-a" >and "0", that you expect. I separated MUX into two separate variables. Believe it or not

Re: sh script works, zsh script doesn't

2006-05-25 Thread Vidiot
An added tidbit. I turned the LOG script into a Z-shell script by changing the first line to "#!/usr/bin/zsh" and tsreader started just fine. It is the main Z-shell script that is having trouble starting tsreader and I have no clue why. MB -- e-mail: [EMAIL PROTECTED]

sh script works, zsh script doesn't

2006-05-25 Thread Vidiot
At the end of this e-mail is the script that I am attempting to run. As it is current written, the tsreader program will start and run, IFF the $LOG file is told to run. As can be seen, it is built as a SHell script. If I comment out the ling that start $LOG and uncomment the line at the very en