RE: query

2002-12-13 Thread Robert McNulty Junior
As a Linux program, No. Get the source tar and compile it using GCC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of mohit batra Sent: Saturday, December 14, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: query hi i am new to cygwin enviornment i just d

query

2002-12-13 Thread mohit batra
hi i am new to cygwin enviornment i just downloaded it yesterday . i have an application written in linux downloaded from internet .it is a tar file . i want to run it on windows 2000 can i do it using cygwin . Regards Mohit Batra = Mohit batra ___

Re: "find -exec broken"??

2002-12-13 Thread Elfyn McBratney
Hi, What problem are you getting? I tried the your example on my system with and without the -ok arg ommitted: [root@webdev]:{512}:% find . -type d -maxdepth 1 . ./elfyn-tests ./src [root@webdev]:{510}:% find . -type d -maxdepth 1 -ok ls -al {} \; < ls ... . > ? yes total 5897 drwxrwxrwx+

Re: More pipe (and other) improvements in snapshot

2002-12-13 Thread Christopher Faylor
On Sat, Dec 14, 2002 at 12:27:44AM -0500, Christopher Faylor wrote: >On Fri, Dec 13, 2002 at 03:48:28PM +0100, Pavel Holejsovsky wrote: >>[EMAIL PROTECTED] wrote: >>>Christopher Faylor wrote: On Thu, Dec 12, 2002 at 07:32:16AM -0500, Norman Vine wrote: >Any 'tips' as to how to best debug th

More pipe (and other) improvements in snapshot

2002-12-13 Thread Christopher Faylor
On Fri, Dec 13, 2002 at 03:48:28PM +0100, Pavel Holejsovsky wrote: >[EMAIL PROTECTED] wrote: >>Christopher Faylor wrote: >>>On Thu, Dec 12, 2002 at 07:32:16AM -0500, Norman Vine wrote: Any 'tips' as to how to best debug this appreciated >>> >>>- Attach to the hung process with gdb and see wher

"find -exec broken"??

2002-12-13 Thread Javier
Hi!! I am trying to use the -ok or the -exec actions of "find", but I am running into an odd error: I want to list the dirs on a given dir, and then to do a "bk edit" on them. So, first I get the dirs listed (to see if I have the parms to find well): public_html> find . -type d -maxdepth 1 --

RE: How do I build GCC 3.2-3 or is it broken ?

2002-12-13 Thread Michael H. Cox
Check out the following: http://sources.redhat.com/ml/cygwin/2002-11/msg01045.html http://www.cygwin.com/ml/cygwin/2002-12/msg00426.html Mike P.S. Just in case you read this, Chris, didn't mean to upset you or apologize for you. I was just trying to encourage Anurag, who seemed a little discou

How did I get it?

2002-12-13 Thread Jack Rose
Could some tell me how the CYGWIN1.DLL ended up on my computer. It seems to have just appeared at 3:09am yesterday and I know I wasn't working at that time. Could this have been uploaded to my machine for malicious purposes? If so, what else should I be looking for, besides a better firewall and v

Re: Giving up trying to get cygwin OpenSSH3.5 to work on Win2000 Pro SP3

2002-12-13 Thread Emilio A Icaza
>All except a newer version of the cygwin dll it seems. I suggest >upgrading to 1.3.17. >cgf I am already at 1.3.17-1, same result. Anything else? Thanks, Emilio -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentatio

Re: Cygwin Network Programming Problem

2002-12-13 Thread Elfyn McBratney
Hi, I tried your source, looks o.k. at first glance, and it works perfectly. I tried to reproduce your problem, about 10 times, and I always got: Hello, world! Connection closed Are you using the latest dll? Elfyn [EMAIL PROTECTED] --- "Parker, Ron" <[EMAIL PROTECTED]> wrote: >I have ta

ANN: Gcc-3.2.1

2002-12-13 Thread David Kredba
There is EXPERIMENTAL gcc-3.2.1 package at http://vranioko.ibot.cas.cz with C, C++, Objc, F77, Java and Ada languages enabled. Configured with : --enable-languages=c,c++,f77,java,objc,ada \ --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext \ --enable-interpreter -

Re: Slowness on app startup after recent update (and yes I read the FAQ) - Solution - kind of

