Cygwin and Interix interoperability?

2006-04-20 Thread mwoehlke
Hi, list, I saw a few comments roughly on this topic when I searched the archives, but nothing 100% definite, so I thought I'd ask... Are there any plans of making Cygwin more compatible with Interix (and especially the SFU/SUA NFS clients)? Specifically, I would be interested in two things: 1)

Re: Cygwin and Interix interoperability?

2006-04-20 Thread mwoehlke
Christopher Faylor wrote: On Thu, Apr 20, 2006 at 11:59:49AM -0500, mwoehlke wrote: Are there any plans of making Cygwin more compatible with Interix >> (and especially the (and especially the SFU/SUA NFS clients)? No, there are no plans. I can't speak for Corinna, but, persona

Re: how to get my app to find a dynamic library

2006-04-20 Thread mwoehlke
Thomas Preisler wrote: My main app 'main.c' is in one directory and I have a dynamic library 'cygmylib.dll' in a subdiretory 'tmp'. I can compile and link my main app fine but having trouble running it. It complaints about not being able to find the dynamic library. I have tried just about ever

Re: Cygwin and Interix interoperability?

2006-04-20 Thread mwoehlke
Corinna Vinschen wrote: We're already having two different symlink types, one of them U/Win compatible. I'm, too, not really interested in adding another one(*), especially when there's no documentation and, TTBOMK, no Win32 API. True; it might require linking against Interix (yuck), which is

Re: Cygwin and Interix interoperability?

2006-04-21 Thread mwoehlke
Corinna Vinschen wrote: On Apr 20 16:42, mwoehlke wrote: True; it might require linking against Interix (yuck), which is only feasible with SUA 5.2. There is nevertheless a very real chance that I I don't think that's feasible for Cygwin, though. Interix is not just a Win32 DLL

Re: Cygwin and Interix interoperability?

2006-04-21 Thread mwoehlke
Corinna Vinschen wrote: I don't get it. We're using .lnk symlinks for quite some time and open works transparently with them. Sorry; clarification (again): open() in Windows, outside of Cygwin. I.e. if I try to open a path in Notepad that contains a symlink, it doesn't work with Cygwin's .ln

Re: Launch APP over SSH

2006-04-21 Thread mwoehlke
Wesley Smith wrote: I've been reading previous posts on this topic, but I haven;t been able to get cygwin to do what I need. I tried: $ cygstart notepad from a remote SSH login and nothing happened. If you'll pardon a stupid question, why would you want to do such a thing? (Or, "what good w

Re: Launch APP over SSH

2006-04-21 Thread mwoehlke
http://cygwin.com/acronyms/#TOFU Wesley Smith wrote: I'm trying to run a program called MaxMSP. [snip] Even though I won't be graphically interating with it, I still want to be able to launch it this way. One really cheap way would be to write an app that sits around and waits for a message t

Re: Launch APP over SSH

2006-04-24 Thread mwoehlke
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Wesley Smith on 4/21/2006 1:59 PM: PS I also get the message WARNING: terminal is not fully functional . How do I get rid of this? Usually, this is an indication that the remote machine does not have a termcap/term

Re: Cygwin and Interix interoperability?

2006-04-25 Thread mwoehlke
Cary Jamison wrote: I read that Vista will have "Built-in NFS for Unix interoperability." [snip] If it is true, you may want to wait for Vista, where all your problems will be solved! :-) It's called "Services for UNIX-based Applications" (SUA). It's also in Windows 2003 R2, which is what I ha

Re: How do I detect a failure in Make?

2006-04-26 Thread mwoehlke
Richard Quadling wrote: I have the following bash script ... #!/bin/sh cvs up 2> $HOME/cvs1.log > $HOME/cvs2.log cd phpdoc autoconf -v -d --warnings=all &> $HOME/autoconf.log ./configure --with-source=./../php-src --with-pear-source=./../pear --with-chm=yes --with-treesaving > $HOME/configure.lo

Re: "rm -rf ./foo/" safe to use?

2006-04-26 Thread mwoehlke
Ross, George - DOA wrote: I have never tested the cygwin NFS client against the above-mentioned NFS server. Wait... Cygwin has an NFS client? Did I miss something? (How would/does this work with non-Cygwin applications?) -- Matthew All of my signatures are 100% original. Including this one.

"Ghost" processes on Cygwin

2006-04-26 Thread mwoehlke
ing this one. Cygwin Configuration Diagnostics Current System Time: Wed Apr 26 17:01:30 2006 Windows 2003 Enterprise Server Ver 5.2 Build 3790 Service Pack 1 Running under WOW64 on AMD64 Path: C:\cygwin\w32dev h:\mwoehlke\src c:\j2sdk1.4.2_08\bin C:\cygwin\usr\local\bin

Re: "Ghost" processes on Cygwin

2006-04-26 Thread mwoehlke
Volker Quetschke wrote: mwoehlke wrote: I'm seeing something funny. While trying to build a large program on Cygwin using cl.exe (i.e. I am building a non-Cygwin app; just using Cygwin to drive 'make'), every now and then, cl.exe hangs. Before you tell me I'm on the wrong

Re: "Ghost" processes on Cygwin

2006-04-26 Thread mwoehlke
mwoehlke wrote: Volker Quetschke wrote: mwoehlke wrote: I'm seeing something funny. While trying to build a large program on Cygwin using cl.exe (i.e. I am building a non-Cygwin app; just using Cygwin to drive 'make'), every now and then, cl.exe hangs. Before you tell me I

Re: Call for testing Cygwin snapshot

2006-04-27 Thread mwoehlke
Dave Korn wrote: On 26 April 2006 20:21, Jerry D. Hedden wrote: In this case, I used the full 20060426 snapshot and generated some stuck processes. The output from 'ps' showed the following: PIDPPIDPGID WINPID TTY UIDSTIME COMMAND 2944 11332 29292

Re: "Ghost" processes on Cygwin

2006-04-27 Thread mwoehlke
Christopher Faylor wrote: On Wed, Apr 26, 2006 at 05:12:31PM -0500, mwoehlke wrote: I'm seeing something funny. While trying to build a large program on Cygwin using cl.exe (i.e. I am building a non-Cygwin app; just using Cygwin to drive 'make'), every now and then, cl.exe ha

Re: How do I detect a failure in Make?

2006-04-28 Thread mwoehlke
Richard Quadling wrote: On 26/04/06, mwoehlke <[EMAIL PROTECTED]> wrote: Richard Quadling wrote: I have the following bash script ... #!/bin/sh cvs up 2> $HOME/cvs1.log > $HOME/cvs2.log cd phpdoc autoconf -v -d --warnings=all &> $HOME/autoconf.log ./configure --with-source=

Re: where to find "dig" command?

2006-04-28 Thread mwoehlke
Hiroki Sakagami wrote: Where is "dig" DNS lookup command? It seems that search at http://cygwin.com/packages/ has no result package. http://www.isc.org/index.pl?/sw/bind/ - but I can't tell what you need to download; good luck! -- Matthew "Sorry. Wrong species." --ST-TNG -- Unsubscribe inf

Re: "Ghost" processes on Cygwin

2006-04-28 Thread mwoehlke
mwoehlke wrote: I'm seeing something funny. While trying to build a large program on Cygwin using cl.exe (i.e. I am building a non-Cygwin app; just using Cygwin to drive 'make'), every now and then, cl.exe hangs. Before you tell me I'm on the wrong list :-), here's th

