Why doesn't find .|grep aword work?

2009-07-06 Thread km4hr
Do pipes work in cygwin in the usual way? Why doesn't the following command works on HP Unix? Why not cygwin? find .|grep hello I get no output from this command even though I'm sure the word hello is in some files. What I want this command to do is find all files in all sub-directories and

Re: Why doesn't find .|grep aword work?

2009-07-06 Thread km4hr
Oops, my bad. I forgot about xargs. No wonder I couldn't get it to work. Glad I asked anyway. I learned a some useful stuff, especially grep -r. thanks! km4hr wrote: Do pipes work in cygwin in the usual way? Why doesn't the following command works on HP Unix? Why not cygwin? find

Re: -query not working on cygwin/windows

2009-02-27 Thread km4hr
How do know which which ports are open on a Windows PC? I need ports 177/UDP and 6000-6006/TCP open for xdmcp -query. (Or so I understand. I can't find any clear instructions on this.) At cygwin shell prompt I enter netstat -na |grep 600* I get this: UDP0.0.0.0:6000 *:* UDP

Re: -query not working on cygwin/windows

2009-02-26 Thread km4hr
Dirk, Thanks for the recommendation. I gave it a try. Still no luck. Dirk Fassbender wrote: km4hr schrieb: Phil, Thanks for hanging in there and trying your best to help identify my problem. If I ever find the solution I will shout it from the mountain top! I'd like to try

RE: -query not working on cygwin/windows

2009-02-25 Thread km4hr
right. There's just too may variables here. Phil Betts-2 wrote: km4hr wrote: Phil Betts-2 wrote: km4hr wrote: Perhaps you missed my suggestions here: http://cygwin.com/ml/cygwin-xfree/2009-02/msg00222.html Try the telnet check first to see if the port is accessible from Windows because

RE: -query not working on cygwin/windows

2009-02-23 Thread km4hr
Phil Betts-2 wrote: km4hr wrote: Perhaps you missed my suggestions here: http://cygwin.com/ml/cygwin-xfree/2009-02/msg00222.html Try the telnet check first to see if the port is accessible from Windows because that only takes a few seconds. (Make sure you run the cygwin telnet.exe

Re: -query not working on cygwin/windows

2009-02-20 Thread km4hr
consideration. Larry Hall (Cygwin X) wrote: km4hr wrote: I've found an article on the internet that explains http://support.microsoft.com/kb/842242 how to open ports in Windows. I'll try it tomorrow even though I don't know if it's necessary. If you are confident that you turned the Windows

Re: -query not working on cygwin/windows

2009-02-19 Thread km4hr
This is an update on my hard-fought attempt to get -query access to a linux xdmcp server running CentOS 5 from my Windows PC running cygwin-x. I installed X-Win32 (a commercial X-server) on my Windows PC. Unlike cygwin-x and Xming the X-Win32 server does detect available xdmcp hosts when I use

What does -ac do?

2009-02-19 Thread km4hr
Does -ac do the same thing as xhost +? -- View this message in context: http://www.nabble.com/What-does-%22-ac%22-do--tp22104798p22104798.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: -query not working on cygwin/windows

2009-02-19 Thread km4hr
This is a update including further information regarding my quest to get cygwin/x to connect to my CentOS linux server via xdmcp. I believe I have isolated the problem to either cygwin/x or Windows, probably Windows because no X-server that I've tried works. I've tried cygwin/x, Xming, and

RE: -query not working on cygwin/windows

2009-02-19 Thread km4hr
Yes, I've read the information at the link you provided. It says to open port 177/UDP and ports 6000-6005(TCP). But it doesn't say whether that applies to the PC where the X-server is running, or just the xdmcp host. I'm 99% sure I've got those ports open on my CentOS host (the xdmcp server).

RE: -query not working on cygwin/windows

2009-02-19 Thread km4hr
I've found an article on the internet that explains http://support.microsoft.com/kb/842242 how to open ports in Windows. I'll try it tomorrow even though I don't know if it's necessary. km4hr wrote: Yes, I've read the information at the link you provided. It says to open port 177/UDP

Why doesn't XWin -help work?

2009-02-14 Thread km4hr
XWin -help doesn't do anything on my machine. How about yours? I can't get -query to do anything either. Does this indicate that I don't have cygwin/x installed correctly? -- View this message in context: http://www.nabble.com/Why-doesn%27t-%22XWin--help%22-work--tp22018481p22018481.html Sent

-query not working on cygwin/windows

2009-02-13 Thread km4hr
I can't get -query to do anything. I only get a grey screen. Do you have disable firewalling, or open some ports, or whatever on the Windows box? I completely disabled my Windows firewall (I think) but still no joy. I'm completely illiterate on Windows. I don't care to know anything about

Re: How to link with third party libraries using gcc

2007-06-29 Thread km4hr
Larry Hall (Cygwin) wrote: km4hr wrote: Well, I think I'm about at the end of my road. My purpose for trying cygwin was to see if it could insulate me from having to learn to program on Windows. But if I've got to go to MSNBC (or whatever) or google the internet to figure out

RE: How to link with third party libraries using gcc

2007-06-29 Thread km4hr
. They don't want to hear the word Linux. (If anyone has any idea how to reverse engineer such a library I'd love to hear about it!) Dave Korn wrote: On 28 June 2007 19:53, km4hr wrote: Well, I think I'm about at the end of my road. My purpose for trying cygwin was to see if it could insulate me

RE: How to link with third party libraries using gcc

2007-06-29 Thread km4hr
Dave, You're right. I'm not listening. At least not entirely. The only thing I really needed to hear was that this is an incredibly tricky and unreliable thing ... to do. Thanks for being up front about that! Dave Korn wrote: On 29 June 2007 15:26, km4hr wrote: computer. I have no idea

Re: How to link with third party libraries using gcc

2007-06-28 Thread km4hr
a sinking feeling about this. As if I'm going where no man has gone before. Thanks for trying, Brian. I can tell you know what you're talking about. Unfortunately I'm still completely in the dark. Brian Dessent wrote: km4hr wrote: I thought Windows shared libraries were indentified by a .dll

Re: How to link with third party libraries using gcc

2007-06-28 Thread km4hr
programming tools. They're easy to use, or so I'm told. I am glad cygwin enables me to run vi on Windows. That alone is very useful. The Unix utilities are nice too! Thanks for your suggestions. Larry Hall (Cygwin) wrote: km4hr wrote: Brian, It sounds like the solution could range from

How to link with third party libraries using gcc

2007-06-27 Thread km4hr
I do a fair amount of C programming on Unix but almost none on Windows. I know almost nothing about Windows libraries. I'd be happy if I never had to deal with them at all. But I have a need. I thought Windows shared libraries were indentified by a .dll extension. However I have a commercial

Is Cygwin/X compatible with HP's mwm?

2005-12-01 Thread km4hr
Is Cygwin/X compatible with the mwm (Motif Window Manager) that comes with HPUX 10.20? Or is Cygwin/X only supposed to work with Linux? I have an application that works fine with Redhat's X server, Exceed, and Reflections, but not Cygwin/X. I was hoping to use Cygwin/X instead of the

Mouse buttons not working

2005-11-23 Thread km4hr
I have an application on an HPUX host that runs several X clients. I login using XDM and the clients open individual windows automatically. The client windows look normal in Cygwin/X. But I can't switch focus from one client window to another. The mouse pointer moves around the screen but