2002-12-13 Thread Randall R Schulz
Ron, Why ask why? It can all be traced back to the primordial singularity, of course. Is your HOME set in the Windows environment? If it is, the value inherited from the environment upon shell startup will override the value that would otherwise have been taken from your entry in /etc/passwd.

No such file or directory

2002-12-13 Thread ganglio
Hi! i'm trying to compile bochs-2.0-pre3 under cygwin but it give me the following error: "win32.cc:61:39: windows32/CommonFunctions.h: No such file or directory" i looked over the net and i discovered that the file should be in the /usr/i686-pc-cygwin/include directory but it there isn't. doe

Re: Giving up trying to get cygwin OpenSSH3.5 to work on Win2000 Pro SP3

2002-12-13 Thread Christopher Faylor
On Fri, Dec 13, 2002 at 04:45:35PM -0600, Emilio A Icaza wrote: >Any takers? Corinna? > >Can somebody help me figure out what can be wrong with this? > >1. Installed CYGWIN base and needed packages >2. Installed openssh 3.5p1-2 and requisites All except a newer version of the cygwin dll it seems.

Re: Slowness on app startup after recent update (and yes I read the FAQ) - Solution - kind of

2002-12-13 Thread Ron Wood
That is it. My $HOME is set to '/'. If I change it to something else things work as expected. This opens up two questions, 1. Why is $HOME set to '/'? According to /etc/profile it should be set to /home/RDW. id -un returns RDW. Not sure why this is not setup correctly. 2. This was working fine

Giving up trying to get Cygwin OpenSSH3.5 to work on Win2000 Pro SP3

2002-12-13 Thread Emilio A Icaza
Any takers? Corinna? Can somebody help me figure out what can be wrong with this? 1. Installed CYGWIN base and needed packages 2. Installed openssh 3.5p1-2 and requisites 3. Ran ssh-host-config to create keys, sshd user, and service, etc. If I try to connect to the server from localhost, with:

Re: Slowness on app startup after recent update (and yes I readthe FAQ)

2002-12-13 Thread Igor Pechtchanski
Ron, Another place to look is your /etc/passwd. You might have your home directory set to /, or your login user is missing from your password file, and thus you end up with / as your home directory. Just a hunch. Igor On Fri, 13 Dec 2002, Randall R Schulz wrote: > Ron, > > Again, a goo

Re: Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread Randall R Schulz
Ron, Again, a good place to look is your environment. This example suggests strongly that your HOME environment variable is simply "/". I think some code (in this case "cvs") blindly takes the value of environment variables that are meant to name directories and blindly appends a slash and wha

Re: Emacs: completion of buffer names ignores case

2002-12-13 Thread Jari Aalto+mail.emacs
* 2002-12-12 Eric Hanchrow <[EMAIL PROTECTED]> list.cygwin * Message-Id: <[EMAIL PROTECTED]> > I'm using emacs-21.2-10. > > I frequently want to switch to the buffer named `*shell*', so I type > *Shell Command Output* *shell* > > Now, I can understand that Emacs would ignore case wh

Re: Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread Randall R Schulz
Ron, That's your problem. Somehow (most likely based on an environment variable that's set but empty or perhaps set to "/"), Vim is constructing a path name that begins with "//". That's the syntactic signal for to look for a network share. In your case, the shared named ".terminfo" is looked

Re: Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread Ron Wood
Somehow a // has been introduced into my system. Below is the strace to cvs. My path is, /usr/local/bin :/usr/bin:/bin :/cygdrive/c/apps/Ora81_personal/bin :/cygdrive/c/apps/Ora81_personal/Apache/Perl/5.00503/bin/mswin32-86:/cygdrive/c/Apps/Ora81/bin :/cygdrive/c/Program Files/Oracle/jre/1.1.7/bi

Re: postgresql postmaster and LC_MESSAGES EN_US problem

2002-12-13 Thread Jari Aalto+list.cygwin
* Thu 2002-12-12 Jason Tishler <[EMAIL PROTECTED]> list.cygwin * Message-Id: <[EMAIL PROTECTED]> > Heitzso, > > On Wed, Dec 11, 2002 at 12:48:20PM -0500, Heitzso wrote: >> I got around this problem (??) by commenting out the 4 localization >> lines at the end of postgresql.conf in the data director

