Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba

2008-01-31 Thread BB
Use ssh keys On 1/31/08, Terry Orechia <[EMAIL PROTECTED]> wrote: > Hi, > >I am getting "system error 59" when I run "net use z:server\\share > /user:user1 " to access a samb shared drive in an openssh windows > session where I use passwordless login with command "ssh -i > user1@ " to log

Re: How can I run a script?

2008-01-14 Thread BB
E: chdir E:\cygwin\bin bash --login -i -c 'rsync -avz --remove-source-files [EMAIL PROTECTED]:/home/test/* /cygdrive/e/Earchives' Works fine, last a long time. Added one more tweak --remove-source-files Now all I have to do is setup in windoze scheduler and move about 30GB of data. Then get th

Re: How can I run a script?

2008-01-14 Thread BB
I also assume if running in a windoze envirment it needs to end with *.bat extension since windoze doesn't have a clue what *.sh is? On 1/14/08, Mirco Piccin <[EMAIL PROTECTED]> wrote: > Hi again. > > > The base install of cygwin is on an E: drive. C: didn't have enough room. > > > > So if I unde

Re: How can I run a script?

2008-01-14 Thread BB
Actually my intent is to run this from an automated schedular. As Eric described it could be run from cron like any other Unix shell script but I really don't want to add a cron daemon. Was thinking windoze schedular. The base install of cygwin is on an E: drive. C: didn't have enough room. So

How can I run a script?

2008-01-13 Thread BB
can login to a shell from windows and run commands but how do I create a script Something like - date sleep 5 Or this is actually what I'm trying to do - rsync -avz [EMAIL PROTECTED]:/home/funnel/Jan* /cygdrive/e/Earchives -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pro

Re: Latest cygwin and rsync

