RE: Cannot fork: Resource temporarily unavailable

2003-03-23 Thread Chris January
> I am trying to rebuild the Cygwin tools under W98 and keep getting this > error message when running make: > > Cannot fork: Resource temporarily unavailable. > Despite rebooting the machine and ensuring that sufficient swap space is > available this continues to recur. > > This is the extract fro

RE: procps and top output

2003-03-26 Thread Chris January
> Randall R Schulz wrote: > > > What options to procps are you using to get that output format? > I cannot > > reproduce it. > > It's the output of "top", and yes, I see the problem too. The "size" > column is always around 400 (+/-) MB, however large or small the process. > > The RSS size is corre

RE: tar and gzip

2003-03-27 Thread Chris January
> > Hi all! > > > > I wrote a small script in Python, but it requires two programs to run > > correctly: tar.exe and gzip.exe. Both are in CygWin package. > And that's my > > question: can I bundle both programs and cygwin1.dll with my script? > Script > > is free, but the program that the script c

RE: Mozilla 1.3 built on cygwin?

2003-03-28 Thread Chris January
> On Thu, Mar 27, 2003 at 11:58:50PM +0100, Ralf Habacker wrote: > >I can't prove a fact, that forking is the most anonying problem > and there were > >some initial work from some people (I remember Chris Faylor, > Chris January and > >other) to identify the proble

RE: Mozilla 1.3 built on cygwin?

2003-03-29 Thread Chris January
> On Sat, Mar 29, 2003 at 12:04:01AM -0000, Chris January wrote: > >> On Thu, Mar 27, 2003 at 11:58:50PM +0100, Ralf Habacker wrote: > >>>I can't prove a fact, that forking is the most anonying problem and > >>>there were some initial work from some pe

RE: RPM-4.1 port to cygwin available

2003-03-29 Thread Chris January
> Peter Ring wrote: > > There's substantial evidence that RPM based distribution of Cygwin is > > feasible: > > > > http://www.holonlinux.com/product/xonwin/index.html > > > > Just in case you don't read Japanese, go directly to the FTP site: > > > > ftp://xow.holonlinux.com/pub/XonWindows/ > >

RE: Mozilla 1.3 built on cygwin?

2003-04-05 Thread Chris January
> > If you have such great insight into this type of thing, it won't take > > you any time at all to duplicate. You've been complaining about this > > and other cygwin performance issues for months. Why don't *you* do > > something? I figured fork/exec/signals out from scratch. Certainly the >

RE: Weird top bug?

2003-06-06 Thread Chris January
> I've stumbled across some peculiar behaviour for top. I've got > the following > script (vping) that I use to keep a VPN connection alive: > #!/bin/sh > while true; > do > ping -n 1 remoteMachine >/dev/null > sleep 60

RE: win32api_NtQuerySystemInformation compiling problem

2003-06-06 Thread Chris January
> Hi, I've just try to use native w32api function NtQuerySystemInformation, > but linker fail with following. Is this something trivial I am missing? You forgot -lntdll Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.ht

RE: Weird top bug?

2003-06-07 Thread Chris January
> I've stumbled across some peculiar behaviour for top. I've got > the following > script (vping) that I use to keep a VPN connection alive: > #!/bin/sh > while true; > do > ping -n 1 remoteMachine >/dev/null > sleep 60

RE: mmap() and gcc precompiled headers

2003-07-03 Thread Chris January
> On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: > > On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: > > >Do you mean something like this: > > > > > > If addr is given, check if it's 64K aligned. If not, align and > > > raise the memory requirement accordin

RE: Read access to all keys in /proc/registry

2003-07-10 Thread Chris January
> find /proc/registry/HKEY_LOCAL_MACHINE/ > > does not go down the /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE > directory(key) > because there is no read access for people outside of the SYSTEM group: > > $ ls -la /proc/registry/HKEY_LOCAL_MACHINE/ > total 0 > dr-xr-xr--5 Administ SYSTEM

RE: problem with history

2003-07-22 Thread Chris January
> Hi, > my cygwin bash does not write anything in .bash_history . I think it was > working fine before and some changes done by me has caused it to stop > updating this file. > rxvt does not have this problem. > any pointers where could be the problem. Close bash by typing exit rather than clickin