Re: Broken Link on the ported page.

2002-12-13 Thread Christopher Faylor
On Fri, Dec 13, 2002 at 11:51:19AM -0800, Adam Jurevicius wrote: >I still get connection refused. what link are you able to get to? Apparently I was hallucinating or it's a flaky link. I can't get through either. I've removed the reference from the page. cgf -- Please do not send me personal e

Re: Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread Ron Wood
Thanks. It works with, $ strace c:/cygwin/bin/vim.exe A part of the output is below. Seems to be get held up on //.terminfo. Why is it going to //.terminfo/x/term? And why is it 114 2155207 [main] vim 1884 normalize_posix_path: //.terminfo/x/xterm = normal

Re: Slowness on app startup after recent update (and yes I read theFAQ)

2002-12-13 Thread Lassi A. Tuura
> $ strace /usr/bin/vi Try windows (not cygwin) path. //lat -- Facts do not cease to exist because they are ignored. --Aldous Huxley -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwi

RE: Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread Ron Wood
I'm not familar with strace. When I run it I get, RDW@L0029357 /c/dev $ strace /usr/bin/vi strace.exe: error creating process /usr/bin/vi, (error 3) Maybe I'm using it wrong. But when I do an strace on ls I get something which looks correct. Ron --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

Re: Broken Link on the ported page.

2002-12-13 Thread Adam Jurevicius
Christopher, I still get connection refused. what link are you able to get to? Adam On Thu, 12 Dec 2002, Christopher Faylor wrote: > On Thu, Dec 12, 2002 at 06:25:40PM -0800, Adam Jurevicius wrote: > >The link to the rpm package on > >http://sources.redhat.com/cygwin/ported.html is broken. Do

auto-logout problems in tcsh

2002-12-13 Thread Curt Nelson
I just did a full update of my cygwin installation a couple of days ago and I am now having problems disabling the auto-logout feature. I start up a tcsh shell in the cygwin.bat file with the line tcsh -l After an hour, any tcsh shell automatically closes. I have done a search for the TMOUT and T

Re: Suggested addition to the FAQ

2002-12-13 Thread Igor Pechtchanski
On Fri, 13 Dec 2002, Charles Lindahl wrote: > Hello: > > I have a quick suggested addition to the FAQ: > > FAQ #: > > Q: How do I determine the packages and version numbers I have installed > on my system? > > A: Use the "cygcheck -c" option. This lists package names and versions > as text

