Re: Announce: ioperm-0.2.1 for cygwin released

2003-01-21 Thread Marcel Telka
On Mon, Jan 20, 2003 at 10:42:58AM -0800, Randall R Schulz wrote: > Marcel et. al., > > At 09:52 2003-01-20, Marcel Telka wrote: > >On Mon, Jan 20, 2003 at 10:05:43AM -0500, Christopher Faylor wrote: > >> On Mon, Jan 20, 2003 at 03:57:35PM +0100, Marcel Telka wrote: > >> >This software adds suppor

Re: Announce: ioperm-0.2.1 for cygwin released

2003-01-21 Thread Marcel Telka
On Mon, Jan 20, 2003 at 09:59:11PM +0100, Marcel Telka wrote: > On Mon, Jan 20, 2003 at 08:43:21PM -, Max Bowsher wrote: > > Marcel Telka wrote: > > > On Mon, Jan 20, 2003 at 05:57:42PM -, Max Bowsher wrote: > > >> Marcel Telka wrote: > > >>> On Mon, Jan 20, 2003 at 10:05:43AM -0500, Christ

Re: strange behavior of cygpath

2003-01-21 Thread Kenji Yamashita
Hello, Igor. > On Tue, 21 Jan 2003 23:35:01 -0500 (EST) > [EMAIL PROTECTED](Igor Pechtchanski) said: > Let me make sure I understand what you're trying to do: > You're trying to translate a *Windows* path to a Windows path using > cygpath? I use cygpath in shell scripts. The arguments o

Re: strange behavior of cygpath

2003-01-21 Thread Igor Pechtchanski
On Wed, 22 Jan 2003, Kenji Yamashita wrote: > Hello, > > I found that the behavior of cygpath was strange. > > kenji@ibm[88] cygcheck -c cygwin > Cygwin Package Information > Package Version > cygwin 1.3.18-1 > > Use -h to see help about each section > kenji@ib

Re: sigaction siginfo_t & SIGSEGV

2003-01-21 Thread Igor Pechtchanski
On Tue, 21 Jan 2003, Rolf Campbell wrote: > I'm trying to write an application that can run some code when a certain > memory address is read or written. > My first theory was to use mprotect to remove read/write permissions > from a section and then catch SIGSEGV, but siginfo_t doesn't seem to be

strange behavior of cygpath

2003-01-21 Thread Kenji Yamashita
Hello, I found that the behavior of cygpath was strange. kenji@ibm[88] cygcheck -c cygwin Cygwin Package Information Package Version cygwin 1.3.18-1 Use -h to see help about each section kenji@ibm[89] cygpath -pw 'c:\' c;c:\ In cygwin-1.3.14-1, the behav

Re: Bug in rm -r with locked files

2003-01-21 Thread Larry Hall (RFK Partners, Inc)
At 04:39 PM 1/21/2003, Shankar Unni wrote: >Christopher Faylor wrote: > >>It's not a completely intractable problem. I think that someone (Chris >>January?) provided a workaround at one point. "cygserver" could also >>provide a possible solution someday. > >Right. I went back and re-read those ar

Re: Bug in rm -r with locked files

2003-01-21 Thread Larry Hall (RFK Partners, Inc)
Actually the tests I ran in response to this thread used the most current vim (6.1-2) and fileutils (4.1-1) with cygwin 1.3.17-1, 1.3.18-1, and the latest snapshot. The versions you're using are out-of-date. But I expect the main difference is in vim and some change there. But perhaps you can

Re: Consistent usage of "black on white" colors in terminal

2003-01-21 Thread Jim Kleckner
I see, very nice! The synopsis with "for the X window system" led me astray and prevented me from looking at it. Some mention of this would be very good to put in the documentation here: http://cygwin.com/cygwin-ug-net/setup-files.html Just a mention that rxvt is a good alternative for the de

Re: Consistent usage of "black on white" colors in terminal

2003-01-21 Thread Lapo Luchini
Jim Kleckner wrote: Have a look at the man page and my .Xdefaults[1]... Thank you for the suggestion. I'm currently using the bare cmd.exe of Win2k and didn't want to have to start X11 just to get a terminal emulator. It seems heavy - is this really necessary? There is probably some magic

Re: Consistent usage of "black on white" colors in terminal

2003-01-21 Thread Jim Kleckner
Thorsten Kampe wrote: * Jim Kleckner (03-01-21 21:17 +0100) I have mostly gotten my bash colors to display properly with black on white which I find considerably more pleasing than white on black [...] Programs like info, man, and cpan, however, do not know about these switched default colors

