Re: -exec on find(1) broken

2007-10-09 Thread Marty Leisner
Brian Dessent <[EMAIL PROTECTED]> writes on Tue, 09 Oct 2007 02:51:23 PDT > Paul McFerrin wrote: > > > Well, I finally got it! > > > > find . -type f -mtime +18 -exec /bin/echo {} \; | more > > > > is the correct syntax. Now I just replace "/bin/echo" wi

Re: Users connected to my computer using Cygwin

2007-10-09 Thread DePriest, Jason R.
On 10/9/07, Daniel Noll <[EMAIL PROTECTED]> wrote: > > I guess that works, as long as you only care about the users logged on through > the SSH server. If I open a clean bash session and type "who" it doesn't > even show myself. > > Daniel > I guess you don't have CYGWIN=TTY in your environment (

Re: Users connected to my computer using Cygwin

2007-10-09 Thread Daniel Noll
On Wednesday 10 October 2007 11:01:36 Gary Johnson wrote: > The misunderstanding is not Corinna's. Her answer was "who". > Execute the command 'who' and you will see a list of who is logged > on to the system. I guess that works, as long as you only care about the users logged on through the SSH

Re: libuuid

2007-10-09 Thread antony baxter
René, [snip] >> uuid.o:uuid.c:(.text+0x174): undefined reference to `_uuid_unparse_lower' >> uuid.o:uuid.c:(.text+0x2fd): undefined reference to `_uuid_unparse_lower' >> collect2: ld returned 1 exit status >> dllwrap: gcc exited with status 1 > > Wrong library. > > The problem is, where are those

Re: Snit package in TCL/TK libraries

2007-10-09 Thread Jason Pearce
This is resolved. Thanks David for correcting my misaprehension that Tcllib was the standard TCL library. Once I got past that things fell into place... Tcklib is architecture independant tcl code. Its available here http://sourceforge.net/project/showfiles.php?group_id=12883&package_id=2458

Re: libuuid

2007-10-09 Thread René Berber
Antony Baxter wrote: [snip] > I've just tried: > > dllwrap -o uuid.dll --def uuid.def uuid.o > /usr/lib/postgresql/pgxs/src/../../src/utils/dllinit.o -L/usr/lib -lpostgres > -Wl,-Bstatic -luuid -Wl,-Bdynamic ... > All three give the same errors: > > uuid.o:uuid.c:(.text+0xe): undefined refer

Re: libuuid

2007-10-09 Thread antony baxter
>> I'm trying to compile a PostgreSQL module that relies on libuuid. I've >> found a number of previous discussions about this lib on the mailing >> list which indicate that in general we must use the Win32api version >> libuuid.a found in /usr/lib/w32api >> >> The source of the module can be found

Re: libuuid

2007-10-09 Thread René Berber
Antony Baxter wrote: > I'm trying to compile a PostgreSQL module that relies on libuuid. I've > found a number of previous discussions about this lib on the mailing > list which indicate that in general we must use the Win32api version > libuuid.a found in /usr/lib/w32api > > The source of the mo

Re: Users connected to my computer using Cygwin

2007-10-09 Thread Christopher Faylor
On Tue, Oct 09, 2007 at 06:01:36PM -0700, Gary Johnson wrote: >On 2007-10-10, Daniel Noll wrote: >> On Tuesday 09 October 2007 17:56:03 Corinna Vinschen wrote: >> > On Oct 8 12:40, dzapffe19 wrote: >> > > I want to see who is connected to my machine at a particular time to >> > > ensure that I am

libuuid

2007-10-09 Thread antony baxter
I'm trying to compile a PostgreSQL module that relies on libuuid. I've found a number of previous discussions about this lib on the mailing list which indicate that in general we must use the Win32api version libuuid.a found in /usr/lib/w32api The source of the module can be found here: http://co

Re: Users connected to my computer using Cygwin

2007-10-09 Thread Gary Johnson
On 2007-10-10, Daniel Noll wrote: > On Tuesday 09 October 2007 17:56:03 Corinna Vinschen wrote: > > On Oct 8 12:40, dzapffe19 wrote: > > > I want to see who is connected to my machine at a particular time to > > > ensure that I am the only one able to access my computer. > > > Is it possible to lo

Re: Users connected to my computer using Cygwin

2007-10-09 Thread Daniel Noll
On Tuesday 09 October 2007 17:56:03 Corinna Vinschen wrote: > On Oct 8 12:40, dzapffe19 wrote: > > I want to see who is connected to my machine at a particular time to > > ensure that I am the only one able to access my computer. > > Is it possible to log all connections of Cygwin? > > If so how?

Re: Snit package in TCL/TK libraries

2007-10-09 Thread Jason Pearce
On 10/9/07, Jason Pearce wrote: > > I am trying to install Perl's Tcl-Tk-0.97 package off CPAN > (http://search.cpan.org/~vkon/Tcl-Tk-0.97/ ). > The Makefile.PL does a test for something called snit in the TCL libraires. > => it runs tclsh with a smal

Re: Naming Cygwin Shells

2007-10-09 Thread Paul McFerrin
Christopher Faylor wrote: On Tue, Oct 09, 2007 at 02:47:01PM -0400, Paul McFerrin wrote: In some initial cygwin window, execute the following command line: setpgrp rxvt --backspacekey ^H -sbt 15 -fg white -bg black -geometry +75+80 -sr -title "SYSTEMxx" -tn ansi -sl 1500 -fn 'Lucida Conso

Re: Links and O/S shell

2007-10-09 Thread DePriest, Jason R.
On 10/9/07, Joel Rubin wrote: > I ran links from cmd, started to download a file in the background and > ran an O/S shell. Later, when I could see that the download was long > finished, I exited the O/S shell and, instead of returning to links, > the whole console box disappeared, leaving the ghos

Re: Naming Cygwin Shells

2007-10-09 Thread Christopher Faylor
On Tue, Oct 09, 2007 at 02:47:01PM -0400, Paul McFerrin wrote: > In some initial cygwin window, execute the following command line: > > setpgrp rxvt --backspacekey ^H -sbt 15 -fg white -bg black -geometry +75+80 > -sr -title "SYSTEMxx" -tn ansi -sl 1500 -fn 'Lucida Console-12' -e ksh & > > and rep

Re: Naming Cygwin Shells

2007-10-09 Thread Paul McFerrin
In some initial cygwin window, execute the following command line: setpgrp rxvt --backspacekey ^H -sbt 15 -fg white -bg black -geometry +75+80 -sr -title "SYSTEMxx" -tn ansi -sl 1500 -fn 'Lucida Console-12' -e ksh & and replace "SYSTEMxx" with what ever label you like. This will create anot

Re: screen reattach not working under ssh?

2007-10-09 Thread Jim Kleckner
Damjan Lango wrote: I'm still having problems with reattaching screen under ssh sessions. Does it work to anybody at all? ssh + screen + vista anyone? sigh :( I have had some success using vista 64 bit. Not frequently used, though. Jim -- Unsubscribe info: http://cygwin.com/ml/#unsubscr

Re: login winXP home edition

2007-10-09 Thread pbs
Morgan Gangwere wrote: > On 10/2/07, pbs <[EMAIL PROTECTED]> wrote: >> I am trying to get xdmcp to work on a winXP home edition machine. But >> there are several issues that are cropping up. One of them can be >> simplified by looking at problems with "login" from the command line prompt. >> > > H

Re: Snit package in TCL/TK libraries

2007-10-09 Thread David Barr
On 10/9/07, Jason Pearce wrote: > > I am trying to install Perl's Tcl-Tk-0.97 package off CPAN > (http://search.cpan.org/~vkon/Tcl-Tk-0.97/). > The Makefile.PL does a test for something called snit in the TCL libraires. > => it runs tclsh with a small script which does "package require snit". > Thi

RE: one othe robservation about my install update

2007-10-09 Thread Dave Korn
On 09 October 2007 12:04, Mike Marchywka wrote: > I had moved /usr to a different disk from my other stuff for a variety of > reasons. > This had been working quite well with a link. > I noticed that during the update, someone created a new /usr directory: > > $ ls -al | grep usr > drwxrwxrwx+

Links and O/S shell

2007-10-09 Thread Joel Rubin
I ran links from cmd, started to download a file in the background and ran an O/S shell. Later, when I could see that the download was long finished, I exited the O/S shell and, instead of returning to links, the whole console box disappeared, leaving the ghost of links and the cmd session which ha

one othe robservation about my install update

2007-10-09 Thread Mike Marchywka
I had moved /usr to a different disk from my other stuff for a variety of reasons. This had been working quite well with a link. I noticed that during the update, someone created a new /usr directory: $ ls -al | grep usr drwxrwxrwx+ 16 Administrator Users 0 Oct 8 18:26 usr drwxrwxrwx

Re: Naming Cygwin Shells

2007-10-09 Thread Brian Dessent
bluewolf wrote: > Simple question here. I am trying to figure out a way to name a cygwin shell > so that I can have multiple windows up doing tails and other such functions > and easily see what system i am looking at. > > I know that in CMD if i want to change the name of a CMD window to shellna

RE: Naming Cygwin Shells

2007-10-09 Thread Dave Korn
On 09 October 2007 10:50, Andrew Schulman wrote: > > I'm not sure how you'd get the name of the command that's currently > executing into the title bar, but it probably could be done. http://cygwin.com/cygwin-ug-net/using-cygwinenv.html#title CYGWIN=title cheers, DaveK -- Can't thin

RE: -exec on find(1) broken

2007-10-09 Thread Dave Korn
On 09 October 2007 08:07, Paul McFerrin wrote: > Well, I finally got it! > > find . -type f -mtime +18 -exec /bin/echo {} \; | more > > is the correct syntax. Now I just replace "/bin/echo" with "/bin/rm" > and I ready to go. Will break on paths/files with embedded spaces, use find .

Re: Naming Cygwin Shells

2007-10-09 Thread Andrew Schulman
> > Simple question here. I am trying to figure out a way to name a cygwin shell > so that I can have multiple windows up doing tails and other such functions > and easily see what system i am looking at. See the section on PROMPTING (and also the PROMPT_COMMAND variable) in the bash manual for

Re: -exec on find(1) broken

2007-10-09 Thread Brian Dessent
Paul McFerrin wrote: > Well, I finally got it! > > find . -type f -mtime +18 -exec /bin/echo {} \; | more > > is the correct syntax. Now I just replace "/bin/echo" with "/bin/rm" > and I ready to go. That's still horribly overcomplicated and inefficient. Use "find . -type f -mtime +18" t

RE: -exec on find(1) broken

2007-10-09 Thread Alexander.Farber
Then you better use xargs: find . -type f -mtime +18 -print0 | xargs -0 rm -i > -Original Message- > [mailto:[EMAIL PROTECTED] On Behalf Of ext Paul McFerrin > find . -type f -mtime +18 -exec /bin/echo {} \; | more > > is the correct syntax. Now I just replace "/bin/echo" wi

Re: file locking behaviour

2007-10-09 Thread Corinna Vinschen
On Oct 8 23:37, Damjan Lango wrote: > Hello! > > I have a program that uses: > > lock.l_type = F_WRLCK; > fcntl(log->handle, F_SETLK, &lock) > > the file is then locked also for reads, is that correct behaviour? > I thought that only writing would be locked. > on unix the file stays readable ev

Re: Users connected to my computer using Cygwin

2007-10-09 Thread Corinna Vinschen
On Oct 8 12:40, dzapffe19 wrote: > > I want to see who is connected to my machine at a particular time to ensure > that I am the only one able to access my computer. > Is it possible to log all connections of Cygwin? > If so how? No, not how, who. Corinna -- Corinna Vinschen

Snit package in TCL/TK libraries

2007-10-09 Thread Jason Pearce
I am trying to install Perl's Tcl-Tk-0.97 package off CPAN (http://search.cpan.org/~vkon/Tcl-Tk-0.97/). The Makefile.PL does a test for something called snit in the TCL libraires. => it runs tclsh with a small script which does "package require snit". This fails. I am not a regular TCL/TK user

Re: -exec on find(1) broken

2007-10-09 Thread Paul McFerrin
Well, I finally got it! find . -type f -mtime +18 -exec /bin/echo {} \; | more is the correct syntax. Now I just replace "/bin/echo" with "/bin/rm" and I ready to go. -paul Paul McFerrin wrote: Those ideas don't work either /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo '\;