Re: determining what user mounted a drive

2011-05-10 Thread Corinna Vinschen
On May 10 18:04, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Len Giambrone sent the following at Tuesday, May 10, 2011 5:25 PM > >Is there a way of determining with what user credentials a share was > >mounted? I suppose I could touch a file on the drive and then find out > >who the owner is, but th

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Corinna Vinschen
On May 10 17:17, Len Giambrone wrote: > This time with a subject; apologies if the first one gets through. > > We use windows native jam which spawns any number of cmd, cygwin, or studio > processes. > If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we > get: I assume th

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 06:11:35PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Christopher Faylor sent the following at Tuesday, May 10, 2011 1:19 PM >>If we changed the /dev/console to /dev/consN (where N is a unique number >>for each console window) would that address your use case? > >Yes,

RE: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
Christopher Faylor sent the following at Tuesday, May 10, 2011 1:19 PM >If we changed the /dev/console to /dev/consN (where N is a unique number >for each console window) would that address your use case? Yes, it works for me if there would be a reasonably small (preferably single digit) number in

RE: determining what user mounted a drive

2011-05-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
Len Giambrone sent the following at Tuesday, May 10, 2011 5:25 PM >Is there a way of determining with what user credentials a share was >mounted? I suppose I could touch a file on the drive and then find out >who the owner is, but that's not ideal. > >mount will tell me that it's a user mount, but

Re: determining what user mounted a drive

2011-05-10 Thread Jeremy Bopp
On 5/10/2011 16:25, Len Giambrone wrote: > Is there a way of determining with what user credentials a share was mounted? > I suppose I could touch a file on the drive and then find out who the owner > is, but that's not ideal. > > mount will tell me that it's a user mount, but won't tell me WHICH

determining what user mounted a drive

2011-05-10 Thread Len Giambrone
Is there a way of determining with what user credentials a share was mounted? I suppose I could touch a file on the drive and then find out who the owner is, but that's not ideal. mount will tell me that it's a user mount, but won't tell me WHICH user. Is there some way (windows native or Cygwin

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Len Giambrone
This time with a subject; apologies if the first one gets through. We use windows native jam which spawns any number of cmd, cygwin, or studio processes. If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we get: The handle is invalid. Every time output goes to the screen.

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-10 Thread Andrew Schulman
> 1. Output of 'cygcheck -svr' appended to the end of this message. Thanks, looks okay. > 2. I have the problem whether I run GNU screen from a cmd.exe prompt or > under rxvt. I tried Peter Li's suggestion of trying to run screen under > mintty -- still no joy. It does not matter if I running