sigaction siginfo_t & SIGSEGV

2003-01-21 Thread Rolf Campbell
I'm trying to write an application that can run some code when a certain memory address is read or written. My first theory was to use mprotect to remove read/write permissions from a section and then catch SIGSEGV, but siginfo_t doesn't seem to be defined. Is hooking a signal using the 'sa_sigac

Re: Bug in rm -r with locked files

2003-01-21 Thread Carlo Florendo
What cygwin, vi, and fileutils versions are you using? In my case, I (Bsimulated the test case but rm returned immediately with (B (Brm: cannot remove `/tmp/direx/a.swp': Permission denied (Brm: cannot remove directory `/tmp/direx': Directory not empty (B (BI'm using vim 5.8.9, fileutils 4.1

Re: Bug in rm -r with locked files

2003-01-21 Thread Randall R Schulz
Shankar, At 13:39 2003-01-21, Shankar Unni wrote: Christopher Faylor wrote: It's not a completely intractable problem. I think that someone (Chris January?) provided a workaround at one point. "cygserver" could also provide a possible solution someday. Right. I went back and re-read those a

Re: Bug in rm -r with locked files

2003-01-21 Thread Carlo Florendo
Hi Gael, This is not a bug. rm will *not* be able to remove the file as long as it is locked. This is the expected behaviour of rm when it is trying to remove something which is locked by windows. AFAIK, rm, in cases such as these, echoes an error message which says, for example: "rm: cannot r

Re: Bug in rm -r with locked files

2003-01-21 Thread Igor Pechtchanski
On Tue, 21 Jan 2003, Shankar Unni wrote: > (PS The archive search feature at http://cygwin.com/ml/cygwin/ seem to > be broken - just about anything I type in the search box, including the > word "cygwin", comes back with "no matches". So I apologize for not > being able to do this research myself,

Re: Consistent usage of "black on white" colors in terminal

2003-01-21 Thread Thorsten Kampe
* Jim Kleckner (03-01-21 21:17 +0100) > I have mostly gotten my bash colors to display properly with black on white > which I find considerably more pleasing than white on black [...] > > Programs like info, man, and cpan, however, do not know about these switched > default colors. I have switche

Re: Bug in rm -r with locked files

2003-01-21 Thread Shankar Unni
Christopher Faylor wrote: It's not a completely intractable problem. I think that someone (Chris January?) provided a workaround at one point. "cygserver" could also provide a possible solution someday. Right. I went back and re-read those archives. Interesting problem. Now why was it import

Re: CVS problem

2003-01-21 Thread Frédéric L. W. Meunier
Max Bowsher wrote: > I'm sorry, I'm out of suggestions. Unless anyone else here > knows what might cause cvs to hang like this: > 41 4076680 [main] cvs 3092 wsock_event::prepare: 39189212 = > wsock_event::prepare () And I can't help further, but I just compiled 1.1.15 with --prefix=/usr --disab

RE: Bug in rm -r with locked files

2003-01-21 Thread [EMAIL PROTECTED]
OK. Have you investigated the use of tools I suggested to help you track down which utilities are causing you the problem(s)? That would be a good start to narrowing down your issue into something this list can discuss, assuming that's where you'd like to take this. Of course, you're always w

RE: Bug in rm -r with locked files

2003-01-21 Thread [EMAIL PROTECTED]
Or read my analysis of the strace I did which I posted earlier in the thread. ;-) No worries. Larry Original Message: - From: Shankar Unni [EMAIL PROTECTED] Date: Tue, 21 Jan 2003 11:47:54 -0800 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Bug in rm -r with locked files

Re: List archive search broken?

2003-01-21 Thread Christopher Faylor
On Tue, Jan 21, 2003 at 01:05:03PM -0600, Brian Ford wrote: >Recently, everything I search for in this list's archives returns "No >matches found". Surely the search engine is broken, as a search for >Cygwin in the cygwin mailing list archive turns up empty. Thanks. The search engine is broken a

Re: Bug in rm -r with locked files

2003-01-21 Thread Christopher Faylor
On Tue, Jan 21, 2003 at 11:25:19AM -0800, Randall R Schulz wrote: >Shankar, > >At 11:05 2003-01-21, Shankar Unni wrote: >>[EMAIL PROTECTED] wrote: >>>You may find the 'handle' utility from www.sysinternal.com a handy >>>(no pun intended :-) ) tool for determining which files are opened >>>by which

Consistent usage of "black on white" colors in terminal

2003-01-21 Thread Jim Kleckner
I promise that I have searched a whole bunch to find the answer to this question. I would be happy just to get pointers in the right direction to look. It appears that some programs use termcap and some use terminfo. I have mostly gotten my bash colors to display properly with black on white whi

Re: Home dir is "/"

2003-01-21 Thread Abraham Backus
I've seen this as well, particularly on Win2K systems at work where you use domain credentials to log into your machine. Here's what I did to fix it (at the cygwin bash prompt): $ mkpasswd -d -u myusername >> /etc/passwd The mkpasswd command creates entries intended for /etc/passwd. The "-d" mea

RE: Bug in rm -r with locked files

2003-01-21 Thread Brian . Kelly
Well - even so "my" problem remains The scripts that I have are written to work cross-platform, and because I can't use rm -rf when telneting to a cygwin box with an automated telnet/ssh script, I have to do this nonsense: if ($telnet_handle->{$hostlabel}->{OS} eq 'cygwin') { ($

Home dir is "/"

2003-01-21 Thread Matthew Litwin
I've installed cygwin 1.3.18-1 on an XP system and found it set my home dir as "/" instead of /home/ like it normally does. Within cygwin, I see that /home isn't even there. Even after making my homedir, it still still puts me at root when I launch a shell. I noted that I am not in /etc/passwd as w

RE: Bug in rm -r with locked files

2003-01-21 Thread Shankar Unni
Max corrected me: > No. The thing that rm -rf gets stuck on is vim .swp recovery file. Ah. Sorry. Should have straced the thing before shooting off. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http:

Re: Bug in rm -r with locked files

2003-01-21 Thread Brian . Kelly
Interesting - It's more important to "force" a square into a circle and uphold a "standard" than it is to deliver common sense "usability". MSWin is inherently "UN-posix" by nature, and while I applaud trying to make a "silk (posix) purse" out of it, if it means rendering the most basic of utilit

Re: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-21 Thread Igor Pechtchanski
On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote: > I find on a Windows NT4 (SP6) platform with the latest versions (downloaded > today) of cygwin1.dll, rxvt, bash etc that if I run a windows command > script, say a.cmd, which in turn runs some other process (e.g. a pause), if > I hit ^C then the behav

Re: Bug in rm -r with locked files

2003-01-21 Thread Randall R Schulz
Shankar, At 11:05 2003-01-21, Shankar Unni wrote: [EMAIL PROTECTED] wrote: You may find the 'handle' utility from www.sysinternal.com a handy (no pun intended :-) ) tool for determining which files are opened by which processes. I don't think that was the primary issue. The issue was that if

Re: Bug in rm -r with locked files

2003-01-21 Thread Max Bowsher
Shankar Unni wrote: > I don't think that was the primary issue. The issue was that if a > process is using a directory as its working directory (chdir()'ed into > it), "rm -rf" goes into an infinite loop attempting to remove the > directory (rather than print an error and move on). No. The thing

