Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file

2009-11-07 Thread Richard Foulk
Jim Reisert wrote: >On Fri, Nov 6, 2009 at 7:12 AM, Cooper, Karl (US SSA) > wrote: > >> Corinna Vinschen wrote: >>> Or try LANG=C.ASCII since LANG=C will still return UTF-8 as charset >>> when calling nl_langinfo(CHARSET). >> >> Yes, this solves it: >> >> $ time LC_ALL=C.ASCII grep dog testfile |

Re: ssh hanging on some connections

2008-05-10 Thread Richard Foulk
> Richard Foulk wrote: > > Aloha, > > > > Has anyone figured out why ssh is hanging sometimes? Saw it mentioned > > in some back archives, but no answers. > > > > Just installed the latest Cygwin today and now I've got the ssh hang > > pro

ssh hanging on some connections

2008-05-07 Thread Richard Foulk
Aloha, Has anyone figured out why ssh is hanging sometimes? Saw it mentioned in some back archives, but no answers. Just installed the latest Cygwin today and now I've got the ssh hang problem when I access a particular Linux box over the Internet. It connects okay, though much slower than anot

cleanup after failed setup?

2008-05-05 Thread Richard Foulk
Aloha, Periodically, when I try to update Cygwin with setup.exe the process hangs and requires a `cancel' to stop. Often after this setup crashes on subsequent runs after all the various startup questions and leaves nothing in setup.log or setup.log.full to debug with. Is there a way to fix this

using regtool to modify remote registries?

2007-05-10 Thread Richard Foulk
Can someone point me to documentation or examples of using regtool to modify remote user registries? The man pages and other documentation don't quite explain things. The get and set commands seem likely, but don't work by themselves. The load, unload and save commands seem likely, but the docum

ping returns success on failure

2007-05-04 Thread Richard Foulk
Ping returns zero (0) after a successful response from a remote host. It returns one (1) if it's called with a unknown domain name -- a failure. Unfortunately, it returns zero if the remote host exists but doesn't respond. This seems like incorrect behavior to me and doesn't agree with ping on L

Updating cygwin and X

2007-03-17 Thread Richard Foulk
What is the proper way to install everything and then update it from time to time? The setup.exe program says it's to be used for installs and updates but only seems to know how to install, reinstall or uninstall. Nothing specific to updates, unless I missed it. Problem is that every few `instal

library paths

2006-12-12 Thread Richard Foulk
Running cygwin on a number of diverse machines, accessability of cygwin1.dll and others can be a problem. We use perl a lot and are looking into building a standard routine for the beginning of each script that will add to the path where necessary. And perhaps even remove from the path if two or m

superfluous dos box from ssh

2006-10-05 Thread Richard Foulk
Aloha, I don't shut my machine down every day, so cruft tends to accumulate over time. Today, as I make a remote ssh connection from an xterm I get an empty DOS box window on the screen for the duration of the connection. If I close that window the ssh connection is shut down. In the past I've r

Re: New windows from cygwin in ssh

2006-09-30 Thread Richard Foulk
> >Why when I'm asking about this probably new feature of cygwin sshd, all > >list become silent? :) Nobody remembers what changes were in cygwin sshd > >since 01.03.2005? :) Or this information is about to be secret and I > >have to understand it from sources only? > > It's much simpler than that

cygwin as X terminal(s) ?

2006-09-24 Thread Richard Foulk
Aloha, As someone pointed out you can use Cygwin with X as an X terminal. For remote admin of a linux/unix box that's pretty handy. By invoking this command from Cygwin before starting X: x -broadcast you get a window that contains the whole remote desktop. Is there a way to create mul

running cygwin from file server

2006-08-22 Thread Richard Foulk
Aloha, I've installed Cygwin on a file server common to a large number of clients. This allows various tools and scripts to be run on any of the clients without cluttering them with their own installations. Occasionally it would be nice to obtain a quick interactive shell environment on one of t

Windows popup/message box?