RE: Skipping the /proc filesystem

2003-07-23 Thread Chris January
> Randall R Schulz wrote: > > At 18:15 2003-07-22, David A. Cobb wrote: > >>I would wish to tell find not to get involved with the /proc filesystem > >>at all. Can that easily be done? > > > > Very easily: > > % find / -path '/proc' -prune -o -print > > Would it make sense to identify the inodes un

RE: Skipping the /proc filesystem

2003-07-24 Thread Chris January
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Randall R Schulz > At 13:59 2003-07-23, Chris January wrote: > > > Randall R Schulz wrote: > > > > At 18:15 2003-07-22, David A. Cobb wrote: > > > >>I would wish to tell find not to get in

RE: So now you're a BigShot now? (clarification re. "MinGW Glib")

2002-09-29 Thread Chris January
> I claim it is my right to use my native language to the full power of my > expressive ability *when the topic demands it* and not to be required by Every heard of the expression "less is more"? There's no need to write an essay to make a single point. And please take your arrogant language compl

RE: General Question - support for Windows DDKs, specifically SPTI

2002-10-05 Thread Chris January
> Hi folks - hope I'm not wasting anybody's bandwith here, but > I've spent quite some time trapsing through docs and archives and > source code and haven't come up with a lot of answers and just > a little insight. (If yer busy, you may want to skip to the > end - between here and there simply li

[ANNOUNCEMENT] FW: [ANNOUNCE] New package: procps-010801

2002-10-08 Thread Chris January
Some time ago I picked an item off the Cygwin TODO list and wrote a /proc virtual filesystem implementation for Cygwin. My initial testsuite for this was the procps package that I have packaged up for all of you to enjoy. This includes such programs as top, another implementation of ps (handily ca

RE: Cygnus 32 beta 19 under Win 95

2002-10-09 Thread Chris January
> Subject: Cygnus 32 beta 19 under Win 95 ^^^ you should probably try beta 20b. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com

RE: "==" operand not found

2002-10-23 Thread Chris January
> Unix and POSIX programming environments don't promise the kind of > "write-once-run-anywhere" property that Java does (or did). Look > around and > you'll see lots of scripts that use "uname" to condition details of their > operation, when necessary. In the case of "features" like non-standard >

RE: cygwinl.dll

2002-10-21 Thread Chris January
> > i installed cygwin-b20 full setup.but i dont find "cygwinl.dll" file > > Where did you get cygwin-b20 full setup? > > > anywhere .where can i donwload full cygwin ? dont say cygwin.com plz :/ > > Why not? Is this a joke? "Oh no, please Mr Troll," pleaded the goat. "I'm only the smallest Billy

RE: Copy-on-write fork

2002-10-21 Thread Chris January
> > A test program and statistics are shown below which clearly > show Cygwin's > > fork implementation in the lead. > > how much memory did your programs allocate prior to fork()ing? > copy-on-write might only apply to applications with high memory-usage. > > another thing i didn't understand was,

RE: no dice yet on .net server?

2002-10-24 Thread Chris January
> Hello, > > I've installed cygwin on a Microsoft .Net Server machine (yes, a > "release candidate" build) just so that I can use bash, but it refuses > to run. I've noticed the web page says 'The Cygwin DLL works with > all non-beta, non "release candidate", ix86 versions of Windows > since Windo

RE: no dice yet on .net server?

2002-11-09 Thread Chris January
> > Hello, > > > > I've installed cygwin on a Microsoft .Net Server machine (yes, a > > "release candidate" build) just so that I can use bash, but it refuses > > to run. I've noticed the web page says 'The Cygwin DLL works with > > all non-beta, non "release candidate", ix86 versions of Windows >

RE: [list] Re: Trouble compiling e100 driver

2002-11-12 Thread Chris January
> Max, > Attached is the output of the of the cygcheck. > Thanks! Looks like you are using a very old copy of Cygwin! Chris > > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Max, > > > > Thank you for your reply. > > In general, it's best to keep replies on-list. Other people than the first

RE: [list] Re: Cygwin official logo ?

2002-11-29 Thread Chris January
> I think the linux pengu should stay with them. I do like the idea for a > koala. Is anyone a good drawer? I'm working on a koala design right now - let's me avoid proper work... :-) Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.

Re: Cygwin official logo ?

2002-11-29 Thread Chris January
> > > I think the linux pengu should stay with them. I do like the > idea for a > > > koala. Is anyone a good drawer? > > I'm working on a koala design right now - let's me avoid proper > work... :-) > > Wait, wait! I didn't told you about the problem... It should have > a specific width to hight

