RE: ssh-agent variables available to any user process

2006-08-29 Thread Jörg Schaible
Lapo Luchini wrote on Wednesday, August 30, 2006 12:42 AM: > Under FreeBSD, I launch ssh-agent in my .xsession script and its > environment is automatically inherited by every shell I then > open in my > X11 session. > No such luck with Windows, but I found a way to propagate a > environment varia

Re: [ITP] libsigsegv-2.4-1

2006-08-29 Thread Reini Urban
[CC: cygwin - list] Martin Coria schrieb: I want to use libsigsegv within CYGWIN and so far I couldn't. I downloaded and unzipped the binary distribution and manually copied the files to their respective places. After doing that I tried to compile one of the example programs that comes with the

Console on Sourceforge with Cygwin

2006-08-29 Thread Keith Christian
It's hosted on SourceForge, try the latest v2 beta (not demo!) http://sourceforge.net/projects/console I just downloaded Console Beta 125 - Sorry, a little dense here, how do you invoke it from Windows to launch a Cygwin bash shell? Do you have a couple of example command lines to use? Cou

Re: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Tue, 29 Aug 2006, Tristen Hayfield wrote: > Brian Dessent wrote: > > "Silva, Russell" wrote: > > > > > x=`/usr/bin/cat < temp`; > > > > I don't know what is causing your problem. I ran your testcase several > > times and never saw a failure, but from your d

ssh-agent variables available to any user process

