alias command not effective

2011-01-17 Thread Thomas Wiedmann
Hello, After defining an alias, e. g. alias laf='ls -la' | grep -v "^d" the subsequent attempt to use this alias an error message appeared: laf bash:: laf: command not found although the previous alias definition was accpeted without an error message. What may be the reason, that the use

Re: Output of /proc/partitions now incomplete on WinXP

2011-01-17 Thread Corinna Vinschen
On Jan 15 15:35, Christian Franke wrote: > At least under WinXP SP3 the output of /proc/partitions does not > longer list sda1, sda2, ... even if run with admin rights: > > # cygcheck -f /bin/cygwin1.dll > cygwin-1.7.7-1 > > # cat /proc/partitions > major minor #blocks name > > 8 0 976

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

2011-01-17 Thread Corinna Vinschen
On Jan 17 02:48, Barry Kelly wrote: > Pierce Morton wrote: > > > I've recently installed cygwin using the web installer, and have found > > an error in the way that cygpath translates junction point paths from > > *nix to Windows paths when dealing with a junction point. > > The issue is that Cyg

Re: alias command not effective

2011-01-17 Thread Eric Blake
On 01/17/2011 01:24 AM, Thomas Wiedmann wrote: > Hello, > > After defining an alias, e. g. > > alias laf='ls -la' | grep -v "^d" That defined an alias in the subshell used to form the pipeline. Aliases in child processes do not affect the parent process. > laf > bash:: laf: command not found

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

2011-01-17 Thread Corinna Vinschen
On Jan 17 14:56, Corinna Vinschen wrote: > ...we won't take patches which add arbitrary options to the CYGWIN > variable which could also be solved in other ways. In this special > case, only the conversion from POSIX to Win32 paths is affected. > This conversion is only supported by the cygwin_co

Re: alias command not effective

2011-01-17 Thread Julio Costa
On Mon, Jan 17, 2011 at 14:04, Eric Blake wrote: > > On 01/17/2011 01:24 AM, Thomas Wiedmann wrote: > > Hello, > > > > After defining an alias, e. g. > > > >  alias laf='ls -la' | grep -v "^d" > > That defined an alias in the subshell used to form the pipeline. > Aliases in child processes do not a

Re: More Weird Perl .dll Errors

2011-01-17 Thread Reini Urban
2011/1/15 Rafael Kitover: > Hi Reini, > > I'm not having any luck: > > $ perl -MClass::XSAccessor -le 1 > Can't load > '/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Class/XSAccessor/XSAccessor.dll' > for module Class::X > SAccessor: No such file or directory at > /usr/lib/perl5/5.10/i686-cygwin/X

Invoking GUI programs over SSH

2011-01-17 Thread David Antliff
Hello, I've found this thread so far: http://cygwin.com/ml/cygwin/2010-07/msg6.html It's related to what I am trying to do, but I'd like to get confirmation that what I am attempting is impossible, or not. Essentially I have a seemingly command-line based FPGA synthesis tool (a "compiler" if

Re: Invoking GUI programs over SSH

2011-01-17 Thread Jeremy Bopp
On 1/17/2011 3:20 PM, David Antliff wrote: > Hello, > > I've found this thread so far: > http://cygwin.com/ml/cygwin/2010-07/msg6.html > It's related to what I am trying to do, but I'd like to get > confirmation that what I am attempting is impossible, or not. > > Essentially I have a seemin

Re: Invoking GUI programs over SSH

2011-01-17 Thread David Antliff
On Tue, Jan 18, 2011 at 10:34, Jeremy Bopp wrote: > On 1/17/2011 3:20 PM, David Antliff wrote: >> Essentially I have a seemingly command-line based FPGA synthesis tool >> (a "compiler" if you prefer) called "Synplify Pro". Unfortunately it >> is not truly command-line, but does some sort of GUI-rel

Re: Invoking GUI programs over SSH

2011-01-17 Thread Jeremy Bopp
On 1/17/2011 3:46 PM, David Antliff wrote: > I just tried this - in fact I used the AdministrativeTools/Services > applet to set the Cygwin SSHD service to "Allow service to interact > with desktop". This actually had a useful effect - I can now start > 'notepad' or 'calc' and I see the process app

Re: Invoking GUI programs over SSH

2011-01-17 Thread David Antliff
On Tue, Jan 18, 2011 at 11:06, Jeremy Bopp wrote: > On 1/17/2011 3:46 PM, David Antliff wrote: >> However, unfortunately, I still get the same error from Synplify Pro. >> I wonder if it's looking for more than just GUI services? > > Yeah, the error message you described originally didn't sound like

Re: Invoking GUI programs over SSH

2011-01-17 Thread David Antliff
On Tue, Jan 18, 2011 at 12:06, David Antliff wrote: > On Tue, Jan 18, 2011 at 11:06, Jeremy Bopp wrote: >>> I've also tried running the sshd service as the same user currently >>> logged in > [snip] >> people are discouraged from attempting it and then asking for help Along these lines, I was wond

Re: Invoking GUI programs over SSH

2011-01-17 Thread Larry Hall (Cygwin)
On 1/17/2011 7:13 PM, David Antliff wrote: On Tue, Jan 18, 2011 at 12:06, David Antliff wrote: On Tue, Jan 18, 2011 at 11:06, Jeremy Bopp wrote: I've also tried running the sshd service as the same user currently logged in [snip] people are discouraged from attempting it and then asking for h

Re: Invoking GUI programs over SSH

2011-01-17 Thread David Antliff
On Tue, Jan 18, 2011 at 13:19, Larry Hall (Cygwin) wrote: > On 1/17/2011 7:13 PM, David Antliff wrote: >> Along these lines, I was wondering if anyone knows how to run the >> Cygwin SSH daemon manually, rather than as a service? On Linux one can >> just run sshd from the command line, specifying an

Re: Invoking GUI programs over SSH

2011-01-17 Thread Jeremy Bopp
On 01/17/2011 05:06 PM, David Antliff wrote: > On Tue, Jan 18, 2011 at 11:06, Jeremy Bopp wrote: >> Is it possible that Synplify Pro is attempting to access some network >> resource or a special dongle for verifying its registration or something >> similar? > > There's no dongle but there is a lic

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

2011-01-17 Thread Barry Kelly
Corinna Vinschen wrote: > On Jan 17 02:48, Barry Kelly wrote: > > > Also, if you don't treat juntions to the same drive as symlinks you have > the problem that you can easily create loops when you run a recursive > file search. This is true; though 'find' will detect such loops, and e.g. cmd /c

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

2011-01-17 Thread Barry Kelly
Corinna Vinschen wrote: > On Jan 17 14:56, Corinna Vinschen wrote: > > ...we won't take patches which add arbitrary options to the CYGWIN > > variable which could also be solved in other ways. In this special > > case, only the conversion from POSIX to Win32 paths is affected. > > This conversion

Single quotes inside here document

2011-01-17 Thread Fabrice Niessen
Hello, I try to run the following script on the latest Cygwin (updated yesterday) on Windows XP SP3: --8<---cut here---start->8--- data=$(cat <<'EOF' Date valeur;Reference de l'operation;Description;Montant de l'operation;Devise;Date d'operation;Compte de cont