Re: Portable shell code between Cygwin and Linux

2011-08-01 Thread Sebastien Vauban
Hi Corinna, Corinna Vinschen wrote: >> alias vpnup='exec sudo openvpn --config ~/config/client.vpn --writepid >> /tmp/openvpn.pid &' >> >> While this worked perfectly under Ubuntu, I've had to make up a customized >> version for Windows: >> >> alias vpnupwin='cd c:/home/sva/config; openvpn --co

Re: Portable shell code between Cygwin and Linux

2011-08-01 Thread Csaba Raduly
On Mon, Aug 1, 2011 at 8:49 AM, Sebastien VaubanĀ  wrote: > > Hi Andrey, > > Andrey Repin wrote: > >>> For every shell code that I write, I'd like it to be portable both to > >>> Cygwin on Windows, and to Ubuntu Linux for example. > >>> > >>> It's kinda possible, but am blocked with such a use case:

Re: Portable shell code between Cygwin and Linux

2011-08-01 Thread Corinna Vinschen
On Aug 1 08:46, Sebastien Vauban wrote: > Hi Corinna, > > Corinna Vinschen wrote: > >> alias vpnup='exec sudo openvpn --config ~/config/client.vpn --writepid > >> /tmp/openvpn.pid &' > >> > >> While this worked perfectly under Ubuntu, I've had to make up a customized > >> version for Windows: >

perl 5.14.1 update?

2011-08-01 Thread Philip Kime
Any update on likely release of perl 5.14.1? PK -- 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-simple

Re: Portable shell code between Cygwin and Linux

2011-08-01 Thread Thorsten Kampe
* Sebastien Vauban (Mon, 01 Aug 2011 08:46:52 +0200) > My goal is to have just 1 alias that would work both under Win32 > (Cygwin) and Ubuntu Why don't have simply put your alias definitions in if [[ $OSTYPE = cygwin ]]; then else"? Thorsten -- Problem reports: http://cygwin.com/problems

bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
, but... i have noticed that it occurs only under the newest snapshots. The change occurred between the 2011-07-21 and 2011-07-29 snapshots. My current /proc/version | tr -d '@' is: CYGWIN_NT-5.1 version 1.7.10s(0.249/5/3) (cgf) (gcc version 4.3.4 20090804 (release) 1 (GCC) ) 2011080

gnucap: packaging problem

2011-08-01 Thread Fergus
I know it is in [prev] rather than [curr] but there's something amiss with release/gnucap/gnucap-2009.12.07-1-src.tar.bz2 Its md5sum as reported in setup.ini is correct but > bunzip2 -tv release/gnucap/gnucap-2009.12.07-1-src.tar.bz2 > bad magic number (file not created by bzip2 and > bunz

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Corinna Vinschen
under the newest snapshots. > The change occurred between the 2011-07-21 and 2011-07-29 snapshots. > > My current /proc/version | tr -d '@' is: > CYGWIN_NT-5.1 version 1.7.10s(0.249/5/3) (cgf) (gcc version 4.3.4 20090804 > (release) 1 (GCC) ) 20110801 00:02:52 > > C

RE: Device names in /proc/mounts