Setup colors... getting there!

2006-05-03 Thread mwoehlke
Igor Peshansky wrote: > Try a setup snapshot (). Curious to see if the 'ignores user's color scheme' problem was fixed, I decided to give one of these a whirl. My first attempt crashed while downloading the mirror list (VS2005 seems to indicate a NULL derefer

Re: SVN_EDITOR

2006-05-05 Thread mwoehlke
Harmin Rueda wrote: Hi: I am executing svn commands from cygwin and I get this messages: svn: None of the environments variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found. How can I solve this problem? (I'm assuming you're using bash a

Re: ssh problem

2006-05-11 Thread mwoehlke
Cédric Bouttes wrote: I have a problem with ssh on cygwin. When i use : ssh localhost i have the following message and so i can't connect on ssh locally The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is 7a:83:37:4b:d2:e0:b7:f5:2a:30:a3:4b:db:26:bc:07.

Re: Inconsistency in find ... -name ...

2006-05-18 Thread mwoehlke
Eric Blake wrote: [snip] And be aware that my suggested alias is not perfect (think exit codes, among other things alias find='_find() { local result; trap "set +f; trap SIGINT" SIGINT find "$@"; result=$?; set +f; trap SIGINT return $result; }; set -f; _find' An improvement? --

Re: rvxt-20050409-1 console problem [SUMMARY]

2006-05-18 Thread mwoehlke
Charles Wilson wrote: I'm leaning toward this solution, in a more generic sense, like: "gui-switcher.exe --config=/etc/rxvt-selector.conf" It'll go into the checkX package since it'll leverage a lot of the same code. And that's why I need to track down these issues with rxvt-unicode-X+run+

Re: console question

2006-05-18 Thread mwoehlke
[EMAIL PROTECTED] wrote: Do you use a 640x480 screen? Full screen for a console sounds like a grand waste of field of vision. Eh, I *love* my full-screen consoles... sooo much text you can see at once! Of course, I also have no fewer than... um... four ;) monitors here. -- Matthew Hey, buddy

Re: Read-only samba directory appears writable to Cygwin

2006-05-22 Thread mwoehlke
Peter Fales wrote: We've got a directory which is mounted from a Samba server. The server is sharing the directory as read-only. However under Cygwin access("/path/to/samba/mount/some_file",W_OK) is returning 0, indicating the that file is writable.I assume this is because Cygwin doesn

Re: Reading Term::ReadKey support for ActiveState Perl and Cygwin

2006-05-22 Thread mwoehlke
David Christensen wrote: Paul Dorman wrote: I've been racking my brains trying to read keystrokes in a Cygwin shell with ActiveState Perl. I recently evaluated Microsoft Services for Unix (SFU), which aims to provide a Unix subsystem and GNU tool chain running on top of the Windows kernel:

Problems with setup colors in snapshot

2006-05-22 Thread mwoehlke
A while back I posted about the colors in setup.exe. I noticed that the text background color is fixed but that there is still a problem with the tree structure; specifically, the clickable [+] and [-] icons are, on my colors, effectively invisible. On some other color schemes I tried, they *ar

Re: Cygwin X Directory/File Manager - Does one exist?

2006-05-22 Thread mwoehlke
Dave Elstner wrote: Is there a Cygwin X program that functions similar to Windows Explorer? Konquerer? (If you can figure out the whole KDE-on-Cygwin thing...) I'm not aware of anything else, but that doesn't mean there isn't something. -- Matthew All of my signatures are 100% original. Includ

Re: Problems with setup colors in snapshot

2006-05-22 Thread mwoehlke
Igor Peshansky wrote: On Mon, 22 May 2006, mwoehlke wrote: A while back I posted about the colors in setup.exe. I noticed that the text background color is fixed but that there is still a problem with the tree structure; specifically, the clickable [+] and [-] icons are, on my colors

dereferenced NULL in setup-2.529 (possible patch)

2006-05-22 Thread mwoehlke
mwoehlke wrote: > Also, I'd test on my XP system but it is consistently dereferencing a > NULL :-(. (On W2k3 R2 it did that *once* and has since run just fine.) I built setup (from the 2.529 tarball) and ran it in gdb, and got this stack trace: #0 0x77c470d0 in msvcrt!mem

Re: Problems with setup colors in snapshot

2006-05-22 Thread mwoehlke
mwoehlke wrote: Igor Peshansky wrote: On Mon, 22 May 2006, mwoehlke wrote: A while back I posted about the colors in setup.exe. I noticed that the text background color is fixed but that there is still a problem with the tree structure; specifically, the clickable [+] and [-] icons are, on my

Re: Problems with setup colors in snapshot

2006-05-23 Thread mwoehlke
Brian Dessent wrote: mwoehlke wrote: A while back I posted about the colors in setup.exe. I noticed that the text background color is fixed but that there is still a problem with the tree structure; specifically, the clickable [+] and [-] icons are, on my colors, effectively invisible. On some

Re: Problems with setup colors in snapshot

2006-05-23 Thread mwoehlke
Igor Peshansky wrote: On Mon, 22 May 2006, mwoehlke wrote: Igor Peshansky wrote: Hmm, weird -- for me the foreground color of the icons is *always* black. Unfortunately, a: this isn't the case for me, and b: as you've so astutely pointed out, if it was that would still be p

Re: dereferenced NULL in setup-2.529 (possible patch)

2006-05-23 Thread mwoehlke
Brian Dessent wrote: mwoehlke wrote: I built setup (from the 2.529 tarball) and ran it in gdb, and got this stack trace: Thanks for the debugging. I must have missed the original report, as I don't see the parent post of this thread. Under what circumstances is this repeatable? It

Re: Visibility of Samba shares after ssh login

2006-05-23 Thread mwoehlke
Guenter Bachler wrote: I started the ssh-server on the windows client in order to log-on to a Linux maschine and vice verse. On the Windows client several SAMBA shares have been mapped and correctly displayed with the 'mount' command in the cygwin shell. Now invoking an ssh login session from

Re: export arrays from cygwin ksh

2006-05-23 Thread mwoehlke
bob wrote: I have an hp unix script that runs in ksh and am porting it to PC. It uses and exports arrays in hp unix. Does not seem to work in cygwin. Can anybody offer suggestions to accomodate? I tried to put an example below, but I was labeled a top poster and it would not let me do it.

Re: export arrays from cygwin ksh

2006-05-23 Thread mwoehlke
mwoehlke wrote: bob wrote: I have an hp unix script that runs in ksh and am porting it to PC. It uses and exports arrays in hp unix. Does not seem to work in cygwin. Can anybody offer suggestions to accomodate? I tried to put an example below, but I was labeled a top poster and it would

Re: Visibility of Samba shares after ssh login

2006-05-23 Thread mwoehlke
mwoehlke wrote: Guenter Bachler wrote: I started the ssh-server on the windows client in order to log-on to a Linux maschine and vice verse. On the Windows client several SAMBA shares have been mapped and correctly displayed with the 'mount' command in the cygwin shell. Now invok

ssh + nfs = no write permission

2006-05-23 Thread mwoehlke
I *think* this is new... if not, would appreciate someone pointing me at what search terms worked better than my attempts. Anyway... I have two computers - one XP, one W2k3 R2 - running Cygwin with network mounts over ssh set up as described in

...even stranger (was: ssh + nfs = no write permission)

2006-05-23 Thread mwoehlke
mwoehlke wrote: I *think* this is new... if not, would appreciate someone pointing me at what search terms worked better than my attempts. Anyway... I have two computers - one XP, one W2k3 R2 - running Cygwin with network mounts over ssh set up as described in <http://cygwin.com/ml/cyg

Re: Handling special characters (\/:*?"<>|) gracefully

2006-05-23 Thread mwoehlke
Hicks,Mike wrote: There are a number of special characters that cannot be used in filenames on the NTFS filesystem [snip] [much snipage] You might want to play around with "managed mounts" ('man mount'), if they do what I think I heard they do (namely, "deal" with such things for you). Suppo

Re: Visibility of Samba shares after ssh login

2006-05-24 Thread mwoehlke
, also TOFU reformatted... Guenter wrote: mwoehlke wrote: Guenter Bachler wrote: I started the ssh-server on the windows client in order to log-on to a Linux maschine and vice verse. On the Windows client several SAMBA shares have been mapped and correctly displayed with the 'mount

Re: export arrays from cygwin ksh

2006-05-24 Thread mwoehlke
Thorsten Kampe wrote: * mwoehlke (2006-05-23 16:37 +) It does seem like this doesn't work - at least, not how I would expect it to - on bash (either on Cygwin or on Linux). Maybe you should try ksh on Cygwin. He said he did. Read the subject of this thread. Sorry, my apol

Re: slow share = slow scripts?

2006-05-25 Thread mwoehlke
Larry Hall (Cygwin) wrote: mwoehlke wrote: I'm trying to run some scripts off of a slow network share, and it takes *forever* in Cygwin (it's OK in Interix). Looking at an strace (attached) via 'sort -n' shows a LOT of time being spent in read(), apparently just after (

Re: Cygwin, gdb and SEH [was RE: 1.5.19: changes have broken Qt3]

2006-05-25 Thread mwoehlke
clayne@ wrote: BTW: Myself, I had just updated to CVS gdb. Currently it looks like SIGINT is busted (well atleast initiating via ctrl-c) and performance under gdb is crap (probably because I'm trying to debug something with millions of objects - each with their own mutexes). Hmm, build problem

Re: slow share = slow scripts?

2006-05-25 Thread mwoehlke
Larry Hall (Cygwin) wrote: On 05/25/2006, mwoehlke wrote: Larry Hall (Cygwin) wrote: Take a look at the -x, -E, and -X flags of 'mount'. Perhaps these will help you. Hmm, those are mutually contradictory... guess I'll "experiment". Out of curiosity, what are an

Re: slow share = slow scripts?

2006-05-25 Thread mwoehlke
Larry Hall (Cygwin) wrote: mwoehlke wrote: I'm trying to run some scripts off of a slow network share, and it takes *forever* in Cygwin (it's OK in Interix). Looking at an strace (attached) via 'sort -n' shows a LOT of time being spent in read(), apparently just after (

Re: slow share = slow scripts?

2006-05-25 Thread mwoehlke
Igor Peshansky wrote: On Thu, 25 May 2006, mwoehlke wrote: Larry Hall (Cygwin) wrote: On 05/25/2006, mwoehlke wrote: Larry Hall (Cygwin) wrote: Take a look at the -x, -E, and -X flags of 'mount'. Perhaps these will help you. Hmm, those are mutually contradictory... guess I'

Re: slow share = slow scripts?

2006-05-25 Thread mwoehlke
Larry Hall (Cygwin) wrote: On 05/25/2006, mwoehlke wrote: I was misremembering that Cygwin doesn't have or need a 'umount'. Must've been thinking about something else. At any rate, I know I have sometimes been able to re-mount drives without first unmounting them. You c

Re: slow share = slow scripts?

2006-05-25 Thread mwoehlke
Dave Korn wrote: On 25 May 2006 18:21, mwoehlke wrote: Larry Hall (Cygwin) wrote: On 05/25/2006, mwoehlke wrote: I was misremembering that Cygwin doesn't have or need a 'umount'. Must've been thinking about something else. At any rate, I know I have sometimes been abl

Re: slow share = slow scripts?

2006-05-26 Thread mwoehlke
Gary R. Van Sickle wrote: From: mwoehlke [snip] Also, why *is* fstat() so inefficient? Short answer: because it gets a bunch of information about the file that isn't necessarily available without hitting (open()ing) the file itself. Like... what? Inode information? Looking at th

Re: slow share = slow scripts?

2006-05-26 Thread mwoehlke
Dave Korn wrote: On 26 May 2006 16:38, mwoehlke wrote: [snip] Way way back in the OP, I mentioned that Interix doesn't have this problem, which would imply a "design flaw" in Cygwin. Maybe (probably) it is a *necessary* design flaw, BUT... You are now piling pointles

Re: slow share = slow scripts?

2006-05-26 Thread mwoehlke
Christopher Faylor wrote: On Fri, May 26, 2006 at 10:37:52AM -0500, mwoehlke wrote: Way way back in the OP, I mentioned that Interix doesn't have this problem, which would imply a "design flaw" in Cygwin. Maybe (probably) it is a *necessary* design flaw, BUT... A "ne

Re: bash 3.x path completion problems

2006-05-30 Thread mwoehlke
burning shadow wrote: Like I said, it's unlikely that this is the thing that makes the difference, but you could always have a quick try with the latest snapshot just in case: http://cygwin.com/snapshots. It might also be trying the different cygwin terminals, xterm and rxvt as well as plai

Re: window resizing not updating COLUMNS and LINES

2006-05-31 Thread mwoehlke
Kenneth Nellis wrote: mwoehlke wrote: Kenneth Nellis wrote: I'm not seeing the LINES and COLUMNS environment variables getting updated correctly after resizing my terminal window. This occurs whether I'm using rxvt or xterm. Furthermore, "echo $COLUMNS" and "printenv

Re: window resizing not updating COLUMNS and LINES

2006-05-31 Thread mwoehlke
Samuel Thibault wrote: mwoehlke, le Wed 31 May 2006 17:19:15 -0500, a écrit : Kenneth Nellis wrote: Same here...I do my own export to get things started. --Ken Wait, wait, step back... this in itself sounds like a problem. 'export COLUMNS' is needed for 'printenv COLUMNS

'ps' - is it supposed to do that?

2006-06-01 Thread mwoehlke
I was looking at 'ps' one day, wishing it would limit its output to just "my" processes. Just now, I realized it is... it is showing me all of *my* processes, rather than all of the *tty's* processes. On most other (real) OS's, I'm used to the limit - sans '-e' - being 'this /tty/', not 'this /

Re: window resizing not updating COLUMNS and LINES

2006-06-05 Thread mwoehlke
Ehud Karni wrote: On Wed, 31 May 2006 18:47:24 -0500, mwoehlke wrote: 'export COLUMNS' is needed for 'printenv COLUMNS' to work, since in the printenv case you need the variable to be transferred to the child printenv process. Ok, that makes sense, although my understa

Populating /var/run/utmp?

2006-06-05 Thread mwoehlke
I would like to use 'w' on my Cygwin installation. I found http://cygwin.com/ml/cygwin/2001-09/msg01177.html, but it only seems to work on one of my computers: $ echo $CYGWIN binmode tty ntsec $ w 13:03:11 up 5 days, 22:30, 0 users, load average: 0.00, 0.00, 0.00 USER TTYLOGIN@

Re: Populating /var/run/utmp?

2006-06-05 Thread mwoehlke
Brian Dessent wrote: mwoehlke wrote: I would like to use 'w' on my Cygwin installation. I found http://cygwin.com/ml/cygwin/2001-09/msg01177.html, but it only seems to work on one of my computers: [snip] Are you sure you're not trying to set CYGWIN=tty after the first sh

Re: 'ps' - is it supposed to do that?

2006-06-07 Thread mwoehlke
mwoehlke wrote: I was looking at 'ps' one day, wishing it would limit its output to just "my" processes. Just now, I realized it is... it is showing me all of *my* processes, rather than all of the *tty's* processes. On most other (real) OS's, I'm used to

Re: UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared).

2006-06-08 Thread mwoehlke
Williams, Gerald S (Jerry) wrote: Huw wrote: The next issue I have is: mcast_leave.c: In function `mcast_leave_source_group': mcast_leave.c:78: error: storage size of 'mreq' isn't known I don't know anything about the ip_mreq_source structure, but it looks to me like the current version may b

Re: Populating /var/run/utmp?

2006-06-12 Thread mwoehlke
mwoehlke wrote: Brian Dessent wrote: mwoehlke wrote: I would like to use 'w' on my Cygwin installation. I found http://cygwin.com/ml/cygwin/2001-09/msg01177.html, but it only seems to work on one of my computers: [snip] Are you sure you're not trying to set CYGWIN=tty after

Re: Could not touch file when specify full path in Cygwin in .bat file

2006-06-12 Thread mwoehlke
[EMAIL PROTECTED] wrote: Hi, Cygwin support group, I have problem to touch a file when specify the full path. Here are some examples. MKS works fine -- Filename with special characters D:\>touch D:[EMAIL PROTECTED]&()[EMAIL PROTECTED]&()_+ [snip] And, given that I don't see a POSIX-style pat

Re: \cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487

2006-06-13 Thread mwoehlke
Mark Bartel wrote: Is anybody working on this? I would quote some relevant context as to what "this" is, but not only do you like http://cygwin.com/acronyms/#TOFU and don't use correct quoting style, but you seem to have snipped all usable context as well. You might try http://www.mozilla.c

Re: Unable to delete directory in Cygwin

2006-06-19 Thread mwoehlke
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gina Verlekar on 6/15/2006 3:53 AM: Hi, I have implemented some changes in the linker code for some intermediate processing. For that I need to create a temporary directory, generate some intermediate in it, process

Re: Unable to delete directory in Cygwin

2006-06-19 Thread mwoehlke
Larry Hall (Cygwin) wrote: mwoehlke wrote: Eric Blake wrote: That said, cygwin does try to emulate linux, and if someone were to contribute a patch that would allow cygwin to emulate directory deletion if it knows that all open handles have also been scheduled for unlinking at process end

How to debug stuck bash?

2006-06-19 Thread mwoehlke
I have no idea how to approach this. I am seeing a problem where bash occasionally hangs. If I try to attach with gdb, gdb hangs. I can attach with Visual Studio, which claims that there is a deadlock, and shows the current call at least a half dozen calls deep into ntdll. Does anyone have any

Re: loop through folders

2006-06-19 Thread mwoehlke
smanna wrote: Hello I am trying to write a script. This is the thing, I want to loop through all folders in a certain folder and send all files in these folders to a java program. The files are somewhere in the neighbourhood of 170.000. the setup is: Home cygwin.sh

Re: Thread Injection + Cygwin problems

2006-06-19 Thread mwoehlke
Kaveh Goudarzi wrote: Hi, I've written a program to detect the invocation of processes and then inject them with a remote thread in the hope of getting the cmdLine/cwd and environment variables of the running process. [snip] I'm not sure how to approach the problem so any advice would be

Re: Thread Injection + Cygwin problems

2006-06-20 Thread mwoehlke
Christopher Faylor wrote: On Mon, Jun 19, 2006 at 06:11:57PM -0500, mwoehlke wrote: Kaveh Goudarzi wrote: I've written a program to detect the invocation of processes and then inject them with a remote thread in the hope of getting the cmdLine/cwd and environment variables of the ru

Re: snapshots: first resort, or last resort?

2006-06-20 Thread mwoehlke
Science Guy wrote: In http://cygwin.com/ml/cygwin/2006-06/msg00434.html, Brian said "using the latest snapshot should always be the first thing you try when encountering a problem before reporting it to the list." However, the instructions for installing snapshots at http://cygwin.com/faq/faq-no

Re: random "fork: Resource temporarily unavailable"

2006-06-22 Thread mwoehlke
Christopher Faylor wrote: On Thu, Jun 22, 2006 at 01:47:46PM -0400, Charli Li wrote: -Original Message- From: Larry Hall (Cygwin) Sent: Thursday, June 22, 2006 1:39 PM To: [EMAIL PROTECTED] Subject: Re: random "fork: Resource temporarily unavailable" Wow. How many times do we have to

Re: snapshots: first resort, or last resort?

2006-06-26 Thread mwoehlke
Linda Walsh wrote a lot of stuff about how she wants more flavors and frequency of Cygwin releases... ...and as Igor said, . Care to volunteer? -- Matthew This line intentionally left blank. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: XP64 problem

2006-06-27 Thread mwoehlke
skaller wrote: Hi, I am having the following problem: (a) I can build my system under Cygwin on Windows XP32/SP1 amd64 (hostname rosella) (b) exactly the same build processes generates a segfaulting binary on XP64 amd62x2 (hostname budgie) cyginfo -s for budgie attached. AFAIK this is the

Re: Help Understanding Path Issue

2006-06-28 Thread mwoehlke
Scott Purcell wrote: I have "CLASSPATHS" and "PATHS" and some "HOME" directories set up. Eg: ANT_HOME value=C:/ant/bin I assume you meant "CLASSPATH" and "PATH". When I run ant from a "cmd" window all is good. It picks up the value and runs fine. But I do not want to use the "cmd" prompt, and

Re: Access to Network Drive under ssh

2006-06-29 Thread mwoehlke
David Greene wrote: I tried to do a manual mount with no success: $ net use H: \\samba-drive\dag H: has a remembered connection to \\samba-drive\dag. Do you want to overwrite the remembered connection? (Y/N) [Y]: No valid response was provided. The strange thing here is that "net use" didn't ev

Re: Access to Network Drive under ssh

2006-06-29 Thread mwoehlke
David Greene wrote: mwoehlke wrote: Anyway, the way I generally get things... well, closer to working, is to create a service that calls 'bash -c ', and have the script issue a bunch of 'net use ' commands and then exec sshd. That way you don't have to worry

Re: Access to Network Drive under ssh

2006-06-29 Thread mwoehlke
David Greene wrote: mwoehlke wrote: You need to first do: net use /delete h: ...so that you don't get prompted Now I get this, which is what happened before I started sshd as dag. Except I can still cd to //samba-drive/dag: $ net use H: \\samba-drive\dag System error 67 has occurred.

Re: rsync over ssh hang issue understood

2006-06-30 Thread mwoehlke
Darryl Miles wrote: [snip] * The outstanding byte count needs to be protected by a mutex. Are you familiar with the Interlocked* family of functions? Depending on what exactly you need to do with the value, a mutex may be unnecessary. Fascinating discussion, but over my head without taking

Re: rsync over ssh hang issue understood

2006-06-30 Thread mwoehlke
Darryl Miles wrote: mwoehlke wrote: Darryl Miles wrote: [snip] * The outstanding byte count needs to be protected by a mutex. Are you familiar with the Interlocked* family of functions? Depending on what exactly you need to do with the value, a mutex may be unnecessary. Do these

Re: cygwing list subscription

2006-06-30 Thread mwoehlke
Igor Peshansky wrote: On Fri, 30 Jun 2006, Abdellatif Ezzouhairi wrote: i'm currently doing simulations with ns-2 using cygwin, and i need to subscribe to cygwin mailing list how can i subscribe to this group ! Try , which is one link away from Unsubscribe info:

Re: Using du.exe to calculate disk usage on a Microsoft cluster server

2006-07-07 Thread mwoehlke
Will Beldman wrote: Can anyone tell me under what circumstance the message du: fts_read failed: Permission denied would come up. I should be able to troubleshoot things from there if only I knew what that error message is really complaining about. When all else fails, you can try reading the s

Re: Problem with gcc

2006-07-11 Thread mwoehlke
Guenther Sohler posted a signature three times longer than his message: Yike! Please use a MUCH shorter signature. Preferably one without unenforceable (and, according to Eric Blake and CGF, against ML policy) disclaimers, and you might want to reconsider feeding the spammers as well. See http

Re: Accessing network drive with ssh

2006-07-11 Thread mwoehlke
David Greene wrote: Corinna Vinschen wrote: Searching the mailing list archives or looking into the FAQ would have been of some help. Rather than let this extremely unhelpful reply be the last word, I'll relate my experience. I'm sorry, but it's nearly impossible to do web searches on this to

Re: Trouble with readline during make command

2006-07-12 Thread mwoehlke
Guillot Jeremie wrote: Hi everyone I have some troubles with readline library when I want to compile my program. In my cpp file I have #include We would be more willing (and able) to help if you gave us some indication of what the problem is. Problem reports: http://cygwin.com/problems

Re: inetd error

2006-07-14 Thread mwoehlke
McGraw, Robert P. wrote: Is there any know problem with running inetd on a Window2003 server? Yup. Try reading Corrina's reply to your previous message. -- Matthew Warning: prolonged exposure to Cygwin may cause addiction. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Re: inetd error

2006-07-14 Thread mwoehlke
Robert McGraw wrote: mwoehlke tibco.com> writes: McGraw, Robert P. wrote: Is there any know problem with running inetd on a Window2003 server? Yup. Try reading Corrina's reply to your previous message. Matthew, At the time I did not realize that this post had anything to do

Re: Possible bug in pgrep (procps)

2006-07-17 Thread mwoehlke
Bengt-Arne Fjellner wrote: pgrep from procps-3.2.6-1 when asking for an exact match with arguments seems to demand an extra space after the argument. See the following sequence. No space after the f on the commandline $ emacs f& [1] 2072 without extra space $ pgrep -x -f "emacs f" with extra

Re: window command in bash

2006-07-18 Thread mwoehlke
Buchbinder, Barry (NIH/NIAID) [E] wrote: Igor Peshansky wrote: On Tue, 18 Jul 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: Did you quote the path or escape the backslashes to protect the backslashes from the shell interpreting them as escape characters? E.g., AgBackup.exe /notext 'c:\

Re: When ssh'd in, cannot run MS compiler /Zi debug option.

2006-07-19 Thread mwoehlke
Mark Charney wrote: I suspect I'm missing some "rights". This is an issue for me on multiple machines running Windows Server 2003 x64 or for 32b WinXP. When I try to compile using the debug-option (/Zi) to the Microsoft Visual Studio Pro 2005 compiler: cl /Zi hello.cpp it only works fr

Re: Compiling euchre 0.7 n cygwin

2006-07-20 Thread mwoehlke
Laurent Duperval wrote: Buster wrote: This is not a Cygwin-specific problem. In euchre-0.7/src/gui/Makefile.am, @GTK_LIBS@ should come at the end of the list of libraries to link, instead of at the beginning. Further questions (for example, about why 'make install' fails while trying to invoke a

Re: Compiling euchre 0.7 n cygwin

2006-07-20 Thread mwoehlke
TITTTLing Dave Korn wrote: On 20 July 2006 18:40, mwoehlke wrote: Laurent Duperval wrote: Buster wrote: This is not a Cygwin-specific problem. In euchre-0.7/src/gui/Makefile.am, @GTK_LIBS@ should come at the end of the list of libraries to link, instead of at the beginning. Further questions

Re: When ssh'd in, cannot run MS compiler /Zi debug option.

2006-07-20 Thread mwoehlke
Mark Charney wrote: mwoehlke tibco.com> writes: Fatal Error C1902: Program database manager mismatch; please check your installation. ... Actually, you might want to read <http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=357051&SiteID=1>. This seems to be a

Re: Why are Windows paths broken in make 3.81?

2006-07-21 Thread mwoehlke
Michael Hirsch wrote: Here is a sample Makefile that breaks with Gnu Make 3.81-1 under Cygwin, but works fine with Gnu Make 3.80-1. We have been writing these types of Makefiles for years, using both Windows and Cygwin tools, and this is the first time Make has ever broken like this. I see in a

Re: Why are Windows paths broken in make 3.81?

2006-07-24 Thread mwoehlke
Joachim Achtzehnter wrote: Christopher Faylor wrote: On Fri, Jul 21, 2006 at 06:03:43PM -0700, Joachim Achtzehnter wrote: My second post was specifically in response to the claim by mwoehlke suggesting that the changes were "not an inconvenience". In this post all the issues I ment

Re: Where is complex.h

2006-07-24 Thread mwoehlke
TV JOE wrote: I've a C program referencing complex.h. But make can't find it and the only copy I see is in /usr/include/mingw which I don't think is the right version. Advice welcomed. No, probably not... http://cygwin.com/cgi-bin2/package-grep.cgi?grep=/complex.h suggests there is one i

Re: Where is complex.h

2006-07-24 Thread mwoehlke
Christopher Faylor wrote: On Mon, Jul 24, 2006 at 05:00:37PM -0400, Larry Hall (Cygwin) wrote: TV JOE wrote: I've a C program referencing complex.h. But make can't find it and the only copy I see is in /usr/include/mingw which I don't think is the right version. Advice welcomed. Try:

  1   2   3   >