2006-07-27 Thread Richard Foulk
Aloha, Looking for a simple way to popup a message box on Windows via a Perl script on a system with Cygwin. Looking for portability, light weight, foolproof. The `net send' option doesn't seem very reliable or portable. Thanks! Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: How can I copy the configuration from one PC to another?

2006-07-24 Thread Richard Foulk
> Hi! > > I think that several people have this problem: If you get a new PC you > have to manually switch on all programs that you want or need. > Is it possible to copy the configuration from one PC to another and if, > how? This isn't necessarily a Cygwin question. But it's a very important

Re: query of installed apps on remote Winows

2006-07-16 Thread Richard Foulk
Dave <[EMAIL PROTECTED]> wrote: > Richard Foulk wrote: > > Anyone know how the control-panel->Add/Remove-Programs facility works? > > Not particularly cygwin specific, and comprehensively covered at > Microsofts site. Anyway, here's some basic info. > > Each

query of installed apps on remote Winows

2006-07-15 Thread Richard Foulk
Aloha, Didn't get much response on my last query of this topic. But the discussion of regtool has made me wonder ... regtool can access registries of remote machines. So it seems there must be an `easy' way of accessing the list of `currently installed' programs. Anyone know how the control-pa

Re: setup.exe roadblocks

2006-07-06 Thread Richard Foulk
> Hash: SHA1 > > According to Richard Foulk on 7/5/2006 5:16 PM: > > > > My apologies for the substandard report. I forgot to take notes the > > last time it happened. :-( Now I remember ... it's the message that > > warns about files having changed -- so

Re: cygwin Digest 5 Jul 2006 17:15:27 -0000 Issue 5039

2006-07-05 Thread Richard Foulk
> > Subject: setup.exe roadblocks > > > > Aloha, > > > > Setup has the annoying habit of pausing a download/install to deliver > > information that isn't necessary until the run is complete. > > > > This often makes the install take much longer. Would be nice if you > > could walk away and come

setup.exe roadblocks

2006-07-03 Thread Richard Foulk
Aloha, Setup has the annoying habit of pausing a download/install to deliver information that isn't necessary until the run is complete. This often makes the install take much longer. Would be nice if you could walk away and come back later to a completed install -- this has become unlikely on s

Re: Access to Network Drive under ssh

2006-06-30 Thread Richard Foulk
> 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

Re: Installed Applications?

2006-06-17 Thread Richard Foulk
> On Sat, 17 Jun 2006, Richard Foulk wrote: > > > Aloha, > > > > I'm looking for a good way to determine the software packages installed > > on a machine. > > > > We're hoping to do this remotely on a network of clients by mounting a > >

Installed Applications?

2006-06-17 Thread Richard Foulk
Aloha, I'm looking for a good way to determine the software packages installed on a machine. We're hoping to do this remotely on a network of clients by mounting a client's drive and rummaging around. Is there an easy/reliable way to do this with Cygwin? Thanks! Richard -- Unsubscribe info:

mount permissions?

2006-06-14 Thread Richard Foulk
Aloha, Linux mount(1) supports something like this: smbmount //host/share /mnt -o username name%password This lets you specify the Windows user and password for the mount. Is there any way to do this with Cygwin's mount? Thanks

Re: mount never fails ... sorta

2006-06-11 Thread Richard Foulk
> Richard Foulk wrote: > > Give mount(1) nonexistent hosts or directories and it will complain, > > but it still populates the mount table as if it succeeded. > > > > It also always returns zero, for success or failure. > > Cygwin's mount is a different b

setup.exe

2006-06-11 Thread Richard Foulk
Cygwin-X is a liberating tool. Is there a way to use setup.exe remotely, via X, so it fits into the larger scheme of things? Or is there some other tool that does the same thing via X or command line? Thanks Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem re

Re: RPM's (was Re: unix 'at' command implementation)

2006-06-11 Thread Richard Foulk
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

mount never fails ... sorta

2006-06-11 Thread Richard Foulk
Give mount(1) nonexistent hosts or directories and it will complain, but it still populates the mount table as if it succeeded. It also always returns zero, for success or failure. Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.co

mv does copy instead of rename

2006-06-03 Thread Richard Foulk
In an Active Directory environment Windows Explorer was refusing to rename a directory, presumably because the directory was open by another process. On trying mv under Cygwin to rename the directory, mv seemed to just hang. It was a large directory and mv was actually copying the files to the ne