Running grep and other cygwin commands from cmd.exe

2006-01-30 Thread Tzuriel
I hope I am asking this correctly. I would like to be able to open a regular cmd.exe (Windows shell) window and run cygwin commands from there without opening bash in it's own command window. Can this be done? Basically, I want to use .cmd and .bat scripts that use grep within scripts that run i

[ANNOUNCEMENT] Updated [experimental]: bash-3.1-2

2006-01-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of bash, 3.1-2, is available for experimental use. NEWS: = This is a minor patch update to the previous experimental bash-3.1-1. It adds four new upstream patches (documentation updates, minimal features compilation fix, local array

Re: Installation Errors

2006-01-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to jgriffin on 1/30/2006 11:29 AM: > I'm trying to install Cygwin on a stand alone computer. Here is what I'm > doing: Most of this looked okay. However, you probably installed without wiping out the previous installation, or with a second

Re: Standalone DirectX Package

2006-01-30 Thread Torsten Giebl
Hello ! > Those are not Microsoft's; they have been completely re-implemented from > scratch by volunteers using no MS code. If you are just redistributing > MS's headers from the PDSK or DXSDK you are most certainly violating a > license somewhere. Ah. Good to know. I will look at the DX SDK

Re: Standalone DirectX Package

2006-01-30 Thread Brian Dessent
Torsten Giebl wrote: > What about the DirectX Libs. that come with CYGWIN ? Those are not Microsoft's; they have been completely re-implemented from scratch by volunteers using no MS code. If you are just redistributing MS's headers from the PDSK or DXSDK you are most certainly violating a licen

Re: Standalone DirectX Package

2006-01-30 Thread Torsten Giebl
Hello ! > I'm not sure if this is entirely legal, as I assume you have just > converted the libraries and repackaged all the headers. Microsoft may have > a bit of an issue with it. What about the DirectX Libs. that come with CYGWIN ? CU -- Unsubscribe info: http://cygwin.com/ml/#uns

Re: Standalone DirectX Package

2006-01-30 Thread Chris Sutcliffe
> I put together the latest DirectX SDK ( Dec. 2005 ) for CYGWIN / Mingw : > > http://www.syntheticsw.com/~wizard/tmp/SDL/cyg-directx-devel.zip I'm not sure if this is entirely legal, as I assume you have just converted the libraries and repackaged all the headers. Microsoft may have a bit of an

Re: Standalone DirectX Package

2006-01-30 Thread Torsten Giebl
Hello ! > /usr/local/lib vs /usr/lib? No. The problem is just when the Win32Api Package is updated, all my DirectX Libs. aso. will be overwritten. As i want to use the standard CYGWIN dirs. I put together the latest DirectX SDK ( Dec. 2005 ) for CYGWIN / Mingw : http://www.syntheticsw.com/~w

Re: where is SCP

2006-01-30 Thread Christopher Faylor
On Mon, Jan 30, 2006 at 07:01:04PM -0600, Yaakov S (Cygwin Ports) wrote: >Igor Peshansky wrote: >>Exactly where were you trying to search for it? The answer to most >>queries of "where is program foo" is the Cygwin package search page at >> (also mentioned in the FAQ e

Re: where is SCP

2006-01-30 Thread Yaakov S (Cygwin Ports)
Igor Peshansky wrote: Exactly where were you trying to search for it? The answer to most queries of "where is program foo" is the Cygwin package search page at (also mentioned in the FAQ entry ). You can

[ANNOUNCEMENT] New Package: pygtk2-2.6.3-1

2006-01-30 Thread Yaakov S (Cygwin Ports)
The following package has been added to the Cygwin net release: *** pygtk2-2.6.3-1 PyGTK is a set of Python bindings for the Glib-2, ATK, Pango, GTK+-2, and LibGlade-2 libraries, which allows GTK+ apps to be written in pure Python. Yaakov *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want t

Re: MSYS path behavior in Cygwin

2006-01-30 Thread Igor Peshansky
On Mon, 30 Jan 2006, Brian Dessent wrote: > tom wrote: > > > I guess the two will be mutually exclusive, unless you Cygwin devs see > > some reason to merge some of Earnie's work. I'm have to believe > > there's some reason why it hasn't been done though. I'm sure it's > > non-trivial to say the

Re: MSYS path behavior in Cygwin

2006-01-30 Thread Brian Dessent
tom wrote: > I guess the two will be mutually exclusive, unless you Cygwin devs see some > reason to merge some of Earnie's work. I'm have to believe there's some > reason > why it hasn't been done though. I'm sure it's non-trivial to say the least. > > Thanks for the help anyways! Cygwin and

Re: where is SCP

2006-01-30 Thread Igor Peshansky
On Mon, 30 Jan 2006, Scott Purcell wrote: > Hello, > I need to scp some files to a remote machine on our network, and I > cannot find the scp module? > When I loaded cygwin, I loaded most default stuff, but even today, I am > trying to search for it, and cannot find scp? Exactly where were you tr

Re: MSYS path behavior in Cygwin

2006-01-30 Thread tom
See this thread for more info: http://sourceforge.net/forum/forum.php?thread_id=1430505&forum_id=290275 I guess the two will be mutually exclusive, unless you Cygwin devs see some reason to merge some of Earnie's work. I'm have to believe there's some reason why it hasn't been done though. I'm s

Re: csh script hangs only on cygwin

2006-01-30 Thread Stewart Midwinter
* Subject: Re: csh script hangs only on cygwin * References: <[EMAIL PROTECTED]> * Reply-to: cygwin at cygwin dot com Corinna Vinschen wrote: >WFM. I tried it for > 3 hours with no hang. Corinna, what OS and type of box are you running that on? My problem arose ONLY when running on

Re: where is SCP

2006-01-30 Thread Herman Poon
Scott Purcell wrote: > Hello, > I need to scp some files to a remote machine on our network, and I > cannot find the scp module? > When I loaded cygwin, I loaded most default stuff, but even today, I am > trying to search for it, and cannot find scp? > > Thanks, Hi, scp is part of the openssh pa

Re: where is SCP

2006-01-30 Thread Reid Thompson
Scott Purcell wrote: Hello, I need to scp some files to a remote machine on our network, and I cannot find the scp module? When I loaded cygwin, I loaded most default stuff, but even today, I am trying to search for it, and cannot find scp? Thanks, -- Unsubscribe info: http://cygwin.com/ml

where is SCP

2006-01-30 Thread Scott Purcell
Hello, I need to scp some files to a remote machine on our network, and I cannot find the scp module? When I loaded cygwin, I loaded most default stuff, but even today, I am trying to search for it, and cannot find scp? Thanks, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Re: unmount drive in cygwin - is it possible

2006-01-30 Thread Tony Richardson
Mark Bevan yahoo.co.uk> writes: > I have compiled ntfsprogs 1.12.1 for use with cygwin - > compilation went well and I know have the set of > executables available. > > Whenever I run ntfsresize (even just to get info on > current NTFS filesystem using -i option) I am told : > > ntfsresize v1.12

Re: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-30 Thread Martin
Any response? TIA --- Martin <[EMAIL PROTECTED]> wrote: > I am attempting to invoke a command with > execvp/execlp. If a file appears in my PATH before > the executable desired and has the same name as the > executable, the first occurrence of the file name is > used as the executable to invoke.

Re: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Igor Peshansky
On Mon, 30 Jan 2006, Svend Sorensen wrote: > On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: Again, . Thanks. > > Ugh, top-posting... Reformatted. > > > > On Mon, 30 Jan 2006, Svend Sorensen wrote: > > > > > On 1/30/06, Igor Peshansky <[EMAIL PR

Re: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Svend Sorensen
On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: > Ugh, top-posting... Reformatted. > > On Mon, 30 Jan 2006, Svend Sorensen wrote: > > > On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: > > . Thanks. > > > > On Thu, 26 Jan 2006, Svend Sorensen

Installation Errors

2006-01-30 Thread jgriffin
I'm trying to install Cygwin on a stand alone computer. Here is what I'm doing: 1) Download setup 2) Download everything to a local directory 3) Copy that local directory and setup.exe to a CD 4) Attempted to install from the CD - got errors 5) After installing from CD tried reinstalling some pac