2007-11-13 Thread BB
On Nov 13, 2007 6:16 PM, David Rothenberger <[EMAIL PROTECTED]> wrote: > On 11/13/2007 6:49 AM, BB wrote: > > Option for rsync --remove-source-files does not work. > > > > Complains --remove-source-files unknown > > > > rsync -avz --remove-source-files [EMAI

Re: Latest cygwin and rsync

2007-11-13 Thread BB
This shows you using a "dry run" option. You are not using a source machine:/dir/file target machine:dir What happens when you actually transfer files and use the --remove-source-files option? On Nov 13, 2007 10:41 AM, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * BB (Tue, 1

Latest cygwin and rsync

2007-11-13 Thread BB
Hello All, Have downloaded the latest version of cygwin. Also the latest version of rsync. Option for rsync --remove-source-files does not work. Complains --remove-source-files unknown rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo . I need to be able to remove files from the so

Re: cygpath bug?

2003-06-13 Thread BB
"Shankar Unni" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > BB wrote: > > > Shouldn't GetShortPathName() == 0 always cause the get_short_name() > > function to fail? > > I would sincerely hope not. I see no reason why cygpath conversi

cygpath bug?

2003-06-12 Thread BB
I'm trying to use cygpath to convert a windows path with long directory and filenames to a unix style path with only short directory and filenames. dos_pathname=cygpath -d "$1" # check for errors unix_pathname=cygpath -u "$dos_pathname" # check for errors I expected cygpath to return non-zero if

Re: Bug in GUI App WinMain Arguements

2003-04-04 Thread BB
build (which by the way outclasses > anything any make can do) > /cygdrive/c/Documents and Settings/cygusr //becomes > /cygdrive/c/DOCUME~1\cyguser //workaround for 95/98 inability to > handle spaces in directory name > > Martin > - Original Message ---

Bug in GUI App WinMain Arguements

2003-04-04 Thread BB
ly installed. Also, according to the "Cygwin Users Guide", I have included the following line in the code. WinMainCRTStartup() { mainCRTStartup(); } It doesnt seem to be called. Is the User Guide correct? The same problem occurs if I omit the line and use the "-e _mainCRTStartup"

Bug in select/read with serial tty

2003-03-28 Thread BB
debug_printf ("WaitCommEvent"); goto err; } ... } I could look into this more, but I haven't had much luck debugging the Cygwin dll code. I can't seem to build the system so I can trace into the read. BB. begin 666 bug.c M(VEN8VQU9&4@/'1E"[EMAIL

Re: tar and gzip

2003-03-27 Thread BB
"Krzysiek Pawlik" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi all! > > I wrote a small script in Python, but it requires two programs to run > correctly: tar.exe and gzip.exe. Both are in CygWin package. And that's my > question: can I bundle both programs and cygwin1.dll wi

Re: inetd/telnet on win98 vs WinXP

2003-03-20 Thread BB
it caused telnet to skip the user id prompt and immediately prompt for the password. "BB" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When I use inetd Win98 and telnet to it, I get a prompt for a password. > When I telnet to inetd on XP, it prompts for a u

inetd/telnet on win98 vs WinXP

2003-03-20 Thread BB
When I use inetd Win98 and telnet to it, I get a prompts for a password. When I telnet to inetd on XP, it prompts for a user id and then a password. Is there any reason for this inconsistency? Is there anything I can do to make them consistent? My guess is that is has something to do with the use

Re: agetty problem win Win95 - BUG?

2003-03-18 Thread BB
Is there a known problem with Win9x serial io? I built a new Win98 machine and installed the latest version of Cygwin on it. The problem described below occurs on Win98 also. I don't think this is an agetty problem. It just shows up when agetty is used. Is anyone using agetty with Win9x?

Re: Updated: cygwin-1.3.22-1 -- Mirrors question

2003-03-18 Thread BB
The cygwin.com homepage has two news items "New Cygwin DLL 1.3.21-1 release", probably a typo. "Randall R Schulz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Rick, > > Mirrors pull, they don't push. Apart from allowing the mirror sites > access to the master file repository at cy

agetty problem win Win95

2003-03-17 Thread BB
I was having a problem using agetty on Win95 with a modem. I tried with a null modem cable. The same problem occurs. Could there be a problem with the icanon stty option on Win95? This works fine running agetty on XP. Is there any documentation of Cygwin's limitations on Win9x platforms? On Wi

Re: agetty problem - inconsistent echo

2003-03-14 Thread BB
o come up with a solution that will be used on many old machines that cannot be easiliy upgraded to XP without a significant hardware investment, so getting this to work would really help me. Thanks, BB "Randall R Schulz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

Re: agetty problem - inconsistent echo

2003-03-14 Thread BB
mrk -inpck istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe -echok -echonl -noflsh -tostop echoctl echoke "Randall R Schulz" <[EMAIL PROTECTED]> wrote in message n

agetty problem - inconsistent echo

2003-03-14 Thread BB
I am using agetty with both Win95 and WinXP. On WinXP everything works fine. On Win95, I have a problem. When the Win95 machines modem answers the call, agetty correctly prompts for the login: id. I type it in and notice that every character I type is immediately echoed back to me (I'm using hyp

Re: agetty process cleanup after loss of carrier

2003-03-13 Thread BB
"BB" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm trying to use agetty and have been having a problem. I would appreciate > any help I can get. > > When I use bash as a users login shell and the incomming connection hangs up > without ex

agetty process cleanup after loss of carrier

2003-03-12 Thread BB
I'm trying to use agetty and have been having a problem. I would appreciate any help I can get. When I use bash as a users login shell and the incomming connection hangs up without exiting the shell, the bash process is eventually cleaned up. When I use pdksh as the login shell, it doesnt get cl

cron & init with Win9x

2003-03-03 Thread BB
Hopefully back in the Win9x days, this problem was solved... I have a need to run Cygwin on Win9x platforms, including Win95. I need to use cron and agetty for a dial in connection. Is this possible? I've tried to research this question but haven't been able to find a definitive answer. Upgradin

Re: Setup "Download from Internet" Question

2003-02-27 Thread BB
As a followup question, In order to create a CD to install from, would it be better to simply ftp the files from one of the mirror sites. What would the correct directory structure have to be for setup to install from the d:\cygwin-setup as a local source assuming d: was a cd? Would this be enoug

Setup "Download from Internet" Question

2003-02-27 Thread BB
What is the correct way to use setup's "Download from Internet" option to download all of the Cygwin packages without installing them? I am trying to download all of the Cygwin packages so I can put them on a CD. I have to install Cygwin on a machine without internet access. Below is a summary o

Re: pdksh installation

2003-02-27 Thread BB
"Paul Coltrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I am also looking forward to the release of a built-in ksh for > Cygwin. > > And, I can see that you wouldn't want to bug the maintainer with > frivilous questions that would delay what you are looking for. > > However,

Re: pdksh installation

2003-02-27 Thread BB
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, Feb 27, 2003 at 10:06:25AM -0600, BB wrote: > >Well, I guess this would be the wrong mailing list for the question. > >Perhaps 'applications' would have been the

Re: pdksh installation

2003-02-27 Thread BB
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, Feb 26, 2003 at 02:45:36PM -0500, Igor Pechtchanski wrote: > >On Wed, 26 Feb 2003, you (whoever you are) wrote: > >>I have read in the cygwin-apps list that pdksh is available. Until it > >>is officially an

Re: pdksh installation

2003-02-27 Thread BB
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, Feb 26, 2003 at 02:45:36PM -0500, Igor Pechtchanski wrote: > >On Wed, 26 Feb 2003, you (whoever you are) wrote: > >>I have read in the cygwin-apps list that pdksh is available. Until it > >>is officially an

pdksh installation

2003-02-26 Thread BB
I have read in the cygwin-apps list that pdksh is available. Until it is officially announced and available in the package list, what is the correct procedure for installing it? Can I use the setup program to install it? I guess this question applies to any new package that is not officially rel

Has anyone used agetty with a modem?

2003-02-20 Thread BB
Has anyone used agetty with a modem? If so, how did you get the modem to answer the call. Is this done using the -e command option of agetty? I know the modem must answer the call, but I can't figure out how to communicate with the modem. The modem doesn't respond to anything I echo to /dev/tty

Re: Does agetty work with a modem

2003-02-19 Thread BB
The script autoans.sh get called without the space after -e. That's not a problem. I did look at the man info and all the file that came with agetty. There is very little about getting it to work with a modem. They don't have information about setting the modem to auto answer. The script I list

Re: Does agetty work with a modem

2003-02-19 Thread BB
ks "Sergey Okhapkin" <[EMAIL PROTECTED]> wrote in message 59A835EDCDDBEB46BC75402F4604D5528F7666@elmer">news:59A835EDCDDBEB46BC75402F4604D5528F7666@elmer... > Set the modem into auto-answer mode. > > > -Original Message- > > From: [EMAIL PROTECTED]

Does agetty work with a modem

2003-02-19 Thread BB
Has anyone used agetty with a modem? If so, how did you get the modem to answer the call? I don't see anything in the agetty code that would handle the modems "RING" or "CONNECT" responses. What does the agetty documentation refer to when it says that it could be used with a modem. I would like