RE: [list] Re: cygwin official logo ?

2002-11-29 Thread Chris January
> >> Hello, > >> > >> As an illustration for a paper I'm writing about Cygwin, I'm > looking for > >> THE official Cygwin logo. I guess that this official logo > isn't the "GNU > >> + Cygnus + Windows = Cygwin" standing on the homepage (www.cygwin.com), > >> and not even the black "C" above the "In

problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
I'm having a problem with chroot - see the following strace: CYGWIN_NT-5.1 AVOCADO 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown 63 60329 [main] linexec 2652 normalize_posix_path: src . 61 60390 [main] linexec 2652 cwdstuff::get: posix /home/chris/line/rootfs 55 60445 [main] linexe

RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
> I'm having a problem with chroot - see the following strace: <--snip--> > At the start of the strace chroot (".") has been called; it > succeeds at time > 63935. (The same problem occurs with chroot( rootfs>) as well). > Then chdir ("/") is called at time 64000. The result of conv_to_posix_path

Question about Cygwin license

2002-12-01 Thread Chris January
Can standard GPL v2 code be included in Cygwin? What if I look at how that code does something and then write my own implementation? What if the two implementations are very similar? What if I tell someone else on the mailing list how to do it? Chris -- Unsubscribe info: http://cygwin.com/m

RE: [list] RE: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
> > > I'm having a problem with chroot - see the following strace: > > > > <--snip--> > > > > > At the start of the strace chroot (".") has been called; it > > succeeds > > > at time 63935. (The same problem occurs with chroot( > > rootfs>) as well). > > > Then chdir ("/") is called at time 64000.

Re: problem with chroot causing Cygwin to get confused about the root directory

2002-12-01 Thread Chris January
> I'm having a problem with chroot - see the following strace: > At the start of the strace chroot (".") has been called; it > succeeds at time > 63935. (The same problem occurs with chroot( rootfs>) as well). > Then chdir ("/") is called at time 64000. The result of conv_to_posix_path > at time 2

RE: [list] Re: query

2002-12-15 Thread Chris January
> >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 . > > > > No but if you have the source you can build the applicatio

RE: tcsh not useable out of the box

2002-12-18 Thread Chris January
> bash being the default shell, tcsh's configuration files have, > apparently, bit-rotted. When started directly -- instead of from bash -- > a bunch of utilities (from /usr/bin) are not found. > > Adding the following > > setenv PATH "/usr/bin:${PATH}" But on a standard Cygwin install, /us

RE: permission denied for NTFS network shares

2002-12-22 Thread Chris January
> I have some problem using rsh under cygwin. > It works fine for local disks and local disks of remote computers > (both UNIX and NT/2000). > > But if I am trying to access NTFS network share (that is on file > server), I receive "permission denied". > > Here is an example: > > From unix machine:

RE: permission denied for NTFS network shares

2002-12-22 Thread Chris January
> Unix/Linux systems are much more secure then NT but they do allow RSH > without password (using .rhosts). > > Are you saying that there is no way whatsoever to have RSH without > passwords? I need it for running scripts/programs on different NT > machines. Interactive behaviour (login/password) w

RE: su command ?

2002-12-23 Thread Chris January
> > 'su' is not implemented in cygwin (yet). The closest you can get now is > > setting up sshd and using 'ssh user@localhost'. There was some talk of > > one of the new packages having that functionality, but you'd > have to read > > the mailing list archives to verify that. > > Igor > > We

RE: Bug in g++: Testcase exits with segmentation fault

2003-01-14 Thread Chris January
> The testcase attached to this mail compiled with g++ 2.95.3-10 or g++ 3.2 > 20020927 under Cygwin 1.3.18 exits with segmentation fault. It seems to be > an error in g++ as the testcase doesn't work under Linux either. > Can anyone > help or do I have to report this error to the GCC website? > >