RE: unmount drive in cygwin - is it possible

2006-01-30 Thread Dave Korn
On 30 January 2006 18:10, Mark Bevan wrote: > Hello, > > I have compiled ntfsprogs 1.12.1 for use with cygwin - compilation went > well and I know have the set of executables available. > > Whenever I run ntfsresize (even just to get info on current NTFS > filesystem using -i option) I am told

unmount drive in cygwin - is it possible

2006-01-30 Thread Mark Bevan
Hello, I have compiled ntfsprogs 1.12.1 for use with cygwin - compilation went well and I know have the set of executables available. Whenever I run ntfsresize (even just to get info on current NTFS filesystem using -i option) I am told : ntfsresize v1.12.1 (libntfs 8:1:0) ERROR: Device '/cygdri

sshd password authentication results in identity of NT AUTHORITY\SYSTEM

2006-01-30 Thread Perdue, Dave T. CIV NAVAIR 5.4.3, Bldg 2035, Rm 205, Cube 200
Hi all, Our facility has been using Cygwin-1.5.12-1 on Windows 2000 with our account home directories on a windows network shared folder using both a local login and an ssh remote system login with no problems. I recently tried Cygwin-1.5.18 and 19 and find that the network share

Re: readline-5.1 && CGDB

2006-01-30 Thread Bob Rossi
On Mon, Jan 30, 2006 at 10:50:13AM -0500, Bob Rossi wrote: > On Mon, Jan 30, 2006 at 07:11:45AM -0700, Eric Blake wrote: > > According to Bob Rossi on 1/28/2006 9:19 PM: > > > On Linux, something totally different happens. When I initialize > > > readline, it eventually calls tgetent, which happens