2006-08-29 Thread Lapo Luchini
Under FreeBSD, I launch ssh-agent in my .xsession script and its environment is automatically inherited by every shell I then open in my X11 session. No such luck with Windows, but I found a way to propagate a environment variable to any (future) user process after the user is already logged. (or,

RE: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Dave Korn
On 29 August 2006 22:00, Silva, Russell wrote: > Hi Dave, > > I tried this; it's an excellent point but isn't the problem. I > experimented using your script version and $? is indeed set to 0 when > the backtick output is empty. > > I'd be happy to hear more suggestions. I also need to try thi

Re: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Tristen Hayfield
One may also do: read x < temp in bash Tristen Brian Dessent wrote: "Silva, Russell" wrote: x=`/usr/bin/cat < temp`; I don't know what is causing your problem. I ran your testcase several times and never saw a failure, but from your description it seems like it's the kind of thing that m

Re: Unable to automatically map a drive letter at login

2006-08-29 Thread mwoehlke
Grant Miller wrote: On 8/29/06, mwoehlke <[EMAIL PROTECTED]> wrote: Grant Miller wrote: I just rebooted one of the Windows systems and tried to SSH in to a now clean system (nobody else logged in since booting) with ssh keys and a script in my .bash_profile to attach to a drive letter and I got

Re: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Brian Dessent
"Silva, Russell" wrote: > x=`/usr/bin/cat < temp`; I don't know what is causing your problem. I ran your testcase several times and never saw a failure, but from your description it seems like it's the kind of thing that might occur very rarely. My only suggestion is that if your true desire

RE: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Silva, Russell
Hi Dave, I tried this; it's an excellent point but isn't the problem. I experimented using your script version and $? is indeed set to 0 when the backtick output is empty. I'd be happy to hear more suggestions. I also need to try this on another machine (my home box, perhaps) to see if it's re

Re: Unable to automatically map a drive letter at login

2006-08-29 Thread Grant Miller
On 8/29/06, mwoehlke <[EMAIL PROTECTED]> wrote: Grant Miller wrote: > I just rebooted one of the Windows systems and tried to SSH in to a > now clean system (nobody else logged in since booting) with ssh keys > and a script in my .bash_profile to attach to a drive letter and I got > the same erro

FW: Remote Connections

2006-08-29 Thread Charli Li
Rich Mayo wrote: >Can I set up my Cygwin X server to support remote connections such >as telnet >or rlogin? > > > > > >R. > > Forwarded to Cygwin/X list. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Remote Connections

2006-08-29 Thread Rich Mayo
Can I set up my Cygwin X server to support remote connections such as telnet or rlogin? R. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: htt

Re: Unable to automatically map a drive letter at login

2006-08-29 Thread Larry Hall (Cygwin)
Grant Miller wrote: On 8/29/06, Larry Hall (Cygwin) wrote: . Thanks. Grant Miller wrote: > My apologies if this question has been asked before. I've spent a bit > of time searching through the mailing lists looking to see if someone > else has ru

Re: Unable to automatically map a drive letter at login

2006-08-29 Thread mwoehlke
Grant Miller wrote: I just rebooted one of the Windows systems and tried to SSH in to a now clean system (nobody else logged in since booting) with ssh keys and a script in my .bash_profile to attach to a drive letter and I got the same error (System error 85 has occurred). I also changed the dr

RE: Unable to automatically map a drive letter at login

2006-08-29 Thread Dave Korn
On 29 August 2006 18:22, Grant Miller wrote: > I just rebooted one of the Windows systems and tried to SSH in to a > now clean system (nobody else logged in since booting) with ssh keys > and a script in my .bash_profile to attach to a drive letter and I got > the same error (System error 85 has o

Re: Unable to automatically map a drive letter at login

2006-08-29 Thread Grant Miller
On 8/29/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: Grant Miller wrote: > My apologies if this question has been asked before. I've spent a bit > of time searching through the mailing lists looking to see if someone > else has run into this issue. I've seen similar issues, but no real >

Re: uid having logged in with ssh

2006-08-29 Thread Larry Hall (Cygwin)
[EMAIL PROTECTED] wrote: hi, Thursday, August 10, 2006, 11:37:39 AM, "Corinna Vinschen" wrote: On Aug 10 11:07, [EMAIL PROTECTED] wrote: ok. did i understand correctly that subauth is not yet part of the regular cygwin distribution? Yes. i know it's annoying to ask, but is there any sch

Re: Cygwin installing into wrong directory

2006-08-29 Thread Larry Hall (Cygwin)
Dave Korn wrote: On 29 August 2006 16:09, Larry Hall (Cygwin) wrote: Chuck wrote: [ ... ] Then I noticed that it created my user home directory in "c:\documents and settings\userid". I wanted it in "c:\cygwin\home" where it was before. What happened and how can I move it. I do NOT want it cl

Re[2]: uid having logged in with ssh

2006-08-29 Thread cygwin-060809
hi, Thursday, August 10, 2006, 11:37:39 AM, "Corinna Vinschen" wrote: > On Aug 10 11:07, [EMAIL PROTECTED] wrote: >> ok. did i understand correctly that subauth is not yet part of the >> regular cygwin distribution? > Yes. i know it's annoying to ask, but is there any schedule when it will be

RE: Cygwin installing into wrong directory

2006-08-29 Thread Dave Korn
On 29 August 2006 16:09, Larry Hall (Cygwin) wrote: > Chuck wrote: >> [ ... ] Then I noticed that it created my user home directory in >> "c:\documents and settings\userid". I wanted it in "c:\cygwin\home" >> where it was before. What happened and how can I move it. I do NOT want >> it cluttering

Re: Unable to automatically map a drive letter at login

2006-08-29 Thread Larry Hall (Cygwin)
Grant Miller wrote: My apologies if this question has been asked before. I've spent a bit of time searching through the mailing lists looking to see if someone else has run into this issue. I've seen similar issues, but no real solutions provided. Okay, here we go. I have 3 Windows systems (X

RE: Control which drives are visible under Cygwin/OpenSSH?

2006-08-29 Thread Dave Korn
On 29 August 2006 16:33, Thomas J Magliery PhD wrote: > Hello, I have just installed the latest Cygwin and OpenSSH on my Windows > XP Pro SP2 machine so that I can SSH into my data files from elsewhere. > Works great. However, I would like to block access to my other drives > (programs, backups),

Re: Control which drives are visible under Cygwin/OpenSSH?

2006-08-29 Thread Larry Hall (Cygwin)
Thomas J Magliery PhD wrote: Hello, I have just installed the latest Cygwin and OpenSSH on my Windows XP Pro SP2 machine so that I can SSH into my data files from elsewhere. Works great. However, I would like to block access to my other drives (programs, backups), just in case this gets hacke

RE: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Dave Korn
On 29 August 2006 17:04, Silva, Russell wrote: > The value of $? is always 0 when this problem occurs, even if it should > be a non-zero value. For instance: > > > #!/bin/bash > # make 1000 attempts to reproduce the bug > for i in `seq 1 1000` > do > # ls should return incorrect usage = erro

RE: Problem when using variable assignment, backticks in shell script

2006-08-29 Thread Silva, Russell
Hi Igor, I don't know what you mean by the "error string", but the backtick-output string is always empty. stderr gives me nothing. I've tried the $(COMMAND) syntax as an alternative to the `COMMAND` syntax, same problem. The value of $? is always 0 when this problem occurs, even if it should b

Unable to automatically map a drive letter at login

2006-08-29 Thread Grant Miller
My apologies if this question has been asked before. I've spent a bit of time searching through the mailing lists looking to see if someone else has run into this issue. I've seen similar issues, but no real solutions provided. Okay, here we go. I have 3 Windows systems (XP Pro, 2003 Server, X

Control which drives are visible under Cygwin/OpenSSH?

2006-08-29 Thread Thomas J Magliery PhD
Hello, I have just installed the latest Cygwin and OpenSSH on my Windows XP Pro SP2 machine so that I can SSH into my data files from elsewhere. Works great. However, I would like to block access to my other drives (programs, backups), just in case this gets hacked. Is that possible? Thank

Re: Cygwin installing into wrong directory

2006-08-29 Thread Larry Hall (Cygwin)
Chuck wrote: Can someone please help me with this? I've searched the docs but its like finding a needle in a haystack. I got a new PC recently and need to reinstall cygwin (unless you can tell me an safe way of copying everything I had before to the new one). I made a list of all packages I had

RE: Windows popup/message box?

2006-08-29 Thread Liora Milbaum
Igor, I investigated this issue a little more. I changed my cron command to: * * * * * perl -e 'use GD;' >& /usr/tmp/test.log Here is the content of the test.log file: "Can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/GD/GD.dll' for module GD: No such file or directory at /usr/lib/perl5/5.8/

Cygwin installing into wrong directory

2006-08-29 Thread Chuck
Can someone please help me with this? I've searched the docs but its like finding a needle in a haystack. I got a new PC recently and need to reinstall cygwin (unless you can tell me an safe way of copying everything I had before to the new one). I made a list of all packages I had previously and

[ANNOUNCEMENT] Updated: ruby-1.8.5-1

2006-08-29 Thread Corinna Vinschen
I have updated the version of ruby on cygwin.com to 1.8.5-1. This is an upstream bugfix release. As for the bugfixes, the official release message doesn't contain any description of them, sorry. You can find a summary of the changes here: http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog To u

SWIG, What switches/flags are required to make SWIG work?

2006-08-29 Thread Brian Homecall
Hello, I am trying to get the first example out of the SWIG tutorial (www.swig.org) to work, and it does not for me. Before I rush into my code. I am able to make neither a Python nor Perl example to work. I tried downloading SWIG from www.swig.org onto Cygwin and that did not work, alth

RE: 1.5.21: gcc doesn't compile, make gives simple error

2006-08-29 Thread Dave Korn
On 29 August 2006 09:59, Ervin Hegedüs wrote: > I downloaded Cygwin from net, with setup.exe. I start it, and copy a > project to my home dir: C:\cygwin\home\airween\src\Ident. It's a > simple ident-daemon, what has binary format, but I need to modify the > source, and recompile it. > > When I tr

1.5.21: gcc doesn't compile, make gives simple error

2006-08-29 Thread Ervin Hegedüs
Hello, I'm new in Cygwin, sorry for the stupid question. (and so, I'm not an expert winxp user...) I downloaded Cygwin from net, with setup.exe. I start it, and copy a project to my home dir: C:\cygwin\home\airween\src\Ident. It's a simple ident-daemon, what has binary format, but I need to modi

RE: [Mingw-msys] POSIX names for drive letters

2006-08-29 Thread Schwarz, Konrad
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of mwoehlke > > The proposed mapping for directory `C:\' is `//./C$/' (or perhaps > > `//./C/'). > So... why exactly do you need this? The only thing I might > actually support here (keeping in mind