Cygwin 1.7.7, User Variables, User Profiles

2010-11-24 Thread rudolf . bendl
Hi all, I try to invoke the "set" command over ssh to a Cygwin 1.7.7 server and would expect that I get the variables I have defined in $HOME/user/.profile e.g: $HOME/user/.profile ... TEST=test export TEST ssh u...@host set ...SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-

Re: ioctl() on socket fd's take 3 seconds on 1.7.7

2010-11-24 Thread Corinna Vinschen
On Nov 23 21:19, Jason Curl wrote: > On 23/11/2010 16:38, Corinna Vinschen wrote: > > I applied a patch so that IFF_NOARP is > >only set for PPP and SLIP devices, so the call to SendARP is gone. > >Please test CVS or the next developer snapshot. > > > I tried to understand what this flag is for. A

Re: cygpath unable to translate the *nix path to an NTFS junction point

2010-11-24 Thread Corinna Vinschen
On Nov 24 14:24, Pierce Morton wrote: > I took a look at the behaviour of cygpath when using cygwin symlinks > and I understand now why it does what it does with junction points. > Consistency between the two seems reasonable if that was its existing > behaviour before junction support was added. >

Re: ioctl() on socket fd's take 3 seconds on 1.7.7

2010-11-24 Thread Jason Curl
Corinna Vinschen cygwin.com> writes: > > I tried to understand what this flag is for. As far as I can > > understand, windows will always reply to ARP requests. There's a > > registry entry for "gratuitous arp". So doesn't that imply IFF_NOARP > > will be set for all interfaces? > > You mean, it

Portable Cygwin: replacing drivename in a text file

2010-11-24 Thread Fergus
Running Cygwin off a portable USB stick. Different host machines typically allocate a different drivename to the stick. Previous use, say it was J:. A not-quite-portable application needed a settings.ini file built with many occurrences of the string j:\usr\local\bin. The file was built and

R: Portable Cygwin: replacing drivename in a text file

2010-11-24 Thread Marco Atzeri
--- Mer 24/11/10, Fergus ha scritto: > Running Cygwin off a portable USB > stick. > > Different host machines typically allocate a different > drivename to the stick. > > Previous use, say it was J:. A not-quite-portable > application needed a settings.ini file built with many > occurrences of t

Re: Portable Cygwin: replacing drivename in a text file

2010-11-24 Thread Alexandre Bezroutchko
I'm not the expert on cygwin.exe, but there might be an easier way to solve you problem. For POSIX shell scripts you could keep a symlink /my-usb-stick pointing to /cygdrive/X, and use that symlink in your scripts. Similarly, for Windows batch scripts you keep drive mapping with native Windows

scp just spews usage

2010-11-24 Thread Benjamin Anderson
Hi, I've been using ssh with cygwin for years w/ no issues.  After my last upgrade, I am not able to use scp (ssh still works). $ scp myfile myusern...@myserver:~ usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program]

Re: scp just spews usage

2010-11-24 Thread Matthias Andree
Am 24.11.2010 15:26, schrieb Benjamin Anderson: > Hi, > I've been using ssh with cygwin for years w/ no issues. After my last > upgrade, I am not able to use scp (ssh still works). > > $ scp myfile myusern...@myserver:~ > usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] >

Re: scp just spews usage

2010-11-24 Thread Benjamin Anderson
I'm pretty sure I've got the command right (it was working before my last upgrade) /cygdrive/c/dev/java/apache-solr-1.4.0 $ type scp scp is hashed (/usr/bin/scp) /cygdrive/c/dev/java/apache-solr-1.4.0 $ scp build.xml 128.151.244.170: usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identi

Strange System Variable set

2010-11-24 Thread rudolf . bendl
Hi All, for whatever reason I have strange entries in my system variables like: sh-3.2$ set !::='::\' !C:='C:\Users\a00bend' ALLUSERSPROFILE='C:\ProgramData' APPDATA='C:\Users\a00bend\AppData\Roaming' AsdisPfad='d:\Users\ASDIS' BASH=/usr/bin/sh BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURC

Re: Strange System Variable set

2010-11-24 Thread Eric Blake
On 11/24/2010 09:09 AM, rudolf.be...@extern.sdv-it.de wrote: > Hi All, > > for whatever reason I have strange entries in my system variables like: > > sh-3.2$ set > !::='::\' > !C:='C:\Users\a00bend' Yep - POSIX requires that the shell preserve any inherited environment variables that cannot fo

base-cygwin 3.0-1 release notes

2010-11-24 Thread Matt Seitz (matseitz)
Where may I find a description of the changes in base-cygwin 3.0-1? Setup is reporting that there base-cygwin 3.0-1 is now available, but I haven't been able to find a release announcement on the mailing lists. -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: base-cygwin 3.0-1 release notes

2010-11-24 Thread Corinna Vinschen
On Nov 24 09:35, Matt Seitz (matseitz) wrote: > Where may I find a description of the changes in base-cygwin 3.0-1? > > Setup is reporting that there base-cygwin 3.0-1 is now available, but I > haven't been able to find a release announcement on the mailing lists. There was none. The new base-cy

Re: scp just spews usage

2010-11-24 Thread jurriaan
From: Benjamin Anderson Date: Wed, Nov 24, 2010 at 09:26:01AM -0500 > Hi, > I've been using ssh with cygwin for years w/ no issues.? After my last > upgrade, I am not able to use scp (ssh still works). > > $ scp myfile myusern...@myserver:~ > usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [

Re: Cygwin 1.7.7, User Variables, User Profiles

2010-11-24 Thread Thorsten Kampe
* rudolf.be...@extern.sdv-it.de (Wed, 24 Nov 2010 09:13:14 +0100) > I try to invoke the "set" command over ssh to a Cygwin 1.7.7 server > and would expect that I get the variables I have defined in > $HOME/user/.profile > ... > TEST=test > export TEST > That's equivalent to "export TEST=tes