Re: LD_PRELOAD regression on 1.5.19-4 ? no more loaded library in child process

2006-01-30 Thread Christopher Faylor
On Sun, Jan 29, 2006 at 11:58:42PM +0100, Louis Lecaroz wrote: >somebody wrote: >>What did you actually *do* to get from one step to the next in the >>above? Where does your MSVC-linked DLL come into it? What loads that >>DLL? What is your system like (the information requested in >>http://cygwi

Re: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Mon, 30 Jan 2006, Svend Sorensen wrote: > On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: . Thanks. > > On Thu, 26 Jan 2006, Svend Sorensen wrote: > > > > > When I use pdksh to expand the name of a file with

Re: rpcgen question

2006-01-30 Thread Christian Gagneraud
Hi all, just for info, i have succesfully build and run my rpc code that was originally developped for GNU/Linux. The problem was simply solved by generating the code with linux (pc GNU/Linux) and build/run it on windows. But now i'm trying to build it for mingw32 (without multi-thread supp

Re: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Svend Sorensen
The NetBSD system I tested has pdksh-5.2.14nb1 installed. There are two patches in pkgsrc, one which removes a Makefile check for pdksh in the /etc/shells file, and one which removes a declaration of errorno. Other than that, it uses the vanilla pdksh-5.2.14.tar.gz sources. I have attached the p

Re: MSYS path behavior in Cygwin

2006-01-30 Thread tom
Dave Korn artimi.com> writes: > But cygwin apps understand *nix style paths natively! ... Right - My problem comes when I want to run a windows app from the cygwin shell. For example: gvim.exe /c/src/myfile.cs Why would I want to do this: 1. The Cygwin shell in general has all sorts of good

RE: MSYS path behavior in Cygwin

2006-01-30 Thread Dave Korn
On 30 January 2006 16:25, tom wrote: > That said, one thing I loved about msys is the ability to pass a *nix > style path and have it automatically converted, i.e. I could start gvim > like so: > gvim.exe /c/src/myfile.cs > and the path would convert to 'C:\src\myfile.cs' for the windows exe. >

MSYS path behavior in Cygwin

2006-01-30 Thread tom
Hey all, I used to use MSYS simply as my general purpose shell (infinitely better than cmd!) However, I've started using Cygwin since I really just use it as a shell rather than a build environment, and Cygwin has the full selection of tools. That said, one thing I loved about msys is the ab

RE: Cygwin Bash window disappear?!

2006-01-30 Thread Igor Peshansky
On Mon, 30 Jan 2006, Dave Korn wrote: > On 30 January 2006 15:54, Igor Peshansky wrote: > > > On Mon, 30 Jan 2006, Dave Korn wrote: > > > >> On 28 January 2006 04:19, Daniel mark wrote: > >> > >>> Hello Eric: > >> > >>> // > >>> Cygwin Configuration Diag

RE: Cygwin Bash window disappear?!

2006-01-30 Thread Dave Korn
On 30 January 2006 15:54, Igor Peshansky wrote: > On Mon, 30 Jan 2006, Dave Korn wrote: > >> On 28 January 2006 04:19, Daniel mark wrote: >> >>> Hello Eric: >> >>> // >>> Cygwin Configuration Diagnostics >> >>> Path: C:\Program Files\texmf\mikt

RE: Cygwin Bash window disappear?!

2006-01-30 Thread Igor Peshansky
On Mon, 30 Jan 2006, Dave Korn wrote: > On 28 January 2006 04:19, Daniel mark wrote: > > > Hello Eric: > > > // > > Cygwin Configuration Diagnostics > > > Path: C:\Program Files\texmf\miktex\bin > > > Path = 'C:\Program > > Files\texmf\miktex\bin;

Re: readline-5.1 && CGDB

2006-01-30 Thread Bob Rossi
On Mon, Jan 30, 2006 at 07:11:45AM -0700, Eric Blake wrote: > According to Bob Rossi on 1/28/2006 9:19 PM: > > On Linux, something totally different happens. When I initialize > > readline, it eventually calls tgetent, which happens to set LINES and > > COLS to the correct size of the terminal. On

RE: Cygwin Bash window disappear?!

2006-01-30 Thread Dave Korn
On 28 January 2006 04:19, Daniel mark wrote: > Hello Eric: > // > Cygwin Configuration Diagnostics > Path: C:\Program Files\texmf\miktex\bin > Path = 'C:\Program > Files\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; Fi

Re: bootstrap error

2006-01-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Alexander Klimov on 1/30/2006 2:11 AM: > > BTW, I have not rebuild temacs because most of build tools are > not compatible with the old cygwin dll, e.g., rm produces an error > > The procedure entry point getline could not be located in

Re: readline-5.1 && CGDB

2006-01-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bob Rossi on 1/28/2006 9:19 PM: > On Linux, something totally different happens. When I initialize > readline, it eventually calls tgetent, which happens to set LINES and > COLS to the correct size of the terminal. On cygwin this doesn't h

Re: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Igor Peshansky
On Thu, 26 Jan 2006, Svend Sorensen wrote: > When I use pdksh to expand the name of a file with spaces or other > shell metachars in it, the filename is expanded without escaping the > metacharacters. Thanks for the report. I've been able to reproduce this. There's an upstream patch that fixes

Re: ATT: gcc maintainer (was Re: cpp does not honor the -undef option.)

2006-01-30 Thread Peter Ekberg
On Mon, Jan 23, 2006 at 10:01:44PM +0100, Peter Ekberg wrote: > On Mon, Jan 16, 2006 at 12:13:12PM +0100, Peter Ekberg wrote: > > On Mon, Jan 09, 2006 at 10:58:00AM +0100, Peter Ekberg wrote: > > > Hello! > > > > > > I recently tried to build a package that was using cpp for other > > > purposes t

Re: bootstrap error

2006-01-30 Thread Corinna Vinschen
On Jan 30 11:11, Alexander Klimov wrote: > On Sun, 29 Jan 2006, Eli Zaretskii wrote: > > Then it's probably a good idea to post the information you found on > > the Cygwin mailing list. Perhaps they will be able to suggest > > solutions or otherwise shed some light on this problem. > > The proble

Re: readdir after rewinddir not working in 20060128 snapshot

2006-01-30 Thread Corinna Vinschen
On Jan 30 00:29, Yitzchak Scott-Thoennes wrote: > After a rewinddir, readdir seems to return as many empty entries as there > were actual entries left to read, followed by . and .. Thanks for the testcase! Since the underlying NT call NtQueryDirectoryInfo is able to return more than one directory

Re: bootstrap error

2006-01-30 Thread Alexander Klimov
On Sun, 29 Jan 2006, Eli Zaretskii wrote: > > From: Alexander Klimov <[EMAIL PROTECTED]> > > > > On Sat, 28 Jan 2006, Eli Zaretskii wrote: > > > Perhaps try downgrading to the previous version of Cygwin--there might > > > be some bug in the latest version. I made the following experiment: I instal

Re: pgsql on cygwin problem

2006-01-30 Thread Reini Urban
2005/8/29, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hello. I had a problem at installation postgesql as service nt. I do all > under the documentation which is in a > file/usr/share/doc/Cygwin/postgresql-7.4.5. README On item 8 at me there is > a mistake at initialization of a database. > > $ initd

Re: /proc//exe points to void

2006-01-30 Thread Yitzchak Scott-Thoennes
On Tue, Jan 24, 2006 at 06:45:28PM +0100, Corinna Vinschen wrote: > On Jan 20 13:50, Sam Steingold wrote: > > >> > On Mar 10 16:00, Sam Steingold wrote: > > >> >> /proc//exe points to "foo", not to "foo.exe", so it cannot be > > >> >> opened &c. > > >> > > > >> > > > >> >