Re: [ANNOUNCEMENT] Updated: run-1.1.11-1

2009-08-16 Thread Corinna Vinschen
On Aug 15 10:46, Charles Wilson wrote: > Corinna Vinschen wrote: > > Apparently `run XWin' doesn't work at all anymore, everything else seems > > to work fine. A shortcut starting XWin directly w/o run works fine as > > well. Is XWin allergic against the pipe redirection, maybe? > > Hmm. I've be

Re: Cygwin1.dll 1.7.0-5x: RSYNC failures in close() system call on pipe file descriptors

2009-08-16 Thread Angelo Graziosi
For the sake of completeness... I wrote: May you give some more details? For example, should I rebuild under Cygwin-1.5 or 1.7? with cygport (but which uses rsync, sigh!)? which patch to apply?... I have rebuilt rsync-3.05 both on Cygwin-1.5 and 1.7 applying this patch: --- util.c.orig 2008-

Cygwin-1.7 and 'Nobody' group

2009-08-16 Thread Angelo Graziosi
Usually, installing Cygwin, the file /etc/passwd contains things like: ... Administrator:unused_by_nt/2000/xp:500:513... pippo:unused_by_nt/2000/xp:1006:513... Guest:unused_by_nt/2000/xp:501:513 ... so that 'ls -lrt' shows many files like this: -rw-r--r-- 1 pippo Nobody 5858 Jul 28 17:04 emo

Re: [ANNOUNCEMENT] Updated: run-1.1.11-1

2009-08-16 Thread Colin Harrison
Hi, You probably know this, but a JavaScript file can be used to do something similar to the Run Utility for Windows CUIs... //test.js //JavaScript to display xeyes without a local Command Prompt... var wshell = new ActiveXObject('WScript.Shell'); wshell.Run('"C:\\Program Files\\Xming\\xeyes.exe"

Re: [ANNOUNCEMENT] Updated: run-1.1.11-1

2009-08-16 Thread Charles Wilson
Corinna Vinschen wrote: >> Do you think this idea is worth pursuing? > > Sounds like a good idea to me. I'm just wondering, is there really > no easy Win32 function to fetch this information, along the lines > of the GetBinaryType function? Well, there's SHGetFileInfo with the SHGFI_EXETYPE fla

Re: [ANNOUNCEMENT] Updated: run-1.1.11-1

2009-08-16 Thread Charles Wilson
Colin Harrison wrote: > //test.js > //JavaScript to display xeyes without a local Command Prompt... > var wshell = new ActiveXObject('WScript.Shell'); > wshell.Run('"C:\\Program Files\\Xming\\xeyes.exe" -display :2',0); > > It's the '0' that does the magic. Yep, I've even got an implementation i

No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread DY
I figured out my old problem, but now I have no /etc/passwd. How do I create one? I'd use vi, but I don't know what one should look like. Is there an example somewhere? In case anyone else ever needs this, if you install cygwin, then get command not found for everything, you need to: click

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread DY
Or maybe the problem is the profile. Here's the deal. My prompt defaults to c:/cygwin and I want it to default to my home directory (with the path as the prompt). I thought I needed to change /etc/passwd, but that doesn't exist. After a bit of searching, I found the profile in /etc/defaults/

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Huang Bambo
I think you should learn some basic unix knowledge first. 2009/8/16 DY > > I figured out my old problem, but now I have no /etc/passwd.  How do I create > one? > I'd use vi, but I don't know what one should look like.  Is there an example > somewhere? > > In case anyone else ever needs this, if

Re: [ANNOUNCEMENT] Updated: run-1.1.11-1

2009-08-16 Thread Colin Harrison
Hi, Chuck wrote: > However, a lot of folks are used to using the run.exe tool I for one. I am getting a stderr/pipe problem with some CUI's ~line 398 in run.c (1.1.11 run + your patch) bForceUsingPipes = (os_version >= 0x0501); I made this = FALSE to fix for 2003 server..not tried on Windows 7.

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread DY
And I think it would be awfully nice if you'd help someone out who is trying to learn some basic unix. Look, I know my questions are basic. I've said as much. I never claimed to know tons about unix or cygwin. But I need to use cygwin. I used it before successfully. Now I'm trying to rein

Re: rxvt slow to get the prompt if another rxvt is already open on windows 7 64bit

2009-08-16 Thread Andy Koppe
2009/8/14 Corinna Vinschen: >> I tried it again briefly last night. It only happened when logged in >> as an administrator, not as a limited user. That's with UAC enabled. >> Didn't try disabling. Reproduced both with 'rxvt' and 'mintty -u', and >> timed the delay to about 15 seconds. >> >> Trying

MinTTY & PuTTYcyg (was: Re: rxvt slow to get the prompt ...)

2009-08-16 Thread Andy Koppe
2009/8/15 Morgan Gangwere: > I realize MinTTY is a fork of PuTTYCyg It's not. It's a much modified fork of PuTTY's terminal emulation and Windows frontend parts, but it uses a different approach from PuTTYcyg for connecting to Cygwin. PuTTYcyg invokes a separate helper process that links to the Cy

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Mark J. Reed
On Sun, Aug 16, 2009 at 11:30 AM, DY wrote: > In case anyone else ever needs this, if you install cygwin, then get command > not found for everything, you need to:[set CYGWIN_HOME and add > %CYGWIN_HOME%\bin to PATH]. That's quite strange; neither of those should be necessary. I have no CYGWIN_H

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Mark J. Reed
No /etc/passwd file at all? You're looking from bash, not from Windows, right? From Windows it'd be C:\Cygwin\etc\passwd... This sounds like something went wrong during the installation. You can generate the default passwd file like so: mkpasswd -l >/etc/passwd But if your prompt is "c:\cygwi

Re: [ANNOUNCEMENT] Updated: run-1.1.11-1

2009-08-16 Thread Charles Wilson
Colin Harrison wrote: > I am getting a stderr/pipe problem with some CUI's ~line 398 in run.c > (1.1.11 run + your patch) > bForceUsingPipes = (os_version >= 0x0501); #$!%# > I made this = FALSE to fix for 2003 server..not tried on Windows 7. > I'm still testing (run built with MinGW) so this is

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread DY
in cygwin, if I go to /etc there is no passwd. I'm definitely in cygwin. My prompt is bash-3.2$ Oh, and there's no profile in /etc either. (or a .bash_profile, for that matter). Should that have been created automatically? So it's pretty clear I did something fundamentally wrong in setup? A

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Mark J. Reed
On Sun, Aug 16, 2009 at 12:56 PM, DY wrote: > I basically went to the cygwin page, picked "install now", downloaded > setup.exe, right-clicked on it and chose "run as administrator", then ran it, > picked to > install perl, python, devel, the vim editor, and x11, and then let'er rip. ... along wi

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread DY
no - when I was looking at the cygwin icon I was saying the path. Sorry for the confusion. I did not choose to uninstall anything. I did not change any of the defaults. Trust me. I know I don't know enough to do that. Thanks! -Debra Mark J. Reed wrote: On Sun, Aug 16, 2009 at 12:56 PM, DY

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Mark J. Reed
On Sun, Aug 16, 2009 at 1:07 PM, DY wrote: > no - when I was looking at the cygwin icon I was saying the path. > Sorry for the confusion. "Here's the deal. My prompt defaults to c:/cygwin and I want it to default to my home directory (with the path as the prompt)." Confusing indeed! So what are

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread DY
Oh, I'm sorry, I meant that the directory my prompt defaults to. I wanted the directory my prompt defaulted to to be my home directory. When I installed cygwin last time the default directory was my home directory, and the prompt showed the directory I was currently in (e.g., my prompt looked

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Ken Brown
On 8/16/2009 1:20 PM, DY wrote: Less specifically, why didn't cygwin's set up automatically create a passwd and a profile for me when it does for everyone else and what does that indicate about cygwin's being installed properly. What it indicates, as Larry Hall said in his reply to your first

1.7.0-58 fixes fork crash in 1.7-compiled app running on 1.5

2009-08-16 Thread Martin Dorey
-58 fixed a repeatable crash I was seeing in fork on every machine on which I ran a particular big hairy application (http://software.jessies.org/terminator). Nothing new there, so I only spam you with my thanks because the machines in question were all running 1.5, though the executable was compi

Re: Cygwin-1.7 and 'None' [was Nobody] group

2009-08-16 Thread Angelo Graziosi
Gulp! In this context, the translation of 'Nessuno' should be 'None' and NOT 'Nobody' :-( I resend correcting, for the sake of completeness... :-) Messaggio Originale Oggetto: Cygwin-1.7 and 'Nobody' group Usually, installing Cygwin, the file /etc/passwd contains things li