Re: All clear (was Re: Don't use 2011-05-05 22:37:25 UTC snapshot)

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 02:43:13PM -0400, Chris Sutcliffe wrote: >On 10 May 2011 12:56, Christopher Faylor wrote: >> On Fri, May 06, 2011 at 10:43:12AM -0400, Christopher Faylor wrote: >>>Last night's snapshot has a revamp of some of the tty/console handling. >>>It worked fine on my Windows 7 x64 s

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-10 Thread Doug Morse
Hi, Andrew: Thanks for the help, and for pointing me to this cygwin list! 1. Output of 'cygcheck -svr' appended to the end of this message. 2. I have the problem whether I run GNU screen from a cmd.exe prompt or under rxvt. I tried Peter Li's suggestion of trying to run screen under mintty --

Re: All clear (was Re: Don't use 2011-05-05 22:37:25 UTC snapshot)

2011-05-10 Thread Chris Sutcliffe
On 10 May 2011 12:56, Christopher Faylor wrote: > On Fri, May 06, 2011 at 10:43:12AM -0400, Christopher Faylor wrote: >>Last night's snapshot has a revamp of some of the tty/console handling. >>It worked fine on my Windows 7 x64 system but apparently I was just >>lucky.  Please don't use it until y

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 01:18:47PM -0400, Christopher Faylor wrote: >starting in a console window. So, yes, you'll see /dev/ttyN as the >controlling terminal in a tty application. pty/tty cgf -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong

2011-05-10 Thread John Dong
I can still reproduce this on the latest snapshot. I also tried some different hardware and virtual machines too, and I don't think my machine is to blame. Has anyone else been able to reproduce this bug? Or have pointers of further things I can do to diagnose it? Thanks in advance, John On

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 09:37:43AM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Corinna Vinschen sent the following at Monday, May 09, 2011 12:10 PM >>Chris and I are wondering how many people are using the Windows console >>as local console window in CYGWIN=tty mode and why. > >I've been usin

All clear (was Re: Don't use 2011-05-05 22:37:25 UTC snapshot)

2011-05-10 Thread Christopher Faylor
On Fri, May 06, 2011 at 10:43:12AM -0400, Christopher Faylor wrote: >Last night's snapshot has a revamp of some of the tty/console handling. >It worked fine on my Windows 7 x64 system but apparently I was just >lucky. Please don't use it until you hear from me that things are >fixed. Any tty/cons

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Lee Maschmeyer
There is no need for CYGWIN=tty as far as my use of brltty is concerned. I can still run c:\cygwin\cygwin.bat having taken out the tty from the CYGWIN var. If I discover massive emacs malfunctions I can always defect to the vim camp. :-) I'm curious why the tty command in mintty reports /dev/t

Re: how to use windres.exe without installing cygwin?

2011-05-10 Thread Charles Wilson
On 5/10/2011 10:51 AM, Corinna Vinschen wrote: > On May 10 07:23, ironsand wrote: >> Is there someone who knows how to include windres.exe in a software without >> installing cygwin? %-| > > You can't. Windres is a Cygwin tool using the Cygwin DLL. Gcc is a > Cygwin tool using the Cygwin DLL. E

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Charles Wilson
On 5/10/2011 9:39 AM, Lee Maschmeyer wrote: > Just now. So far I haven't noticed any problems but this is even less > significant. I guess "notty" was meant to say that tty should not be > mentioned at all in the $CYGWIN variable. I'll remove it and see what > happens. Maybe it's not clear, but mo

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Andy Koppe
On 10 May 2011 15:08, Corinna Vinschen wrote: > Samuel, > > On May  9 22:23, Samuel Thibault wrote: >> Christopher Faylor, le Mon 09 May 2011 16:05:24 -0400, a écrit : >> > Has anyone tried running brltty without setting CYGWIN=tty? >> >> I never set the CYGWIN variable nowadays, actually, and brlt

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Jeremy Bopp
On 5/10/2011 09:50, Bernhard Ege wrote: > I generelly use command line editing a lot (is tty necessary for that?). General command line usage doesn't require the setting. If in doubt though, remove the setting and try things out for a bit. You'll probably find that nothing changes for your usage

Re: how to use windres.exe without installing cygwin?

2011-05-10 Thread Corinna Vinschen
On May 10 07:23, ironsand wrote: > > Hi > > I write a script using windres.exe and want to distribute it. I assume you are aware that all these tools including Cygwin are under the GPL and so you have to provide the sources of all tools and DLLs together with the binaries, right? > But I couldn

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Bernhard Ege
On 09-05-2011 18:10, Corinna Vinschen wrote: Chris and I are wondering how many people are using the Windows console as local console window in CYGWIN=tty mode and why. I have, perhaps unnecessarily, tty defined (as well as ntsec). My typical use of cygwin involves opening a cygwin window usin

how to use windres.exe without installing cygwin?

2011-05-10 Thread ironsand
Hi I write a script using windres.exe and want to distribute it. But I couldn't find which files schould I include in my package. It seems that windres.exe calls sh.exe and sh.exe calls gcc.exe. At first I deleted cygwin path from environment variable and copied following files in script folder.

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Corinna Vinschen
Samuel, On May 9 22:23, Samuel Thibault wrote: > Christopher Faylor, le Mon 09 May 2011 16:05:24 -0400, a écrit : > > Has anyone tried running brltty without setting CYGWIN=tty? > > I never set the CYGWIN variable nowadays, actually, and brltty works > fine in that case. do you happen to know w

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Lee Maschmeyer
Christopher wrote: Ok, it sounds like there is no need whatsoever to set CYGWIN=tty with brltty. That is good news. According to what Ken wrote, emacs won't work as well. This would be very distressing, though I haven't verified it personally. I'd be pretty surprised if it was the case si

RE: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
Corinna Vinschen sent the following at Monday, May 09, 2011 12:10 PM >Chris and I are wondering how many people are using the Windows console >as local console window in CYGWIN=tty mode and why. I've been using it for so long that I do not remember why - probably because I thought it was recommend

Re: difficulties with snapshots

2011-05-10 Thread Corinna Vinschen
On May 9 16:02, EXCOFFIER Denis wrote: > Hello, > > This one is a follow-up of http://cygwin.com/ml/cygwin/2011-05/msg00042.html > > On 2011-05-05 11:19:56 -0400, Christopher Faylor wrote: > >On Thu, May 05, 2011 at 10:47:39AM +0200, EXCOFFIER Denis wrote: > >>2) More importantly, i was not able

Re: strace swallows stderr?

2011-05-10 Thread Corinna Vinschen
On May 9 14:12, Ryan Johnson wrote: > Hi all, > > It seems that when strace is running an app, that app's stderr > output disappears. Indeed. I never even tried to find out why. http://cygwin.com/acronyms/#PTC :) Corinna -- Corinna Vinschen Please, send mails regarding Cy

[ANNOUNCEMENT] Updated: monotone-1.0-1

2011-05-10 Thread Lapo Luchini
Version 1.0-1 of monotone has been uploaded. monotone is a free distributed version control system. it provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer synchronization protocol. You can find information about new features

Re: Help! How to find newlib?

2011-05-10 Thread Corinna Vinschen
On May 10 09:55, Xin Jin wrote: > Hallo all, > > i'm using cygwin 1.7 for porting of a c/c++ written program from linux on > windows and want to get an executable file which is independable with cygwin. > This program needs "glibc" (the standard c library), particuly the pread, > pwrite functio

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Corinna Vinschen
On May 10 10:29, Csaba Raduly wrote: > On Mon, May 9, 2011 at 6:10 PM, Corinna Vinschen wrote: > > Hi, > > > > > > Chris and I are wondering how many people are using the Windows console > > as local console window in CYGWIN=tty mode and why. > > > > Here's why we ask: > > > > We are both not sure

Re: Help! How to find newlib?

2011-05-10 Thread marco atzeri
On Tue, May 10, 2011 at 9:55 AM, Xin Jin wrote: > Hallo all, > > i'm using cygwin 1.7 for porting of a c/c++ written program from linux on > windows and want to get an executable file which is independable with cygwin. > This program needs "glibc" (the standard c library), particuly the pread, > p

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Corinna Vinschen
On May 9 18:36, Henry S. Thompson wrote: > Corinna Vinschen writes: > > > On May 9 17:21, Henry S. Thompson wrote: > >> Corinna Vinschen writes: > >> > >> > Chris and I are wondering how many people are using the Windows console > >> > as local console window in CYGWIN=tty mode and why. > >> >

Re: Who's using "CYGWIN=tty" and why?

2011-05-10 Thread Csaba Raduly
On Mon, May 9, 2011 at 6:10 PM, Corinna Vinschen wrote: > Hi, > > > Chris and I are wondering how many people are using the Windows console > as local console window in CYGWIN=tty mode and why. > > Here's why we ask: > > We are both not sure why anybody would use it voluntarily, given that > it's

Help! How to find newlib?

2011-05-10 Thread Xin Jin
Hallo all, i'm using cygwin 1.7 for porting of a c/c++ written program from linux on windows and want to get an executable file which is independable with cygwin. This program needs "glibc" (the standard c library), particuly the pread, pwrite function inside it. It is described in the cygwin u