RE: Cygwin function for getting the current directory?

2004-08-18 Thread Gary R. Van Sickle
> > But Cygwin doesn't emulate all of Posix, only parts of it, right? > Most of it. And what Cygwin don't have, you don't want. ;-) -- Gary R. Van Sickle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Gary R. Van Sickle
> Good day, > > Microsoft is getting ready to push out SP2 via their > automatic update. > What experiences have people had with using cygwin applications with > sp2 installed (particularly with the "improved" firewall)? > > Thanks, > Charles No problems here, but my netw

Re: getting exim and imapd to talk

2004-08-18 Thread Andrew DeFaria
Mike Skallas wrote: Hi, I've installed exim and imapd, but when connecting to the imap service with thunderbird I don't see any of the mail. What do I have to change so that all mail that comes to exim gets put in a place where imapd can process it? Thanks. I had this working when exim was runn

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote: This doesn't explain why it worked at my last company and why I could have sworn it used to work here up until about a week ago. Well, if you can check the access permissions on the share in question, you should be able to determine whether this is an issue or not. At this compa

getting exim and imapd to talk

2004-08-18 Thread Mike Skallas
Hi, I've installed exim and imapd, but when connecting to the imap service with thunderbird I don't see any of the mail. What do I have to change so that all mail that comes to exim gets put in a place where imapd can process it? Thanks. -- Mike Block Banner Ads Now http://everythingisnt.com/h

Re: cygwin libtool and 'R' tagged symbols in objects

2004-08-18 Thread Charles Wilson
Gerrit P. Haase wrote: got a problem with the latest gcc on cygwin and libtool generated export symbol lists (gcc-3.3.3 with patches so actually it is version 3.3.4, or is it a binutils / ld issue?). There are symbols tagged with 'R' now in the object files which are not filtered by the libtool re

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Larry Hall
At 11:13 PM 8/18/2004, you wrote: >Larry Hall wrote: > >>At 10:44 PM 8/18/2004, you wrote: >> >>>So is P or /home off limits when it comes to cron? Why did this work at my last >>>company? I think it's probably due to the "public" share point versus "non-public" >>>share point (which I never tota

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote: At 10:44 PM 8/18/2004, you wrote: So is P or /home off limits when it comes to cron? Why did this work at my last company? I think it's probably due to the "public" share point versus "non-public" share point (which I never totally understood before) and I'm fearing that I will

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Larry Hall
At 10:44 PM 8/18/2004, you wrote: >So is P or /home off limits when it comes to cron? Why did this work at my last >company? I think it's probably due to the "public" share point versus "non-public" >share point (which I never totally understood before) and I'm fearing that I will not >be able

RE: SSHD problems

2004-08-18 Thread Ben Terry
Anakin...you may have to delete all entries in the registry referencing ssh and/or sshd... Then...fire up cygwin and type: ssh-host-config -y Type ntsec when the install stops and waits for some input from you... The installation is finished when you see something like, "SSH installed successfu

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Wed, 18 Aug 2004, Andrew DeFaria wrote: Larry Hall wrote: At 09:39 PM 8/17/2004, you wrote: I'm having a problem with cron in this new environment. I cannot execute any of my own scripts in my ~/bin. I was also having problems executing even things in /tmp! [snip] As f

Re: Can I install cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Larry Hall
At 08:56 PM 8/18/2004, Chris Faylor wrote: >On Wed, Aug 18, 2004 at 01:50:42PM -0400, Larry Hall wrote: >>OK, let me clarify. With the amount of people using Cygwin, some portion of >>those folks are going to install Cygwin somewhere other than "C:\Cygwin". > >Would it help if I noted that my cyg

Re: SSHD problems

2004-08-18 Thread Larry Hall
At 05:52 PM 8/18/2004, you wrote: >Hi everyone, > > I've been looking for information about installing >sshd under windows 2000 server and lots of papers show >up as howtos and faqs and troubleshootings. I tried >every single one of those and it doesn't work. My >question now isn't how to install

__const use instead of const in one place

2004-08-18 Thread Peter Hinely
Hi, I noticed that __const is used in one and only one place in the header files. Line 76 of \user\include\sys\unistd.h char_EXFUN(*getpass, (__const char *__prompt)); That's the only place in all the header files. Shouldn't it be changed to const? Regards, Peter -- Unsubscribe inf