RE: javac on cygwin

2003-01-15 Thread Chris January
> On Mon, Jan 13, 2003 at 11:26:28AM -0800, Shankar Unni wrote: > >Christopher Faylor wrote: > >>I remember speculating at one point about creating wrappers to the > >>win32 functions like CreateFile, MoveFile, etc. which would understand > >>cygwin paths. You could theoretically modify an .exe t

RE: Bug in rm -r with locked files

2003-01-23 Thread Chris January
> >When Busy File Encountered" on April 6, 2002 and "REPOST: unlink > semantics" > >from April 10, 2002. > > > >I'm not an expert, but this has come up more than once (I initiated the > >April 6 round of discussions) and the upshot is that giv

RE: su command ?

2003-01-29 Thread Chris January
> On Tue, Dec 24, 2002 at 01:54:23AM -0000, Chris January wrote: > > > > > > 'su' is not implemented in cygwin (yet). The closest you > can get now is > > > > setting up sshd and using 'ssh user@localhost'. There was > some talk of >

RE: su command ?

2003-01-29 Thread Chris January
> > I have just tried this on Windows XP as Administrator. I tried to su to > > a normal user but got: > > > > su: cannot run /bin/bash: Permission denied > Try chmod 644 /bin/bash. You probably installed Cygwin for "Just Obviously this is stupid as it would make it unexecutable... Permissions on

RE: manuals for newbies?

2003-02-02 Thread Chris January
> Since I'm totally new to cygwin, (I just installed it > a couple of days ago) it turns out that I had a lot of > questions while getting familiar with it. I hate > asking them here cause I believe they are very simple > questions and probably lots of people had the same > questions before. But th

RE: Why won't my files link?

2003-02-05 Thread Chris January
> Okay everyone... thank you for your help and for your feedback. Allow me > to attempt to clarify a little bit more... > > 1) I am new to GCC. I am new to C. I had worked until Java until > recently. > > 2) I used the SAME io_functions.o file in both Cygwin and Linux. This > file was generated

RE: Problems compiling trivial C program.

2003-02-09 Thread Chris January
> >I'm having trouble compiling this test program: > > > >void f(){} > > > >using the command line: > >gcc test.c -c -o test.o > > > >using 1.3.19 or latest Cygwin snapshot (2003-Feb-07) (same error with > >both) and gcc-3.2-3. > > > >The error I see is: > > > >16 bit MS-DOS Subsystem > >/usr/src/c

RE: Is modem dial-in access to Cygwin possible?

2003-02-18 Thread Chris January
> Is modem dial-in access to Cygwin possible? Is there a version > of mgetty that > works with Cygwin? If not, could it work or are there > limitations in Cygwin > that would prevent this. Use Dial-up Server and sshd? Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

RE: Process states in cygwin ?

2003-02-26 Thread Chris January
> Probably > > else >status = 'R'; //running > > would be a good idea then? Try using procps (from the procsps package) if need process states reported more accurately. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com

RE: loopback devise (was Re: mknod implementation? ... )

2003-02-26 Thread Chris January
> At 08:37 PM 2/24/2003 -0500, Christopher Faylor wrote: > >On Mon, Feb 24, 2003 at 01:52:15PM -0800, Randall R Schulz wrote: > >>Does Cygwin have a loopback block device? > > > >No. > > > >As Randall correctly points out, the existence of the mknod command has > >no bearing on the existence of fun

RE: Distributed Compilation

2003-02-26 Thread Chris January
> Have you folks seen/tried this... > > > > "distcc is a program to distribute compilation of > C or C++ code across several machines on a network. > distcc should always generate the same results as a > local compile, is simple to install and use, and is > often two

RE: cpu and partition info

2003-02-26 Thread Chris January
> Hello all, > > Is there a /proc/partitions or a /proc/cpuinfo in newer versions > of Cygwin? > I'm looking for a way to determine cpu info and drive info from the > command line. I'm using v1.3.14. I'll code some up for you, how about that? Chris -- Unsubscribe info: http://cygwin.com

RE: sudo and runas

2003-03-05 Thread Chris January
> Hello, > > Under XP (and maybe other Windows?) there's a command, runas, which when > used from cmd.exe or the Run dialog, can run applications as another > user: > > C:\Cygwin>runas /user:Administrator C:\Cygwin\setup.exe > Enter the password for Administrator: > > allows me to run Cygwin's s