Re: Portable Cygwin: replacing drivename in a text file

2010-11-24 Thread Lee
On 11/24/10, Fergus wrote: > Running Cygwin off a portable USB stick. > > Different host machines typically allocate a different drivename to the > stick. > > Previous use, say it was J:. A not-quite-portable application needed a > settings.ini file built with many occurrences of the string > j:\

Re: Cygwin 1.7.7, User Variables, User Profiles

2010-11-24 Thread Cyrille Lefevre
Le 24/11/2010 09:13, rudolf.be...@extern.sdv-it.de a écrit : > TERM=dumb -> Missing TEST this is the normal behaviour, ssh doesn't transfert environment variable except if you ask him to do and allow it. do : see SendEnv in man ssh_config for the cl

Re: 1.7.x: m4 does not show any reaction

2010-11-24 Thread Eric Blake
On 11/24/2010 01:18 PM, Marcus Osdoba wrote: > Sorry for the confusion last time. The output I sent was from another > system (Windows 7). The problem I discribed occured on a Win XP > installation. I upgraded from pre-1.7 to cygwin 1.7.x. > I verfied the proper installation of libcygseg There's n

1.7.5: scp file transfer doesn't work anymore (message "error: ambiguous target")

2010-11-24 Thread Vokuhila-Oliba
I've been using the scp program to copy files from various Unix systems (linux, solaris, AIX) to our Windows-XP-SP3-64bit machine. example (from Linux-Debian-Lenny with IP 192.168.20.64): scp logfile.txt c.u...@192.168.20.62: That worked perfectly well for more than one year. But since

Re: WG: Windows Environment Variables

2010-11-24 Thread Cyrille Lefevre
Le 23/11/2010 15:52, Greg Chicares a écrit : > > On 2010-11-23 13:25Z, rudolf.be...@xxx.de wrote: >> >> When login via ssh to a Cygwin Server I only get System Variables, like >> TEMP or TMP. I'm missing variables that are defined in the registries. >> Like %Programfiles% or %COMMONPROGRAMFILES

Re: WG: Windows Environment Variables

2010-11-24 Thread Andrew DeFaria
On 11/24/2010 05:40 PM, Cyrille Lefevre wrote: Le 23/11/2010 15:52, Greg Chicares a écrit : On 2010-11-23 13:25Z, rudolf.be...@xxx.de wrote: When login via ssh to a Cygwin Server I only get System Variables, like TEMP or TMP. I'm missing variables that are defined in the registries. Like %Pro

Re: WG: Windows Environment Variables

2010-11-24 Thread Greg Chicares
On 2010-11-24 22:46Z, Andrew DeFaria wrote: > >> http://sourceware.org/ml/cygwin/2010-05/msg00496.html [...] > But there's nothing attached! ;-) There's a link to Cyrille's script on that page--it's: http://sourceware.org/ml/cygwin/2010-05/txt3.txt Perhaps your browser blocks the link? --

Re: WG: Windows Environment Variables

2010-11-24 Thread Matt Seitz
Is the following useful? http://sourceware.org/ml/cygwin/2010-08/msg00246.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si

Re: cygpath unable to translate the *nix path to an NTFS junction point

2010-11-24 Thread Andrey Repin
Greetings, Pierce Morton! >> However, the real reparse points mounting different volumes... >> >> [C:\]$ uname -a >> CYGWIN_NT-5.1 daemon2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin >> [C:\]$ dir C:\ | grep arc >> 2010-11-22  12:16        arc >> >> [C:\]$ cygpath -w /c/arc >> C:\arc >> >> Real

bluetooth does not work

2010-11-24 Thread dancer...@sbcglobal.net
Just installed Cygwin I get this message on build."Bluetooth is currently not supported in Cygwin"Is there a way around this? I am trying to compile Gammu and need bluetooth to work Thanks Harold -- Problem reports: http://cygwin.com/problems.html FAQ: http://c

Re: WG: Windows Environment Variables

2010-11-24 Thread Andrew DeFaria
On 11/24/2010 06:09 PM, Greg Chicares wrote: On 2010-11-24 22:46Z, Andrew DeFaria wrote: http://sourceware.org/ml/cygwin/2010-05/msg00496.html [...] But there's nothing attached! ;-) There's a link to Cyrille's script on that page--it's: http://sourceware.org/ml/cygwin/2010-05/txt3.tx

Re: bluetooth does not work

2010-11-24 Thread Larry Hall (Cygwin)
On 11/24/2010 7:44 PM, dancer...@sbcglobal.net wrote: Just installed Cygwin I get this message on build. "Bluetooth is currently not supported in Cygwin" Is there a way around this? I am trying to compile Gammu and need bluetooth to work I'd start with the Gammu folks on this one. It's their

Question about exception when running gVIM 7.2

2010-11-24 Thread Saxon, Will
Hello, I am trying to run gvim via Cygwin using run.exe and a shell script. The reason I am doing this is so that I can assign the command to a button vs. opening gvim from a shell. My script works, but if I do run it from a command window it generates a stack dump: Exception: STATUS_GUARD_PA

Re: 1.7.5: scp file transfer doesn't work anymore (message "error: ambiguous target")

2010-11-24 Thread Corinna Vinschen
On Nov 24 22:12, Vokuhila-Oliba wrote: > I've been using the scp program to copy files from various Unix > systems (linux, solaris, AIX) to our Windows-XP-SP3-64bit machine. > > example (from Linux-Debian-Lenny with IP 192.168.20.64): > > scp logfile.txt c.u...@192.168.20.62: > > That work