[ANNOUNCEMENT] Updated: rsync-2.6.2-2

2004-08-18 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have uploaded version 2.6.2-2 of the open source utility that provides fast incremental file transfer. It is the same as 2.6.2-1, but it contains the patch to fix august's security advisory, as in: http://rsync.samba.org/#security_aug04 Please noti

Re: Can I install cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Christopher Faylor
On Wed, Aug 18, 2004 at 01:50:42PM -0400, Larry Hall wrote: >OK, let me clarify. With the amount of people using Cygwin, some portion of >those folks are going to install Cygwin somewhere other than "C:\Cygwin". Would it help if I noted that my cygwin is installed on my F: drive and my windows i

Re: upgrading openssh 3.8.1p1-1 -> 3.9p1-1 breaks privilege separation

2004-08-18 Thread David Rothenberger
On 8/18/2004 2:59 PM, Corinna Vinschen wrote: On Aug 18 12:23, David Rothenberger wrote: On 8/18/2004 8:23 AM, Corinna Vinschen wrote: I did not experience this problem when I upgraded and I thought that I had privilege separation enabled. Is there any easy way to tell if it is on or not? You m

Re: socket() call failing?

2004-08-18 Thread Corinna Vinschen
On Aug 18 15:25, Jay Fenlason wrote: > I've been trying to debug why Amanda won't work under cygwin for me > any more, and I've traced it down to a socket() call in the sendbackup > program. strace shows the following (massively snipped) > > 709 258623 [main] sendbackup 628 cygwin_socket: sock

Re: upgrading openssh 3.8.1p1-1 -> 3.9p1-1 breaks privilege separation

2004-08-18 Thread Corinna Vinschen
On Aug 18 12:23, David Rothenberger wrote: > On 8/18/2004 8:23 AM, Corinna Vinschen wrote: > >As a temporary measure, please add the -r option when starting sshd. > >I haven't found the exact culprit so far, but the above flag will help. > > > >Thanks for the report. It's embarassing that I didn't

Re: strange login behavior

2004-08-18 Thread Larry Hall
At 10:14 AM 8/18/2004, you wrote: >I am experiencing some strange login behavior. First, some bachground >on my situation. I prefer the putty terminal over the MS cmd window >that cygwin.bat uses. So I use putty and ssh into my cygwin account. > >Two problems. One, when I ssh into my acct I'm n

SSHD problems

2004-08-18 Thread Anakin SkyWalker
Hi everyone, I've been looking for information about installing sshd under windows 2000 server and lots of papers show up as howtos and faqs and troubleshootings. I tried every single one of those and it doesn't work. My question now isn't how to install it successfully, but how to remove it com

Re: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Avery Bunker
I had problems with KDE. The firewall blocked it so I could not start KDE. After I took off Service Pack 2 it ran just fine. I looked at the firewall but not being a KDE expert had no clue on what ports needed to be added and which ones did not. It did add two services into the firewall that KDE

RE: read command available?

2004-08-18 Thread Hannu E K Nevalainen
Igor wrote: > On Wed, 18 Aug 2004, Hannu E K Nevalainen wrote: >> As I'm not familiar with ksh, so: >> -- *bash* usage example -- >> #!/bin/bash >> >> cd / >> ls | ( >> while read TEST ;do >> echo -n $TEST >> done >> ) > > Two points to note: > > 1) there's no need for the parentheses in t

RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Hannu E K Nevalainen
[EMAIL PROTECTED] i.e. Larry Hall, wrote: > At 06:52 AM 8/18/2004, Hannu wrote: >> "Larry Hall" scribbled on Wednesday, August 18, 2004 1:10 AM: >> >>> At 04:32 PM 8/17/2004, Hannu wrote: [EMAIL PROTECTED] i.e. Larry Hall, wrote: > At 05:39 AM 8/17/2004, you wrote: -zNIPz here and

Re: Cygwin function for getting the current directory?

2004-08-18 Thread Mikael Åsberg
Thanks for the reply, Ken. I am indeed programming in a compiled language, C++ to be more specific. And, yes, English is my second language. Thanks for pointing out the POSIX fucntion getcwd() to me, it seems to be just what I was looking for. I didn't have a man page for it, even though I think