RE: sudo and runas

2003-03-09 Thread Chris January
> > > Hello, > > > > > > Under XP (and maybe other Windows?) there's a command, runas, which > > > when used from cmd.exe or the Run dialog, can run applications as > > > another > > > user: > > > > > > C:\Cygwin>runas /user:Administrator C:\Cygwin\setup.exe > > > Enter the password for Administrat

RE: sudo and runas

2003-03-10 Thread Chris January
> > > > Is this any use? > > > > > > > > http://www.doc.ic.ac.uk/~ccj00/twiki/bin/view/Cygwin/CygwinSu > > > > > > > > Chris > > > > > > [EMAIL PROTECTED] (.../jon/tmp) % su root > > > Password: > > > su: cannot run /bin/bash: Permission denied > > > > Make sure /bin/bash is world executable. > > -

RE: sudo and runas

2003-03-11 Thread Chris January
> On Mon, Mar 10, 2003 at 10:56:11AM -0000, Chris January wrote: > > The su binary on my webpage seems to need more privileges than > I remember. > > Try assigning yourself the "Replace a Process Level Token" right. I am > > You're opening up the security hol

RE: 1.3.21-1 broken on Win9x - IsProcessorFeaturePresent not autoloaded (was: Cygwin installation choke)

2003-03-13 Thread Chris January
> Chris Hardie wrote: > > Hey, > > > > I can't seem to find any details about this error, so I'm tossing it > > out there. > > > > After installing the newest version of Cygwin, it chokes when it > > tries to launch. > > > > "The CYGWIN1.DLL is linked to missing export > > KERNEL32.DLL:IsProcessorF

RE: Cygwin installation choke

2003-03-13 Thread Chris January
> On Thu, Mar 13, 2003 at 05:09:21PM +, Chris Hardie wrote: > > "The CYGWIN1.DLL is linked to missing export > > KERNEL32.DLL:IsProcessorFeaturePresent" > > > > I'm running Windows '95 on a P300 Celeron. Anyone have any idea what's > > going on? > > Fixed in CVS. Thanks for the report. Corinna

RE: Cygwin installation choke

2003-03-16 Thread Chris January
> Chris, > > On Thu, Mar 13, 2003 at 11:57:43PM -0000, Chris January wrote: > > Corinna, the cpuid results are still valid if the user doesn't > have NT. Only > > in the worst case scenario (i.e. a user running Windows 95/98 > on a 486) will > > it be nece

RE: Any current plans for an SDL package?

2003-11-25 Thread Chris January
> Frédéric L. W. Meunier wrote: > > > On Sun, 23 Nov 2003 [EMAIL PROTECTED] wrote: > > > > > >>The only thing I found missing really are the libraries' header files. > >> > >>One such library is libjpeg, which has no development package, and i > >>believe there was some compression lib also. > > >

RE: Unable to replicate Win2000 accounts

2004-01-13 Thread Chris January
> I have recently installed Cygwin on a Win2000 Pro system. While > trying to replicate the accounts from windows to Cygwin, I used > the commands: > > mkgroup -l > /etc/group > mkpasswd -l > /etc/passwd > > the output of my group and passwd files are, respectively: > $ /etc/group try cat /etc

RE: MS offers "Services For Unix" free of charge

2004-01-14 Thread Chris January
> On Wed, Jan 14, 2004 at 04:26:03PM -0500, Robb, Sam wrote: > >> But beyond curiosity, there's not many reasons to install and > >> use both, at least concurrently. Cygwin and SFU both address > >> the same needs and Cygwin covers a wider range of tools. We'll > >> see what happens though. > > >

RE: Output of 'top' lacking load average output

2004-02-02 Thread Chris January
> I am wondering why the output of top does not produce any output for > the load averages, I only get this... > > 13:44:32 up 2 days, 3:03, 2 users, load average: 0.00, 0.00, 0.00 Windows doesn't record load averages. In the absence of a process to collect load average data these values are n

RE: cygwin rebooting computer