2011-08-01 Thread Nellis, Kenneth
> From: Corinna Vinschen > > Konrad means blkid. It's in the util-linux package. That's funny. Setup indicates my util-linux package is up-to-date with version 2.17.2-1, but yet: $ type blkid -bash: type: blkid: not found $ which blkid which: no blkid in (/usr/local/bin:/usr/bin:/cygdrive/c/Pro

Re: Device names in /proc/mounts

2011-08-01 Thread Christopher Faylor
On Mon, Aug 01, 2011 at 08:10:30AM -0500, Nellis, Kenneth wrote: >> From: Corinna Vinschen >> >> Konrad means blkid. It's in the util-linux package. > >That's funny. Setup indicates my util-linux package is up-to-date >with version 2.17.2-1, but yet: > >$ type blkid >-bash: type: blkid: not found

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
On Mon, Aug 01, 2011 at 02:24:25PM +0200, Corinna Vinschen wrote: >> >> However, at a first glance I doubt this is a Cygwin bug. Consider: >> >> - bash 4.1.10 returns "execut" >> - /bin/test from coreustils returns "execut" >> - My highly professional and streamlined testcase returns the correc

sshd conflicts with mintty allocating /dev/tty[0-9]

2011-08-01 Thread Alexey Luchko
Hi, everyone! I've run mkpasswd and mkgroups, installed sshd, run sshd-host-config, turned on privilege separation, installed it as a service. 'CYGWIN sshd' service starts normally but it closes connection right after successful login: """ $ ssh localhost user@localhost's password: Connecti

Re: sshd conflicts with mintty allocating /dev/tty[0-9]

2011-08-01 Thread Christopher Faylor
On Mon, Aug 01, 2011 at 06:51:04PM +0300, Alexey Luchko wrote: >Hi, everyone! > > >I've run mkpasswd and mkgroups, installed sshd, run sshd-host-config, >turned on privilege separation, installed it as a service. > >'CYGWIN sshd' service starts normally but it closes connection right after >succe

Re: sshd conflicts with mintty allocating /dev/tty[0-9]

2011-08-01 Thread Alexey Luchko
On 01.08.2011 18:51, Alexey Luchko wrote: I've run mkpasswd and mkgroups, installed sshd, run sshd-host-config, turned on privilege separation, installed it as a service. 'CYGWIN sshd' service starts normally but it closes connection right after successful login: """ $ ssh localhost user@localho

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Corinna Vinschen
On Aug 1 16:12, Denis Excoffier wrote: > On Mon, Aug 01, 2011 at 02:24:25PM +0200, Corinna Vinschen wrote: > >>access (/tmp/xxx/folder, W_OK) = 0 > >>access (/tmp/xxx/folder, X_OK) = 0 > >> eaccess (/tmp/xxx/folder, F_OK) = 0 > >> eaccess (/tmp/xxx/folder, R_OK) = 0 > >> eaccess (/tm

[ANNOUNCEMENT] Updated: ngspice-23-1

2011-08-01 Thread Marco atzeri
Hi, new version 23-1 of ngspice is available in the Cygwin distribution. CHANGES More features have been added to ngspice in this update, improving ngspice applicability. New devices: HiSIM2 and HiSIM_HV models from Hiroshima University have been added. New features: Ngspice builds i

[ANNOUNCEMENT] Updated: S-Lang 2.2.4-1

2011-08-01 Thread Marco atzeri
Hi, new versions 2.2.4-1 of libslang2 libslang-devel slsh are available in the Cygwin distribution DESCRIPTION S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software. It provides facilities required by interactive application

scp crash

2011-08-01 Thread Dan
I don't have steps to repro and don't have time to attempt it so I'm just putting the information out there in case it helps the developers. I have no idea exactly what caused it, just that it did die. I was running two simultaneous scp sessions from cmd.exe. The connections to the remote server

GCC version 4.3 on Cygwin ?

2011-08-01 Thread Jan Chludzinski
The latest version of GCC is 4.6. The version used with MinGW is 4.5. Cygwin uses 4.3. Why is Cygwin 3 versions behind? ---Jan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

Re: GCC version 4.3 on Cygwin ?

2011-08-01 Thread Charles Wilson
On 8/1/2011 9:29 PM, Jan Chludzinski wrote: > The latest version of GCC is 4.6. The version used with MinGW is 4.5. > Cygwin uses 4.3. > > Why is Cygwin 3 versions behind? Because our gcc maintainer went missing. We hope Dave is ok, as we have had no word from him. However, in the meantime, w

Re: GCC version 4.3 on Cygwin ?

2011-08-01 Thread Jan Chludzinski
> Because our gcc maintainer went missing. We hope Dave is ok, as we have > had no word from him. However, in the meantime, we've had another > person (Yaakov) volunteer to pick up the slack; the recent release of an > updated GMP package were requested by the new volunteer to facilitate > the up

Re: sshd conflicts with mintty allocating /dev/tty[0-9]

2011-08-01 Thread Larry Hall (Cygwin)
On 8/1/2011 12:41 PM, Alexey Luchko wrote: On 01.08.2011 18:51, Alexey Luchko wrote: I've run mkpasswd and mkgroups, installed sshd, run sshd-host-config, turned on privilege separation, installed it as a service. 'CYGWIN sshd' service starts normally but it closes connection right after succes

Re: bzr completely broken?

2011-08-01 Thread Larry Hall (Cygwin)
On 8/1/2011 1:52 PM, Andrew Schulman wrote: Am I right that bzr is just completely broken in Cygwin? If so, is there an ETA to get it fixed? Per Eliot Moss's suggestion, I ran rebaseall, and the problem is now solved. Thanks Eliot. My host got reimaged, and I reinstalled Cygwin. Now bzr is

command not found

2011-08-01 Thread jasonkee111
Hi I have trying to use the command "file". However, it turns out command not found. what can i do in order to use this command? Thanks -- View this message in context: http://old.nabble.com/command-not-found-tp32174788p32174788.html Sent from the Cygwin list mailing list archive at Nabble

Re: command not found

2011-08-01 Thread Marco atzeri
On 8/2/2011 5:13 AM, jasonkee111 wrote: Hi I have trying to use the command "file". However, it turns out command not found. what can i do in order to use this command? Thanks install the file package from category: Utils Regards Marco -- Problem reports: http://cygwin.com/probl

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
On Mon, Aug 01, 2011 at 07:02:48PM +0200, Corinna Vinschen wrote: >> >> Ouch. I made a mistake in a bracket term in faccessat. Fixed in CVS. >> Thanks for following up with more testing. I tried to compile the cygwin sources and it failed because bfd.h is not found (in dumper.cc). Since asection

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
On Tue, Aug 02, 2011 at 07:53:44AM +0159, Denis Excoffier wrote: >> On Mon, Aug 01, 2011 at 07:02:48PM +0200, Corinna Vinschen wrote: >> >> >> >> Ouch. I made a mistake in a bracket term in faccessat. Fixed in CVS. >> >> Thanks for following up with more testing. >> I tried to compile the cygwin