RE: Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread [EMAIL PROTECTED]
Perhaps running the afflicted programs with strace will shed some light on your problem. Larry Original Message: - From: Ron Wood [EMAIL PROTECTED] Date: Fri, 13 Dec 2002 10:08:28 -0800 (PST) To: [EMAIL PROTECTED] Subject: Slowness on app startup after recent update (and yes I re

Suggested addition to the FAQ

2002-12-13 Thread Charles Lindahl
Hello: I have a quick suggested addition to the FAQ: FAQ #: Q: How do I determine the packages and version numbers I have installed on my system? A: Use the "cygcheck -c" option. This lists package names and versions as text. Sample output (abbreviated): $ cygcheck -c Cygwin Pac

Cygwin Network Programming Problem

2002-12-13 Thread Parker, Ron
I have taken what looks to be a common network programming sample from the Internet and compiled it on Cygwin. Upon reaching 'accept' for the second time I receive the following output: accept: No children I have spent a few days perusing the Net and have found no solution to this proble

Slowness on app startup after recent update (and yes I read the FAQ)

2002-12-13 Thread Ron Wood
I updated my cygwin setup (full install) a few days ago and now there is a considerable delay in application startup. My current version is new. My original version was as of October sometime. I read the FAQ and see the issue with //c in the path. That is not the case for me. In fact the delay is

How do I build GCC 3.2-3 or is it broken ?

2002-12-13 Thread Aaron Gray
Hello, I have tried to rebuild GCC 3.2-3 it builds the execs but unfortunately it bombs out making some of the libraries. I may have mised something but I am not sure. How do I build CygWin GCC 3.2-3 ? I have installed CygWin then changed to the 'i686-pc-cygwin' directory then done a 'make'. Hav

Re: open_osfhandle() ?

2002-12-13 Thread Allen Leung
On Fri, Dec 13, 2002 at 05:29:06PM +0100, Corinna Vinschen wrote: > On Fri, Dec 13, 2002 at 11:12:34AM -0500, Allen Leung wrote: > > Hi, > > > >The function open_osfhandle (or _open_osfhandle), > > which maps a windows HANDLE into a file descriptor, > > seems to be missing in Cygwin. Is the

Re: [SCRIPT] Windows system dll function addresses

2002-12-13 Thread Randall R Schulz
Joe, You forgot to put some indication of your authorship into the header comments. I added a simple "Author: Joe Buehler" line when I copied the code to a file. I also wanted to add a URL referencing the message on the Cygwin mailing list archive, so I went to the archives, found the message

Re: open_osfhandle() ?

2002-12-13 Thread Corinna Vinschen
On Fri, Dec 13, 2002 at 11:12:34AM -0500, Allen Leung wrote: > Hi, > >The function open_osfhandle (or _open_osfhandle), > which maps a windows HANDLE into a file descriptor, > seems to be missing in Cygwin. Is there a way to achieve the > same effect? #include return get_osfhandle(); C

open_osfhandle() ?

2002-12-13 Thread Allen Leung
Hi, The function open_osfhandle (or _open_osfhandle), which maps a windows HANDLE into a file descriptor, seems to be missing in Cygwin. Is there a way to achieve the same effect? thanks, Allen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http:

Re: [SCRIPT] Windows system dll function addresses

2002-12-13 Thread Elfyn McBratney
Cool this is exactly what I need to debug something I've written. I had a gui app that did this but it was *very* slow... Thanks for sharing ;) Elfyn [EMAIL PROTECTED] --- Joe Buehler <[EMAIL PROTECTED]> wrote: >Sometimes it is useful to be able to tell what Windows >DLL functions are at the t

Re: [SCRIPT] Windows system dll function addresses

2002-12-13 Thread Christopher Faylor
On Fri, Dec 13, 2002 at 09:16:58AM -0500, Joe Buehler wrote: >Sometimes it is useful to be able to tell what Windows >DLL functions are at the top of a stack trace in gdb >(not everyone can remember functions by address instead >of name). > >Here is a perl script to dump a sorted list of symbol >ad

Re: Info - cygwin articel in german linux magazine

2002-12-13 Thread Christopher Faylor
On Fri, Dec 13, 2002 at 10:28:43AM +0100, Ralf Habacker wrote: >Hi all, > >today I've found an interesting article about cygwin, cygwin/xfree and relating >topics in a german magazine. > >See http://www.linux-magazin.de/Artikel/ausgabe/2002/12/cygwin/cygwin.html for >further informations. Interest

Re: Some inquiries about cygwin?

2002-12-13 Thread Christopher Faylor
On Fri, Dec 13, 2002 at 02:21:49PM +0800, [EMAIL PROTECTED] wrote: >1. Can I install and use RedHat's RPM in Cygwin in order to install others >packages like uClinux? Not easily. Cygwin doesn't use RPMs. Cygwin is just a UNIX emulation. It won't run linux software. You build any tools you need

Re: Emacs: completion of buffer names ignores case

2002-12-13 Thread Joe Buehler
Eric, I think you have "completion-ignore-case" set to t in your emacs. It is not set in mine. Fire it up with the no-init args I posted previously and see if it is still set. Joe Buehler -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.

Re: Emacs: completion of buffer names ignores case

2002-12-13 Thread Joe Buehler
Eric, While looking at this, I tried it -- and I have no problem on my machine. Would you run emacs --no-site-file --no-init-file and see if you still have the problem? Also, what version of windows are you running? Joe Buehler -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s

Re: autoconf's AC_CHECK_FUNCS([strtol])

2002-12-13 Thread Igor Pechtchanski
I've had a similar problem once, and the reason was a missing (unrelated) library, so the program compiled but didn't link. Hope this helps. Igor On Fri, 13 Dec 2002, Lapo Luchini wrote: > ...says the function isn't there, but there it is. > > This is in config.log, is this 'normal' and/

Re: pipe improvements in snapshot

2002-12-13 Thread Pavel Holejsovsky
[EMAIL PROTECTED] wrote: Christopher Faylor wrote: On Thu, Dec 12, 2002 at 07:32:16AM -0500, Norman Vine wrote: Any 'tips' as to how to best debug this appreciated - Attach to the hung process with gdb and see where it is hung. - Provide cygcheck output. - Run under strace and see if you can

Install of predefined packages

2002-12-13 Thread a12
Hello cygwin gurus, Pardon my ignorance but after scanning mailing lists online, I have not found any hints to my question. I would like to roll out a predefined set of packages to a number of WinNT/Win2K PC. I have fetched setup.exe, and obtained the desired packages to H:\cygwin, and installed

[SCRIPT] Windows system dll function addresses

2002-12-13 Thread Joe Buehler
Sometimes it is useful to be able to tell what Windows DLL functions are at the top of a stack trace in gdb (not everyone can remember functions by address instead of name). Here is a perl script to dump a sorted list of symbol addresses from the dlls on a Windows system. You need dumpbin to run

Compiling rfbplaymacro under Cygwin for Windows

2002-12-13 Thread Thombo
Hello ! I need help. How can I compile rfbplaymacro for Windows? http://cyberelk.net/tim/data/rfbplaymacro/stable/ I start Cygwin, then i Type:./configure and:make But then there appear some Errors (wordexp.h nit found) I've ask a friend for the file (wordexp.h) he'd s

Re: Emacs: completion of buffer names ignores case

2002-12-13 Thread Joe Buehler
Eric Hanchrow wrote: Possible completions are: *Shell Command Output* *shell* Now, I can understand that Emacs would ignore case when completing file names on Windows, since Windows itself doesn't distinguish file names by case. But since Emacs does distinguish buffer names

autoconf's AC_CHECK_FUNCS([strtol])

2002-12-13 Thread Lapo Luchini
...says the function isn't there, but there it is. This is in config.log, is this 'normal' and/or a 'known problem'? configure:15213: checking for strtol configure:15250: g++ -o conftest.exe -g -O2 -L/usr/local/lib/ conftest.cc -lexp at >&5 configure:15228: declaration of C function `char str

Re: Changing to another user in cygwin -- login?

2002-12-13 Thread Jason Tishler
Andre, On Fri, Dec 13, 2002 at 08:57:27AM +0200, Andre Truter wrote: > Now I want to run the createdb, etc scritps as user postgres to create > a new database. What about using the "--username" option? $ id uid=19695(jt) gid=10513(Domain Users)... $ psql -l psql: FATAL: user "jt

Re: problems with CPAN and cygwin >1.3.12

2002-12-13 Thread Gerrit P. Haase
Hallo JoNO, Please keep replies on the list! >> Is the perl-5.8.0 you use from the original Cygwin >> netrelease mirrors or did you compile it yourself? > Yes, it's the perl-5.8.0 from the original Cygwin > release. (precompiled ver.) Ok. Mine too: $ perl -V Summary of my perl5 (revision 5.0 v

RE: memory checker tools under cygwin

2002-12-13 Thread Ralf Habacker
> hi folks, I am looking for a memory checker such as mpatrol running > under cygwin > Any one ever tried to run mpatrol under cygwin (or others)? No, but perhaps "memwatch" library could help you. See http://sourceforge.net/project/showfiles.php?group_id=27249 Ralf Habacker KDE on cygwin -

Info - cygwin articel in german linux magazine

2002-12-13 Thread Ralf Habacker
Hi all, today I've found an interesting article about cygwin, cygwin/xfree and relating topics in a german magazine. See http://www.linux-magazin.de/Artikel/ausgabe/2002/12/cygwin/cygwin.html for further informations. Regards Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-sim

RE: "The application failed to initialize properly (0xc0000022)" -- cause and cure

2002-12-13 Thread Gary R. Van Sickle
[snip] > However, I *had* installed those DLLs by using Cygwin's > "unzip" to unpack a ZIP file. I then noticed that if I simply did > "chmod +x *.dll" on those DLLs, the problem went away. > I get a similar problem on XP, but with wget. Again a chmod +x takes care of it, which is good, since X