2004-02-11 Thread Chris January
> I am a big fan of cygwin and has just learned the TAB completion thing. > > Now, my harddisk is partitioned in 2 so sometimes (not always) > when doing cd /cygdrive/d TAB, teh computer goes black = softboot = reset > > Am I doing anything wrong or what Try looking in the System event log ('Contr

RE: Is the command "top" in cygwin?

2004-03-03 Thread Chris January
> I got two packages. Which one shall I use? What does 010801-1 mean? > procps/procps-010801-1 Utilities for monitoring your system and > processes on your system. > procps/procps-010801-2 Utilities for monitoring your system and > processes on your system. > year month day 01 0801

RE: procps returns \"Unknown HZ value\"

2004-03-24 Thread Chris January
Redirecting to the cygwin mailing list. You probably need to upgrade your version of the Cygwin DLL. > The /proc filesystem doesn't exist? Does something need to be > installed using cygrunsrv? > > -richard > > > -Original Message- > From: Chris Jan

RE: co-linux

2004-04-15 Thread Chris January
> On Wed, Apr 14, 2004 at 02:50:42PM +0200, Pinhas Krengel wrote: > >I have just read about beta release of co-linux (linux on > windows). Is this > >product going to kill cygwin. > > No. > > >What will be the benefits of using cygwin in that case. > > Having a nicely integrated UNIX environment.

RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Chris January
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Dave Korn > Sent: 15 April 2004 14:03 > To: [EMAIL PROTECTED] > Subject: RE: Quick hack to implement gethostbyname_r() through > gethostbyname()+mutex lock > > > > -Original Message- > > From: cygwi

RE: Cygwin's chmod +X

2004-05-19 Thread Chris January
> I noticed while creating a bash script to backup my parents outlook & > mydocuments folers, that WindowsXP does not recognize a "superuser" as > being allowed access to a users folders! You can only access a folder if you have been given permission (in the ACL) unless you open it in backup mode.

debugging problem

2002-02-26 Thread Chris January
I have a bug that shows up when I run commands normally from bash, but doesn't show up when they are run with strace (because it only shows up on direct children of the initial bash process). How can I debug this? Regards Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

ls /cygdrive

2002-02-26 Thread Chris January
Can someone with Cygwin 1.3.10 DLL please check what output you get if you type the following: 1. Click Cygwin.bat 2. Type cd /cygdrive 3. Type ls Regards Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation:

long delays on fhandler_base::open with cygwin 1.3.10

2002-03-03 Thread Chris January
I'm using Cygwin 1.3.10 DLL and I occasionally get long delays (>2s !) when fhandler_base::open is called on a disk file. This occurs sporadically and is not dependant on the file being opened. I've included a little strace snippet below. Just look how long fhandler_base::open takes to return! No

Re: long delays on fhandler_base::open with cygwin 1.3.10

2002-03-04 Thread Chris January
> Are you sure that this is a Cygwin issue? My system exhibits pauses like > this and they affect many, possibly all, executing programs. I have > noticed nothing that suggests this is a Cygwin issue, though I must admit, > I have a Cygwin BASH running at all times. This occurs too frequently for

/cygdrive wierdness

2002-03-06 Thread Chris January
Using Cygwin DLL 1.3.10. 1. Close all Cygwin programs 2. Open bash 3. Type: cd /cygdrive 4. Type ls I get a listing of C:\ instead 5. Type bash 6. Type: cd /cygdrive 7. Type ls I get a listing of available drives as I should. Can someone else confirm this is a problem? I have a patch to fix it i

Re: cd dot dot dot slash dot weirdness

2002-03-06 Thread Chris January
> bash-2.05a$ pwd > /russ/scripts > bash-2.05a$ cd .../. > bash-2.05a$ pwd > /russ/scripts/... > ... is this a bug do I have a virus? I've posted a patch to cygwin-patches that corrects this. Regards Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: /cygdrive wierdness

2002-03-07 Thread Chris January
> > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > Using Cygwin DLL 1.3.10. > > Likewise. (On Win2K.) > > > 1. Close all Cygwin programs > > 2. Open bash > > 3. Type: cd /cygdrive > > 4. Type ls > > I get a listing of C:\ instead

Re: how to find the amount of RAM

2002-03-11 Thread Chris January
Corinna Vinschen wrote: > On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote: >> >> Is there a way to find the amount of RAM from within Cygwin? I >> tried sysconf(_SC_PHYS_PAGES) but that returns -1. The only other >> thing that I saw was a post on this list >> >> http://sources.r

Re: Incorrect expression evaluation?

2002-03-13 Thread Chris January
> Perhaps this is more of a bash problem than a Cygwin problem however > Cygwin's bash is not acting like bash on Solaris. In Cygwin's bash: > > $ x="-l -d" > $ ls $x > ls: invalid option -- > Try `ls --help' for more information. Works fine under Cygwn with me here. Chris -- Unsubscribe inf

Re: how can I compile my code to run in windows ??

2002-03-15 Thread Chris January
> > when I run a program that is compiled by cygwin in > > windows by double clicking it without cygwin bash it > > complaints that there is no cygwin.dll. > > how can I make it to run on windows?? 1. Add the path to cygwin1.dll to your default PATH environment variable OR 2. Copy cygwin1.dll to t

Re: cygwin.com suggestions

2002-03-15 Thread Chris January
> 2) Include in the FAQ (or somewhere) a section on "How to Safely Update the Cygwin dll". Probably just "shut down all cygwin apps, including daemons", but it would be useful to know for sure. > > >>>The next release of setup.exe automatically address's this and will > >>>replace in-use

Re: Beeping

2002-03-15 Thread Chris January
> The weird thing is, it's not coming through my system speaker. It seems as > if the system speaker is forwarding the sound to the wave device. And only > cygwin does it. Microsoft's SDK documentation says Windows 95/98/Me beep with the sound card (if present) and Windows NT/2000/XP beep with the

Any chance of upping MAX_DELQUEUES_PENDING?

2002-03-18 Thread Chris January
Why is MAX_DELQUEUES_PENDING set only to 100? Sometimes I want to delete more than 100 files (quite often in fact). Any good reason for this or is it an arbitary limit? If so, could it be upped to something a bit larger please? It seems the current limit of 100 was chosen arbitarily by Geoffrey No

64-bit file support in ls

2002-03-31 Thread Chris January
Will the 'ls' command support 64-bit file sizes anytime soon? I thought a 4Gb file had suddenly shrunk to 180Mb before realising the file size had wrapped round. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Document

Re: 1.1.10 Problem: mv and directories in use

2002-04-02 Thread Chris January
> I believe the main source of the problem is a Windows "BUG" (Not really a > bug, that is how Windows is "intended" to work). Anyways, it is an > undesirable "feature" for sure, and very annoying when in the Cygwin > enviornment. For the average joe Windows user in Windows Explorer it "kind > of"

Re: v1.3.10 - must run bash twice to read .bashrc

2002-04-03 Thread Chris January
- Original Message - From: "Richard Brust" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 4:50 PM Subject: v1.3.10 - must run bash twice to read .bashrc > I have looked all through the list archives and on google groups, but this > problem does not seem to be

Re: mcrypt commnad

2002-04-04 Thread Chris January
> Michael,Andrew,Christopher and Corinna > Thanks very much for your response. > I have openssl installed, but I would really appreciate, if you can tell me > how to use for my requirement. > My requirement is, I have a simple text file which has some sensitive > information, and I want encrypt t

Re: Infinite Loop In "rm -fr" When Busy File Encountered

2002-04-06 Thread Chris January
> Greetings, > > I have encountered a problem in "rm" when used with the "-f" and "-r" > options and a busy and hence unremovable file is encountered. > > When "rm -fr" encounters a busy and hence unremovable file, it goes into an > infinite loop consuming as much CPU time as it can get until it i

Re: Infinite Loop In "rm -fr" When Busy File Encountered

2002-04-06 Thread Chris January
> > > Greetings, > > > > > > I have encountered a problem in "rm" when used with the "-f" and "-r" > > > options and a busy and hence unremovable file is encountered. > > > > > > When "rm -fr" encounters a busy and hence unremovable file, it goes into an > > > infinite loop consuming as much CPU t

Re: Infinite Loop In "rm -fr" When Busy File Encountered

2002-04-06 Thread Chris January
> Now I do this: > > % mkdir subdir > % java Writer subdir/target Now is the time > > > In a separate Cygwin window: > > % cd tstdir > % rm -fr subdir > > > And the symptom is manifest: rm sits there, churning away, awaiting its death at the hands of a merciless signal. What output do you get wit

Re: Infinite Loop In "rm -fr" When Busy File Encountered

2002-04-06 Thread Chris January
> Chris, > > OK. Here's more information. Possibly even interesting information. > Another question - which shell are you using? Can you reproduce the problem using bash? Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html

Re: Infinite Loop In "rm -fr" When Busy File Encountered

2002-04-06 Thread Chris January
> Chris, > > OK. I ran the strace test as you requested. > > Here's the invocation of strace I used in place of the unadorned "rm -fr > subdir" invocation from my earlier report: > > % strace -d -n -S 1 -w -o rm-fr-strace-out rm -fr subdir > > > I waited a few seconds then closed the sub-window. >

errno.h - EILSEQ

2002-04-06 Thread Chris January
> > > On Fri, Apr 05, 2002 at 10:01:36PM -0600, Dave Trollope wrote: > > > >Since it exists on Linux and Solaris, I figured that this was new to > > > >Cygwin and its applications. The question is, for what was it > > > >introduced to both Linux and Solaris, and shouldn't it be introduced to > >

unlink semantics

2002-04-07 Thread Chris January
With respect to the 'Infinte Loop in "rm -fr"' thread, I believe the current semantics of unlink on Cygwin to be inconsistent with SuSv2. SuSv2 specifies the following: The unlink() function removes a link to a file. If path names a symbolic link, unlink() removes the symbolic link named by path

Re: unlink semantics

2002-04-07 Thread Chris January
> As a suggested fix, path_conv::check could returns ENOENT for a file if it > appears in the delqueue. I would submit a patch for this, but I am not 100% > sure how the delqueue is protected from multiple threads accessing it at the > same time. Sorry, _readdir would also have to check for a file

problems updating from CVS

2002-04-09 Thread Chris January
In /src/tcl/tests on the CVS server there are two files, one named iOUtil.test and the other ioUtil.tests. Notice the difference in the capitalisation of the O. Although these two files can exist with separate directory entries under case-insensitive file systems (most Unices), because Windows fil

Re: problems updating from CVS

2002-04-09 Thread Chris January
> >In /src/tcl/tests on the CVS server there are two files, one named > >iOUtil.test and the other ioUtil.tests. Notice the difference in the > >capitalisation of the O. Although these two files can exist with separate > >directory entries under case-insensitive file systems (most Unices), because

Re: is it impossible to use 2000-like command.com on 98?

2002-04-10 Thread Chris January
> I use win98. > I just wanna use cmd.exe like bash shell not > command.com > free scroll, cut and paste, input locale language, > etc. > > is it impossible really?? This is off-topic, but... The Microsoft Platform SDK (or whatever it's called nowdays) contains a copy of cmd.exe that runs on Windo

REPOST: unlink semantics

2002-04-10 Thread Chris January
With respect to the 'Infinte Loop in "rm -fr"' thread, I believe the current semantics of unlink on Cygwin to be inconsistent with SuSv2. SuSv2 specifies the following: The unlink() function removes a link to a file. If path names a symbolic link, unlink() removes the symbolic link named by path

Re: Bash shell extension ?

2002-04-12 Thread Chris January
> Ok, I have made the changes you suggested, but there are some problems: > The single-quotes for the cd command seem to have messed things up .. > bash.exe: cd: F:ClassesWINTER~2ECE344: No such file or directory > [06:27:31] /f/Classes/Winter_2002 $ > > What is good about this method is that befo

Re: Bash shell extension ?

2002-04-12 Thread Chris January
> Thanks for the tips Andrew .. > The one thing I have yet to figure out is a way to prevent the long folder > names from being truncated (eg, Progra~1) .. Any ideas on this? try using cygpath? > -Adam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: htt

Re: gettime time travels after suspend

2002-04-13 Thread Chris January
> >I have a running process which prints out the result of gettimeofday() > >at regular intervals. If I suspend and resume my machine then the > >value returned by gettimeofday() is incorrect - it jumps several days > >into the future. Doing the same with time() is fine. > > > >I don't want to poi

  1   2   3   >