Re: Cygwin function for getting the current directory?

2004-08-18 Thread Ken Dibble
I am assuming that English is not your first language. Cygwin-function doesn't really have a meaning. Cygwin is a POSIX emulation layer for Windows. I am inferring from the phrase "Win32's GetCurrentDirectory()" that you are programming in some compiled language, most likely C or C++. If the above

Problem linking with ODBC

2004-08-18 Thread da
I'm getting undefined references when trying to link with libodbc32.a that comes with cygwin: --- Building target: libTest.so g++ -shared -o libTest.so testdb.o -lodbc32 testdb.o(.text+0x40): In function `_Z3foov': /cygdrive/c/Projects/test/source/Debug/../testdb.cpp:7: undefined reference to `

Cygwin function for getting the current directory?

2004-08-18 Thread Mikael Åsberg
What's a Cygwin-function for getting the current directory? I don't want to use Win32's GetCurrentDirectory(), becuase I am developing a program that I want to be able to port to Linux with smallest possible effort. What part of Cygwin's documentation have I failed to notice since I couldn't ans

Re: Setup.ini has an error on all the mirrors!!! Please rectify asap.

2004-08-18 Thread Max Bowsher
Emmanuel E wrote: Setup.ini has an unwanted comma in line 1537. The cygwin setup utility fails on parsing line 1537. Line 1537 should read "requires: cygwin e2fsprogs" and not "requires: cygwin, e2fsprogs". Could someone kindly rectify this at the earliest? All the cygwin mirrors are facing this pr

socket() call failing?

2004-08-18 Thread Jay Fenlason
I've been trying to debug why Amanda won't work under cygwin for me any more, and I've traced it down to a socket() call in the sendbackup program. strace shows the following (massively snipped) 709 258623 [main] sendbackup 628 cygwin_socket: socket (2, 1, 6) 79416 338039 [main] sendbackup 62

Re: upgrading openssh 3.8.1p1-1 -> 3.9p1-1 breaks privilege separation

2004-08-18 Thread David Rothenberger
On 8/18/2004 8:23 AM, Corinna Vinschen wrote: On Aug 18 10:30, Matt Swift wrote: I've verified on two machines running XP Pro with up-to-date Cygwin installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1 breaks sshd when running with privilege separation (the default). Clients (incl

Re: igawk problem

2004-08-18 Thread Hans Horn
Hi Igor. > We'll see what Corinna says. The above solution does introduce a > dependency on mktemp that the gawk maintainers may not wish... > Igor yes indeed - on my aix box there was no mktemp - I had to roll my own. Is mktemp part of any of the core packages ? If yes, which one? H. --

Re: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Shankar Unni
Charles Plager wrote: Microsoft is getting ready to push out SP2 via their automatic update. What experiences have people had with using cygwin applications with sp2 installed (particularly with the "improved" firewall)? I've been running SP2 (final network admin install) for the last week.

Re: igawk problem

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Hans Horn wrote: > Hi Igor, > > thanks for all your insightful advice. > > However, none of your suggestions work ootb. Hans, None of the suggestions were tested. Sorry for missing the "--" in the arg list -- I should have been more careful. > This one doesn't do anythi

Re: igawk problem

2004-08-18 Thread Hans Horn
Hi Igor, thanks for all your insightful advice. However, none of your suggestions work ootb. This one doesn't do anything: > tmpname=`mktemp` > gawk -- "$expand_prog" /dev/stdin <$tmpname > $program > EOF > eval gawk $opts -- -f $tmpname '"$@"' \ > && rm -f $tmpname If I understand the gawk m

RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of fergus > Sent: 17 August 2004 10:40 > In this case h:\MyOS\ was tried as the installation directory > for Cygwin, > and failed. > > Sorry, I wasn't there, so can't describe the nature of the > failure. There > may have been signific

RE: cygwin-perl: matching behaves weird

2004-08-18 Thread Dave Korn
Just FYI: > -Original Message- > From: cygwin-owner On Behalf Of Wardman_Michael > Sent: 18 August 2004 07:40 > To: V.MIRCEVSKI > Cc: cygwin ^ This is the correct way to http://cygwin.com/acronyms/#PCYMTNQREAIYR. [snip] > This might explain the Windows vs. Cygwin behaviour,

RE: perl: cpan module's interactive mode fails

2004-08-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Stephan Petersen > Sent: 18 August 2004 14:41 > Hi guys, > > I just ran "perl -MCPAN -e shell" and tried to install Bundle::LWP. > > But when it does "Scanning cache /home/sp/.cpan/build for sizes", see > below, it chokes with (see

Setup.ini has an error on all the mirrors!!! Please rectify asap.

2004-08-18 Thread Emmanuel E
Setup.ini has an unwanted comma in line 1537. The cygwin setup utility fails on parsing line 1537. Line 1537 should read "requires: cygwin e2fsprogs" and not "requires: cygwin, e2fsprogs". Could someone kindly rectify this at the earliest? All the cygwin mirrors are facing this problem. Thanks and

Re: Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Ken Dibble
log in to the HPUX box as applmgr and run ssh-keygen as follows ssh-keygen -t rsa -N "" the quotes are important as this gives you a null passphrase It will generate "id_rsa" and "id_rsa.pub" files in $HOME/applmgr/.ssh/ copy $HOME/applmgr/.ssh/id_rsa.pub to $HOME/applmgr/.ssh/ authorized_keys2 mov

RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Larry Hall
At 06:52 AM 8/18/2004, Hannu wrote: >"Larry Hall" scribbled on Wednesday, August 18, 2004 1:10 AM: > >> At 04:32 PM 8/17/2004, Hannu wrote: >>> [EMAIL PROTECTED] i.e. Larry Hall, wrote: At 05:39 AM 8/17/2004, you wrote: >>> >>> -zNIPz here and there- >>> While there _should_ be no requirem

Re: Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Igor Pechtchanski
Two things to check: 1) Is the ssh client actually using the keys (and same goes for the ssh server)? Run ssh with the "-v" flag to check. It's possible either the client or the server is rejecting the keys because of too-open permissions on them, or something. 2) Does your HPUX machine use

gpgshell w/ cygwin gpg.exe?

2004-08-18 Thread phaedral
No luck with google or faq; I want to use gpgshell (mostly 'cause so much of my mail is now going through gmail). Is anyone out there using gpgshell with the cygwin gpg, or am I going to have to install the gnupg for windows separately? Many thanks! -- beau -- Unsubscribe info: http://cygw

Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Chris Shehan
Good Afternoon, Thanks for your response. I have tried to work through both you answer and the solution you provided in the web link. So far I am still unable to get the passwordless connection to work. Here is my setup: Windows 2000 server. Windows user name is colibri. I have generated the RSA

RE: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Karl M > Sent: 18 August 2004 17:58 > To: cygwin > Subject: RE: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1 [snip] > I didn't find -r in the man page. I have not had time to scan > the sources > :-( > > What does it do? It snips ove

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Dave Korn wrote: > > -Original Message- > > From: Igor Pechtchanski > > Sent: 18 August 2004 17:19 > > > On Wed, 18 Aug 2004, Dave Korn wrote: > > > > > > -Original Message- > > > > From: cygwin-owner On Behalf Of Igor Pechtchanski > > > > Sent: 18 August 200

Re: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Corinna Vinschen
On Aug 18 09:57, Karl M wrote: > Hi All... > > I didn't find -r in the man page. I have not had time to scan the sources > :-( > > What does it do? Switching off reexec'ing. Corinna > [...] > >* Make sshd(8) re-execute itself on accepting a new connection. This > >security > > measure ensur

Re: mcedit start slowly lately

2004-08-18 Thread Pavel Tsekov
On Tue, 17 Aug 2004, Krzysztof Duleba wrote: > Pavel Tsekov wrote: > > >> I'm experiencing somewhat strange behaviour of mcedit. It's been a week > >> that before it's started, my HDD is working a lot, for about 1 second. > It > >> doesn't matter whether I want to edit some old file or just launch

RE: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Karl M
Hi All... I didn't find -r in the man page. I have not had time to scan the sources :-( What does it do? Thanks, ...Karl From: Corinna Vinschen Subject: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1 Date: Wed, 18 Aug 2004 10:38:15 -0500 (CDT) I've just updated the version of OpenSSH to 3.9p1-1. This i

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Dave Korn
> -Original Message- > From: Igor Pechtchanski > Sent: 18 August 2004 17:19 > On Wed, 18 Aug 2004, Dave Korn wrote: > > > > -Original Message- > > > From: cygwin-owner On Behalf Of Igor Pechtchanski > > > Sent: 18 August 2004 16:54 > > > > > > > > 18 17 * * * pwd >> /tmp/debug.lo

Re: read command available?

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, neal somos wrote: > I literally cut and pasted a portion of Svend's post. > The portion I thought I used was ... > > ls | while read TEST > do > echo $TEST > done > > > I asked for 'ksh' and pasted. > I was totally flabbe

Re: perl: cpan module's interactive mode fails

2004-08-18 Thread Gerrit P. Haase
Stephan wrote: > Hi guys, > I just ran "perl -MCPAN -e shell" and tried to install Bundle::LWP. > But when it does "Scanning cache /home/sp/.cpan/build for sizes", see > below, it chokes with (see output below): > /usr/bin/tar: Skipping to next header > /usr/bin/tar: Archive contains obsolesc

read command available?

2004-08-18 Thread neal somos
I literally cut and pasted a portion of Svend's post. The portion I thought I used was ... ls | while read TEST do echo $TEST done I asked for 'ksh' and pasted. I was totally flabbergasted when I got the exact response Svend had posted. --

OpenSP shared dir location

2004-08-18 Thread Sam Steingold
File xml.dcl on Linux (FC2) is a part of the package sgml-common and resides in /usr/share/sgml/. The same file on cygwin comes with OpenSP and lives in /usr/share/OpenSP/. Suggestion: rename /usr/share/OpenSP/ to /usr/share/sgml/ in the OpenSP package. -- Sam Steingold (http://www.podval.org/~s

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of Igor Pechtchanski > > Sent: 18 August 2004 16:54 > > > > > > 18 17 * * * pwd >> /tmp/debug.log 2>&1 > > > > > 19 17 * * * ls >> /tmp/debug.log 2>&1 > > > > > 20 17 * * * ls -l /tmp/myscript >>

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Igor Pechtchanski > Sent: 18 August 2004 16:54 > > > > 18 17 * * * pwd >> /tmp/debug.log 2>&1 > > > > 19 17 * * * ls >> /tmp/debug.log 2>&1 > > > > 20 17 * * * ls -l /tmp/myscript >> /tmp/debug.log 2>&1 > > > > 21 17 * * * /tmp/myscrip

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Andrew DeFaria wrote: > Larry Hall wrote: > > > At 09:39 PM 8/17/2004, you wrote: > > > > > I'm having a problem with cron in this new environment. I cannot execute > > > any of my own scripts in my ~/bin. I was also having problems executing > > > even things in /tmp! > > >

Re: setup: current: repeated offer of same update

2004-08-18 Thread Max Bowsher
[EMAIL PROTECTED] wrote: libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0 That line is corrupt. I don't know how it got there, but delete it anyway. That should hopefully solve the problem. Max Thank you, Max. I edited this line out of

[ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 3.9p1-1. This is an official new release, based on the vanilla sources. NOTE NOTE NOTE: Thanks to an early bug report on the cygwin mailing list, I found that you *must* add the -r option when starting the sshd daemon, if you want to use privilege sepa

Re: Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Ken Dibble
from man ssh - The file $HOME/.ssh/authorized_keys lists the public keys that are per- mitted for logging in. ssh implements the RSA authentication protocol automatically. The user creates his/her RSA key pair by running ssh-keygen(1). This stores the private key in $HOME/.ssh/ide

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote: At 09:39 PM 8/17/2004, you wrote: I'm having a problem with cron in this new environment. I cannot execute any of my own scripts in my ~/bin. I was also having problems executing even things in /tmp! So like a good little boy I decided to read the readme for cron again before a

Re: upgrading openssh 3.8.1p1-1 -> 3.9p1-1 breaks privilege separation

2004-08-18 Thread Corinna Vinschen
On Aug 18 10:30, Matt Swift wrote: > I've verified on two machines running XP Pro with up-to-date Cygwin > installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1 > breaks sshd when running with privilege separation (the default). > Clients (including "ssh localhost") can not log int

Re: read command available?

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, neal somos wrote: > Jarzombek, Svend asks ... > > > Is the read command somewhere available? > > Up to now I wasn't able to find it. > > The read command is supposedly a shell builtin. > > Strangely enough, the first time I tried the > example given with ksh, I got the exa

RE: read command available?

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Hannu E K Nevalainen wrote: > "Jarzombek, Svend" wrote: > > > I am new to cygwin and try to move some ksh scripts to it. > > I am lacking the read command, e. g. like in > > > > cd /directory > > ls | while read TEST > > do > > echo $TEST > > done > > > > Is the read c

Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Chris Shehan
Hello, I am attempting to replace an automated ftp process with sftp. This ftp process , which runs on a Windows 2000 server, grabs EDI files from our HPUX 11.0 server every 10 minutes and places then on the EDI Server. I would like to modify this process to use sftp and use the SSH keys for passw

RE: cygwin-perl: matching behaves weird

2004-08-18 Thread Igor Pechtchanski
Good guess, but the original RE didn't support any variations of whitespace, so it wouldn't have matched a multi-line string anyway... However, if the OP didn't provide the exact RE he used, he could try setting PERLIO=crlf in his environment and see if that helps. One thing that he may also b

upgrading openssh 3.8.1p1-1 -> 3.9p1-1 breaks privilege separation

2004-08-18 Thread Matt Swift
I've verified on two machines running XP Pro with up-to-date Cygwin installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1 breaks sshd when running with privilege separation (the default). Clients (including "ssh localhost") can not log into the Cygwin sshd. Either turning off priv

[ANNOUNCEMENT] Updated: autossh-1.2g-2

2004-08-18 Thread Schulman . Andrew
A new version of the autossh package is available in the Cygwin distribution. Changes in version 1.2g-2: * Expanded /usr/share/doc/autossh/README.Cygwin, to describe the NT service mode and how to use it with cygrunsrv. To update your installation, click on the "Install Cygwin now" link on t

strange login behavior

2004-08-18 Thread Erik Weibust
I am experiencing some strange login behavior. First, some bachground on my situation. I prefer the putty terminal over the MS cmd window that cygwin.bat uses. So I use putty and ssh into my cygwin account. Two problems. One, when I ssh into my acct I'm not getting the latest PATH entries I've

perl: cpan module's interactive mode fails

2004-08-18 Thread Stephan Petersen
Hi guys, I just ran "perl -MCPAN -e shell" and tried to install Bundle::LWP. But when it does "Scanning cache /home/sp/.cpan/build for sizes", see below, it chokes with (see output below): /usr/bin/tar: Skipping to next header /usr/bin/tar: Archive contains obsolescent base-64 headers gzip: stdin

RE: read command available?

2004-08-18 Thread Hannu E K Nevalainen
"neal somos" wrote: > The read command is supposedly a shell builtin. > > Strangely enough, the first time I tried the > example given with ksh, I got the exact same response. > > However on later attempts, I got what was expected. > I find this odd. > > /bin/sh and bash both handle this just fine.

read command available?

2004-08-18 Thread neal somos
A careful reading of the info file for ksh reveals the following near the bottom ... -- BTW, the most frequently reported bug is echo hi | read a; echo $a # Does not print hi I'm aware of this and there is no need to report it. --- I think this is related to what was

Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Charles Plager
Good day, Microsoft is getting ready to push out SP2 via their automatic update. What experiences have people had with using cygwin applications with sp2 installed (particularly with the "improved" firewall)? Thanks, Charles -- Unsubscribe info: http://cygwin.com/ml/#uns

RE: setup: current: repeated offer of same update

2004-08-18 Thread Hannu E K Nevalainen
on Wednesday, August 18, 2004 2:38 PM "Fergus" wrote: >Max: >> libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0 > >> That line is corrupt. >> I don't know how it got there, but delete it anyway. >> That should hopefully solve the probl

RE: read command available?

2004-08-18 Thread Hannu E K Nevalainen
"Jarzombek, Svend" wrote: > I am new to cygwin and try to move some ksh scripts to it. > I am lacking the read command, e. g. like in > > cd /directory > ls | while read TEST > do > echo $TEST > done > > > Is the read command somewhere available? Up to now I wasn't able to > find it. ksh

RE: Creating a multi-volume archive with tar

2004-08-18 Thread Hannu E K Nevalainen
Igor wrote: > On Wed, 18 Aug 2004, Peter Milliken wrote: > >> Next step is I would like to backup some very large files to DVD. I >> have some video files (>13GByte) that I would like to backup across >> multiple DVD discs (-R or -RW - whichever works :-)). >> >> Has anybody used a DVD burner as a

RE: setup: current: repeated offer of same update

2004-08-18 Thread fergus
> libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0 > That line is corrupt. > I don't know how it got there, but delete it anyway. > That should hopefully solve the problem. > Max Thank you, Max. I edited this line out of /etc/setup/ins

read command available?

2004-08-18 Thread neal somos
Jarzombek, Svend asks ... > Is the read command somewhere available? > Up to now I wasn't able to find it. The read command is supposedly a shell builtin. Strangely enough, the first time I tried the example given with ksh, I got the exact same response. However on later attempts, I got what w

RE: Backticks hang with dynamic antivirus scanning

2004-08-18 Thread Mike Kenny - BCX - Infrastructure Services
You could try replacing all of your `command` syntax with $(command). AFAIK, this was introduced with ksh way way back. The back tick support was kept for compatibility with older bourne shell scripts. But at that time AT&T were recommending $() syntax, though they also recommended that root should

RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Hannu E K Nevalainen
"Larry Hall" scribbled on Wednesday, August 18, 2004 1:10 AM: > At 04:32 PM 8/17/2004, Hannu wrote: >> [EMAIL PROTECTED] i.e. Larry Hall, wrote: >>> At 05:39 AM 8/17/2004, you wrote: >> >> -zNIPz here and there- I know we can install Cygwin wherever we like (default c:\Cygwin\ but it co

Re: setup: current: repeated offer of same update

2004-08-18 Thread Max Bowsher
[EMAIL PROTECTED] wrote: >> Odd. >> Can you show us the output of: >> fgrep openldap /etc/setup/installed.db >> ? >> Max > > Yes. Here it is: > > ~> fgrep openldap /etc/setup/installed.db > libopenldap2 libopenldap2-2.1.25-1.tar.bz2 0 > libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0

RE: setup: current: repeated offer of same update

2004-08-18 Thread fergus
> Odd. > Can you show us the output of: > fgrep openldap /etc/setup/installed.db > ? > Max Yes. Here it is: ~> fgrep openldap /etc/setup/installed.db libopenldap2 libopenldap2-2.1.25-1.tar.bz2 0 libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0 openldap openldap-2

Re: setup: current: repeated offer of same update

2004-08-18 Thread Max Bowsher
[EMAIL PROTECTED] wrote: > setup (setup-timestamp: 1092781231) currently repeatedly offers an update of > libopenldap from 2-15-2.2.15-1 to 2.2.15-1 even after acceptance and > installation. Odd. Can you show us the output of: fgrep openldap /etc/setup/installed.db ? Max. -- Unsubscribe info

read command available?

2004-08-18 Thread Jarzombek, Svend
I am new to cygwin and try to move some ksh scripts to it. I am lacking the read command, e. g. like in cd /directory ls | while read TEST do echo $TEST done Is the read command somewhere available? Up to now I wasn't able to find it. TIA Svend -- Unsubscribe info: http://cygwin.com

cygwin libtool and 'R' tagged symbols in objects

2004-08-18 Thread Gerrit P. Haase
Hello, got a problem with the latest gcc on cygwin and libtool generated export symbol lists (gcc-3.3.3 with patches so actually it is version 3.3.4, or is it a binutils / ld issue?). There are symbols tagged with 'R' now in the object files which are not filtered by the libtool regex. The attach

[ANNOUNCEMENT] New package: e2fsimage-0.2.0

2004-08-18 Thread Robb, Sam
The package 'e2fsimage' is now available in the Cygwin distribution. e2fsimage enables the user to create and populate an ext2 filesystem image as a copy from an existing directory tree. It supports regular files, directories, soft links, hard links, and block/char special devices. The e2fsimage

[ANNOUNCEMENT] New package: e2fsprogs-1.35

2004-08-18 Thread Robb, Sam
The package 'e2fsprogs' is now available in the Cygwin distribution. The Ext2 Filesystem Utilities (e2fsprogs) contain all of the standard utilities for creating, fixing, configuring, and debugging ext2 filesystems (e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, etc.) The e2fsprogs home page is http