Re: Bug in rm -r with locked files

2003-01-21 Thread Shankar Unni
[EMAIL PROTECTED] wrote: You may find the 'handle' utility from www.sysinternal.com a handy (no pun intended :-) ) tool for determining which files are opened by which processes. I don't think that was the primary issue. The issue was that if a process is using a directory as its working dire

List archive search broken?

2003-01-21 Thread Brian Ford
Recently, everything I search for in this list's archives returns "No matches found". Surely the search engine is broken, as a search for Cygwin in the cygwin mailing list archive turns up empty. Thanks. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSaf

Re: cvs wont connect to remote

2003-01-21 Thread Max Bowsher
Patrick Nelson wrote: > Max Bowsher wrote: > - > cvs -t login ? > - > This reveals: > > $cvs -t login > cvs login: notice: main loop with > CVSROOT=:pserver:pnelson@: > > (Logging in to pnelson@ CVS password: > : no such repository > cvs login: authoriz

1.3.18: rlogin crash

2003-01-21 Thread Rob Siklos
I noticed that if you launch rlogin from within an rlogin session, you get a segmentation fault. i.e. rlogin to computer A, then while logged in to computer A, rlogin to computer B (both running cygwin). Running 1.3.18 under windows 2000 pro workstation. Rob. cygcheck.out Description: Binary

RE: grep -r *.java doesn't work as expected

2003-01-21 Thread Wai-Yip Tung \(wtung\)
Thank you for all suggestions. I got it works now. I'm new to bash and the * expansoin by bash kind of surprise me. Wai-yip -Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 8:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: grep -r

SIGINT to bash behaves differently in rxvt as compared to console

2003-01-21 Thread duncan . loveday
I find on a Windows NT4 (SP6) platform with the latest versions (downloaded today) of cygwin1.dll, rxvt, bash etc that if I run a windows command script, say a.cmd, which in turn runs some other process (e.g. a pause), if I hit ^C then the behaviour is different in rxvt as compared to the cygwin co

Re: Bug in rm -r with locked files

2003-01-21 Thread [EMAIL PROTECTED]
Thanks Randall! Larry Original Message: - From: Randall R Schulz [EMAIL PROTECTED] Date: Tue, 21 Jan 2003 09:03:16 -0800 To: [EMAIL PROTECTED] Subject: Re: Bug in rm -r with locked files Larry, Typo alert. It's . Lots of good information and utili

Re: telnet

2003-01-21 Thread Gerrit P. Haase
H.Merijn schrieb: > On Mon 20 Jan 2003 11:14, "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: >> H.Merijn schrieb: >> >> > Given that cygwin is installed on a Win2k/sp3 target, is there an easy way to >> > enable telnet from another machine? >> >> Use inetd, this is in the package inetutils. >> It

RE: cvs wont connect to remote

2003-01-21 Thread Patrick Nelson
Max Bowsher wrote: - cvs -t login ? - This reveals: $cvs -t login cvs login: notice: main loop with CVSROOT=:pserver:pnelson@: (Logging in to pnelson@: no such repository cvs login: authorization failed: server rejected access to for user pnelson

Re: Bug in rm -r with locked files

2003-01-21 Thread Randall R Schulz
Larry, Typo alert. It's . Lots of good information and utilities there! Randall Schulz At 08:35 2003-01-21, [EMAIL PROTECTED] wrote: You may find the 'handle' utility from www.sysinternal.com a handy (no pun intended :-) ) tool for determining which files are op

Re: Bug in rm -r with locked files

2003-01-21 Thread [EMAIL PROTECTED]
You may find the 'handle' utility from www.sysinternal.com a handy (no pun intended :-) ) tool for determining which files are opened by which processes. This might help you track down what's locking files on you. In terms of the 'vim' issue, it piqued my interest enough that I did some investig

Re: apache 1.3.27 binary install problems

2003-01-21 Thread Jason Tishler
George, On Tue, Jan 21, 2003 at 12:17:26AM -0500, George Rypysc III wrote: > I've sucessfully used the build of apache (1.3.24) that came with > Cygwin on Windows 2000 (SP-2) but I've struggled getting it to work on > Windows XP (SP-1) using the same install files. I've read previous > posts abou

[ANNOUNCEMENT] Updated: cygwin-doc-1.3-2

2003-01-21 Thread Joshua Daniel Franklin
A new version of the cygwin-doc package is now available. My apologies for the two releases so close together. This release fixes a postinstall script issue with the recent 1.3-1 release. *** INFORMATION ON UPDATING CYGWIN *** To update your installation, click on the "Install Cygw

Re: Bug in rm -r with locked files

2003-01-21 Thread Gael Mulat
Corinna Vinschen wrote: On Tue, Jan 21, 2003 at 12:50:18PM +0100, Gael Mulat wrote: >Hi, > >This is a bug report about rm (package fileutils, version 4.1-1) on W2K. > >Test case: take 2 cygwin shells. > shell 1: >mkdir /tmp/directory >vi /tmp/directory/file > > shell 2: >

Re: telnet

2003-01-21 Thread H.Merijn Brand
On Tue 21 Jan 2003 14:57, Vince Hoffman <[EMAIL PROTECTED]> wrote: > Umm if you read the inetutils-1.3.2.README in /usr/doc/Cygwin it recomends > installing as a service with the command inetd --install-as-service rather Ahh, thanks. BTW that option is /not/ in inetd's man page Service started s

RE: telnet

2003-01-21 Thread Vince Hoffman
Umm if you read the inetutils-1.3.2.README in /usr/doc/Cygwin it recomends installing as a service with the command inetd --install-as-service rather than using cygrunsrv. also are your mounts system wide rather than user ? > -Original Message- > From: H.Merijn Brand [mailto:[EMAIL PROTEC

Re: telnet

2003-01-21 Thread H.Merijn Brand
On Mon 20 Jan 2003 11:14, "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: > H.Merijn schrieb: > > > Given that cygwin is installed on a Win2k/sp3 target, is there an easy way to > > enable telnet from another machine? > > Use inetd, this is in the package inetutils. > It is installed via cygrunsrv a

Re: Bug in rm -r with locked files

2003-01-21 Thread Brian . Kelly
YES! I too concur BIG TIME! In fact, I do not use rm -r in my scripts because of this problem. In perl scripts I use the Windows command $output=`cmd /c del /s *.* > 2>&1` (or similar) and examine the output for ACCESS DENIED, where I can then do an attrib and continue. AN .

Re: Bug in rm -r with locked files

2003-01-21 Thread Corinna Vinschen
On Tue, Jan 21, 2003 at 12:50:18PM +0100, Gael Mulat wrote: >Hi, > >This is a bug report about rm (package fileutils, version 4.1-1) on W2K. > >Test case: take 2 cygwin shells. > shell 1: >mkdir /tmp/directory >vi /tmp/directory/file > > shell 2: >/bin/rm -rf /tmp/directo

Re: cvs wont connect to remote

2003-01-21 Thread Max Bowsher
Patrick Nelson wrote: > cvs login: authorization failed: server cvs.npn rejected access to > for user pnelson > > I have tried everything that I can think of to get this working but > it just will not log in. does exist on the > remote system. I did notice that my Linux clients display somethi

Re: Bug in rm -r with locked files

2003-01-21 Thread David Means
Yep, I concur.  If windows has a lock on the file, rm just hangs.  I've seen it hang on directories when doing an 'rm -rf yada/*" On Tue, 2003-01-21 at 06:50, Gael Mulat wrote: Hi, This is a bug report about rm (package fileutils, version 4.1-1) on W2K. Test case: take 2 cygwin

Bug in rm -r with locked files

2003-01-21 Thread Gael Mulat
Hi, This is a bug report about rm (package fileutils, version 4.1-1) on W2K. Test case: take 2 cygwin shells. shell 1: mkdir /tmp/directory vi /tmp/directory/file shell 2: /bin/rm -rf /tmp/directory The shell2 doesn't manage to remove the directory and goes into an infinit

Bleadperl 18519 on Cygwin snapshot 19.01.2003

2003-01-21 Thread Gerrit P. Haase
Hallo Cygwin, Bleadperl patchlevel 18519 builds fine on the latest Cygwin snapshot, threaded Perl not tested: All tests successful, 48 tests and 316 subtests skipped. Files=755, Tests=70537, 1961 wallclock secs (441.50 cusr + 286.64 csys = 728.14 CPU) Summary of my perl5 (revision 5.0 version 9

configuring xgrafix2.40 on Cygwin 1.3.18-1

2003-01-21 Thread Josh Rembaum
Hi, I'm trying to install the xgrafix2.40 library (which works under X11) on my Win98 computer, using the latest Cygwin version (1.3.18-1) and during the configuration it tries to find `libtcl8.3.a', `libtcl8.3.so', `libtk8.3.a', and `libtk8.3.so'. 1) Am I right that the .a files exist as `li

Re: sshd: server refused our key

2003-01-21 Thread Manfred Köhler
... > > >The permissions and ownership of: > > >- your home directory > > drwxr-xr-x 138 mk group 24576 Nov 20 11:48 . > > >- your home/.ssh directory > > drwxr-xr-x2 mk group 4096 Nov 19 13:44 .ssh > >- your home/.ssh files > > seen o

Re: How to build dll using libtool-devel (bug?)

2003-01-21 Thread Marcel Telka
On Tue, Jan 21, 2003 at 08:26:21AM -, Max Bowsher wrote: > Marcel Telka wrote: > > Problem summary: > > I'm unable to build shared library (dll) using current libtool-devel. > > > > Here is a fragment from my build log: > > > > /bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o libioperm

Re: How to build dll using libtool-devel (bug?)

2003-01-21 Thread Max Bowsher
Marcel Telka wrote: > Problem summary: > I'm unable to build shared library (dll) using current libtool-devel. > > Here is a fragment from my build log: > > /bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o libioperm.la > -rpath /usr/lib ioperm.lo > libtool: link: warning: undefined symbo

How to build dll using libtool-devel (bug?)

2003-01-21 Thread Marcel Telka
Hi. Problem summary: I'm unable to build shared library (dll) using current libtool-devel. Here is a fragment from my build log: /bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o libioperm.la -rpath /usr/lib ioperm.lo libtool: link: warning: undefined symbols not allowed in i686-pc-cygwi