Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Jason Tishler
Corinna,

I apologize for the delay, but I was on vacation...

On Tue, Aug 03, 2004 at 03:30:58PM +0200, Corinna Vinschen wrote:
> I tried it and it actually only happens on 9x.  I found that postgres
> tries to shmat to an address which I have no idea about where it comes
> from.  The problem with that address is, that it's neither a multiple
> of SHMLBA, nor does postgres call shmat with the SHM_RND flag.  For
> some reason the address is ok on NT.
> 
> So, Jason, do you have an idea why that happens?

No.

> Two questions come to mind:
> 
> - How does postgres evaluate that address

I don't know.

> and why does it only fail on 9x?

Ditto.

> - Why does postgres use a fixed address at all, instead of using NULL
>   to let the system decide which address to use?

Ditto.

I do not have access to Windows 9x and (unfortunately) have not used
PostgreSQL seriously for 3 years now, so I'm not particularly motivated
to work on this problem.

Sorry,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Jason Tishler
Mos,

On Tue, Aug 03, 2004 at 09:41:34PM -0100, Mos wrote:
> I install PostgreSQL 7.4.2 today without changing Cygwin install.
> Initdb works fine : initialization is good !

I'm glad PostgreSQL is working for you, but it appears that there is a
Windows 9x problem lurking that may bite you in the future... :,(

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Redirect stdout from SSH

2004-08-08 Thread Igor Pechtchanski
On Fri, 6 Aug 2004, David E. Meier wrote:

> > At 01:03 PM 8/3/2004, you wrote:
> >>Hello list,
> >>
> >>I am writing a program in C# that calls some cygwin programs and redirects
> >>the standard output and error to a textbox. This works excellent with
> >>calls like "ls -al" or rsync.
> >>
> >>However, I cannot read the output generated by SSH. When I issue a command
> >>like "ssh [EMAIL PROTECTED] ls -al" I can observe some network action but the
> >>application stalls, uses 100% CPU and never spits out something. The same
> >>command in the cygwin shell executes with the result expected. Since I use
> >>public key authentication SSH is not waiting for any login information.
> >>
> >>Is this a configuration issue of SSH? Thanks for any help. Dave.
> >
> > Not AFAICS.  A small C program that invokes Cygwin's 'ssh' via 'system()'
> > with 'ls -al' works fine for me.  Does that work for you?
>
> I got it working when standard input is also set to be redirected. Does
> anyone have an explanation of this?
>
> Dave

By default, ssh is an interactive program, even if the program it invokes
isn't.  Therefore, ssh contains some code that sets up standard input and
its properties.  This code may cause some problems when invoked from a
non-pty-aware application (such as a C# program).  You can redirect
standard input, as you've already discovered, or simply use the '-n'
option to ssh.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



base-files-profile.sh, man.sh [Was: Re: Cygwin permissions problem]

2004-08-08 Thread Pierre A. Humblet
On Sat, Aug 07, 2004 at 11:04:43PM -0700, Fish wrote:
> 
> Pierre A. Humblet wrote:
> 
> > setup is a Windows program. The files it creates have
> > the inheritable permissions of the parent directory.
> 
> Well then it must not be setup that's doing it then. 

Right. Thanks for the cacls info. What's happening is this:

1) All files created by setup have ACL:

> c:\ BUILTIN\Administrators:(OI)(CI)F 
> PIGFUCKER\Friends:(OI)(CI)F 
> NT AUTHORITY\SYSTEM:(OI)(CI)F 
Note that neither you personally, nor the standard group, Users,
nor Everyone has any access. So ls -l shows no permissions and
a "+". Nonetheless you have full access because you are in Admins.

2) When the sh postinstall scripts run (with ntsec), they create
files according to POSIX rules. The owner is you. Fish, the group
is Users. 

3) Files that are created from scratch (e.g. /etc/passwd) have OK
permissions. 

4) However man.sh and base-files-profile.sh (and perhaps others) use
cp, which copies the (umasked) permission bits from the source
file, ignoring the acl. Thus you have no access to the files
copied from /etc/defaults. 

What should be done? I see two avenues.
a) One could run the postinstall scripts (except those that chown
or chmod) with nontsec. They would then create files with the normal
Windows inheritance rules and one would have uniform permissions
for all files, whether created by setup or by postinstall scripts.
b) Scripts that use cp should create an empty destination file before 
doing the cp (or call chmod after cp, or set nontsec before cp).

Pierre

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding)

2004-08-08 Thread Igor Pechtchanski
On Sat, 7 Aug 2004, Brian Dessent wrote:

> peter waltman wrote:
>
> > yeah.  pretty much.  I've set the "ForwardX11 yes" in the sshd_config
> > file on the server I log into and I've also set it in the ssh_config
> > with the client I'm using to log into it.
> >
> >piano{pwaltman}51: ssh -X grad107m
> >[EMAIL PROTECTED]'s password:
> >Last login: Fri Aug  6 19:16:42 2004 from lin04.eecs.tufts.edu
> >
> >[EMAIL PROTECTED] ~
> >$ echo $DISPLAY
> >127.0.0.1:0
>
> It could be that if DISPLAY is set before you run ssh -X then ssh won't
> change it.  Try unsetting DISPLAY first.

This is wrong.  "ssh -X/-Y" will not enable X11 forwarding *unless*
DISPLAY is set in the local shell.

> Also, make sure there's nothing in your profile/bashrc stuff on the
> remote host that messes with DISPLAY.

This, however, is sound advice.  Try running ssh without the -X flag (or
even with a -x flag) and see if DISPLAY is still set.

> > if $?REMOTEHOST
> >export DISPLAY=$REMOTEHOST:0.0
>
> If you do this your X session is no longer tunneled through SSH, and
> thus not secure.

Also correct.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Mike G

Hello,

I will bring it up with the postgresql hackers.

PS - Sorry for the new posting.  I read these via digest.
Mike

* From: Jason Tishler 
* To: cygwin at cygwin dot com
* Date: Sun, 8 Aug 2004 11:07:56 -0400
* Subject: Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3
* References: <[EMAIL PROTECTED]>

Corinna,

I apologize for the delay, but I was on vacation...

On Tue, Aug 03, 2004 at 03:30:58PM +0200, Corinna Vinschen wrote:
> I tried it and it actually only happens on 9x.  I found that postgres
> tries to shmat to an address which I have no idea about where it comes
> from.  The problem with that address is, that it's neither a multiple
> of SHMLBA, nor does postgres call shmat with the SHM_RND flag.  For
> some reason the address is ok on NT.
> 
> So, Jason, do you have an idea why that happens?

No.

> Two questions come to mind:
> 
> - How does postgres evaluate that address

I don't know.

> and why does it only fail on 9x?

Ditto.

> - Why does postgres use a fixed address at all, instead of using NULL
>   to let the system decide which address to use?

Ditto.

I do not have access to Windows 9x and (unfortunately) have not used
PostgreSQL seriously for 3 years now, so I'm not particularly motivated
to work on this problem.

Sorry,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: question about cygwin.bat vs .bashrc

2004-08-08 Thread Igor Pechtchanski
On Sat, 7 Aug 2004, Erik Weibust wrote:

> I was reading in the Cygwin users guide.  Specifically in section 2.2.
>
> It mentions some env vars that can be set in the cygwin.bat: CYGWIN,
> PATH, HOME, TERM, and LD_LIBRARY_PATH.
>
> First, none were defined in my cygwin.bat.  Is that a problem?  There
> weren't any env vars defined.

All of the above variables are optional, and will get default values if
not defined.  The default for CYGWIN is empty, PATH will be the Windows
PATH (also adjusted in /etc/profile), the rules for HOME are in the
mailing list archives (most often it comes from /etc/passwd if valid),
TERM is set to "cygwin" for the CMD.EXE window, and LD_LIBRARY_PATH is
empty and I don't believe it's even used in Cygwin (Windows uses PATH to
search for DLLs).

> Second question, Is there any reason to define the vars in cygwin.bat
> over my .bashrc?

Some variables (e.g., CYGWIN) need to be set before a Cygwin process
loads.  Besides, there are some rc scripts that execute before ~/.bashrc
(in particular, /etc/profile for login shells).

> I don't like the behavior of the windows command window so I use putty
> to ssh into my machine.

Assuming you run Cygwin sshd, this will inherit the environment variables
you set for the ssh daemon using cygrunsrv.  Another alternative is using
"rxvt -display :0 -T Cygwin -e bash -li", which will use the native
Windows GUI with no need for sshd.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



C compiler cannot create executables

2004-08-08 Thread Al Bogner
I am new to cygwin and unfortunately I have to install _offline_ and 
have a slow dial-up connection on the other pc too. Someone 
recommended me to install online on another pc and copy the files 
to the other pc, but I downloaded 730MB till now, which I don't 
want to throw away.

So could you please help me to get compilation running. I tried lame 
and cdrtools and both end with a message like "C compiler cannot 
create executables".

When I search the net, I found two solutions for similar problems, 
package missing or compiler broken. Or maybe it is a simple right 
problem?

Which package could be missing? For my installed packages please see 
below. I installed "gcc (GCC) 3.3.1 (cygming special)", where can I 
download 2.95.3?

cygcheck -c
Cygwin Package Information
Package Version  Status
agetty  2.1-1OK
antiword0.34-2   OK
ash 20040127-1   OK
automake1.7.9-1  OK
automake-devel  1.8.5-1  OK
automake-stable 1.4p6-2  OK
base-files  2.6-1OK
base-passwd 1.1-1OK
bash2.05b-16 OK
bzip2   1.0.2-5  OK
cgoban  1.9.14-1 OK
cmake   2.0.2-1  OK
cpio2.5-3OK
crypt   1.1-1OK
cvs 1.11.6-3 OK
cygipc  2.03-2   OK
cygrunsrv   1.0-1OK
cygutils1.2.5-1  OK
cygwin  1.5.10-3 OK
cygwin-doc  1.3-7OK
cygwin-x-doc1.0.4-1  OK
ddd 3.3.9-1  OK
diffutils   2.8.7-1  OK
dpkg1.10.4-2 OK
expat   1.95.7-1 OK
expect  20030128-1   OK
figlet  2.2-1OK
file4.09-1   OK
fileutils   4.1-2OK
findutils   4.1.7-4  OK
flex2.5.4a-3 OK
fontconfig  2.2.2-1  OK
freetype2   2.1.5-1  OK
fvwm2.4.7-3  OK
gawk3.1.4-3  OK
gcc 3.3.1-3  OK
gcc-ada 3.3.1-3  OK
gcc-g++ 3.3.1-3  OK
gcc-g77 3.3.1-3  OK
gcc-gpc 3.3.1-3  OK
gcc-java3.3.1-3  OK
gcc-mingw   20030911-4   OK
gcc-mingw-ada   20031020-1   OK
gcc-mingw-core  20031020-1   OK
gcc-mingw-g++   20031020-1   OK
gcc-mingw-g77   20031020-1   OK
gcc-mingw-gpc   20031020-1   OK
gcc-mingw-java  20031020-1   OK
gcc-mingw-objc  20031020-1   OK
gcc-objc3.3.1-3  OK
gd  2.0.21-1 OK
gdb 20030919-1   OK
gdbm1.8.3-7  OK
gettext 0.14.1-1 OK
gettext-devel   0.14.1-1 OK
ghostscript 7.05-2   OK
ghostscript-base7.05-2   OK
ghostscript-x11 7.05-2   OK
glib2   2.4.2-1  OK
glib2-devel 2.4.2-1  OK
glib2-doc   2.4.2-1  OK
glib2-runtime   2.4.2-1  OK
gmp 4.1.2-1  OK
gnugo   3.4-1OK
gnuplot 3.8j.0-1 OK
GraphicsMagick  1.0.6-1  OK
grep2.5-1OK
gv  3.5.8-1  OK
gzip1.3.5-1  OK
help2man1.33.1-1 OK
ImageMagick 6.0.3-1  OK
initscripts 0.9-1OK
less381-1OK
lesstif 0.93.94-2OK
libart_lgpl 2.3.16-1 OK
libbz2_01.0.2-1  OK
libbz2_11.0.2-5  OK
libcharset1 1.9.2-1  OK
libfontconfig-devel 2.2.2-1  OK
libfontconfig1  2.2.2-1  OK
libfpx  1.2.0.9-1OK
libfreetype2-devel  2.1.5-1  OK
libfreetype26   2.1.5-1  OK
libgd-devel 2.0.21-1 OK
libgd2  2.0.21-1 OK
libgdbm 1.8.0-5  OK
libgdbm-devel   1.8.3-7  OK
libgdbm31.8.3-3  OK
libgdbm41.8.3-7  OK
libgettextpo0   0.14.1-1 OK
libGraphicsMagick-devel 1.0.6-1  OK
libGraphicsMagick0  1.0.6-1  OK
libiconv1.9.2-1  OK
libiconv2   1.9.2-1  OK
libIDL  0.8.3-1 

Re: C compiler cannot create executables

2004-08-08 Thread Igor Pechtchanski
On Sun, 8 Aug 2004, Al Bogner wrote:

> I am new to cygwin and unfortunately I have to install _offline_ and
> have a slow dial-up connection on the other pc too. Someone
> recommended me to install online on another pc and copy the files
> to the other pc, but I downloaded 730MB till now, which I don't
> want to throw away.

You *may* have to throw away some of the downloaded packages, but only if
you downloaded from a corrupt mirror.  Unfortunately, you haven't provided
the information necessary for this list to determine which mirror you used
or what the state of your system is (see 
for details).

BTW, if I understand correctly, the above paragraph was intended to ward
off the "blow away your Cygwin and reinstall" type of advice.  FWIW,
reinstalling doesn't involve redownloading the packages -- setup.exe will
use the local versions if present.

> So could you please help me to get compilation running. I tried lame
> and cdrtools and both end with a message like "C compiler cannot
> create executables".

This sounds like a message from configure.  Look in the config.log file
that is produced by configure for the exact error.  Also, check that a
simple "hello world" program can be compiled with gcc and executed.

> When I search the net, I found two solutions for similar problems,
> package missing or compiler broken. Or maybe it is a simple right
> problem?
>
> Which package could be missing? For my installed packages please see
> below. I installed "gcc (GCC) 3.3.1 (cygming special)", where can I
> download 2.95.3?

You're making an assumption here that may not be valid.  Please review the
problem reporting instructions at the link above, and see if config.log
sheds any light on this.

> cygcheck -c
> Cygwin Package Information
> Package Version  Status
> [snip]

Oh, and in the future, please *attach* the output of cygcheck, since
including it inline produces false positives on archive searches.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2 contains extra files?

2004-08-08 Thread Yitzchak Scott-Thoennes
I downloaded and installed
http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2

and was a bit surprised to see that it included files normally in the
w32api and mingw-runtime packages as well as a few other files (and
/bin/dumper.exe which is normally in the cygwin package was missing).

When I revert from a snapshot to the normal released version, I usually
just reinstall the cygwin package; it would be nice to have some
notification on the http://cygwin.com/snapshots page if more than that
is needed (unless this was just a one time snafu).

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: C compiler cannot create executables

2004-08-08 Thread Larry Hall
At 04:55 PM 8/8/2004, you wrote:
>On Sun, 8 Aug 2004, Al Bogner wrote:
>
>> I am new to cygwin and unfortunately I have to install _offline_ and
>> have a slow dial-up connection on the other pc too. Someone
>> recommended me to install online on another pc and copy the files
>> to the other pc, but I downloaded 730MB till now, which I don't
>> want to throw away.
>
>You *may* have to throw away some of the downloaded packages, but only if
>you downloaded from a corrupt mirror.  Unfortunately, you haven't provided
>the information necessary for this list to determine which mirror you used
>or what the state of your system is (see 
>for details).
>
>BTW, if I understand correctly, the above paragraph was intended to ward
>off the "blow away your Cygwin and reinstall" type of advice.  FWIW,
>reinstalling doesn't involve redownloading the packages -- setup.exe will
>use the local versions if present.
>
>> So could you please help me to get compilation running. I tried lame
>> and cdrtools and both end with a message like "C compiler cannot
>> create executables".
>
>This sounds like a message from configure.  Look in the config.log file
>that is produced by configure for the exact error.  Also, check that a
>simple "hello world" program can be compiled with gcc and executed.
>
>> When I search the net, I found two solutions for similar problems,
>> package missing or compiler broken. Or maybe it is a simple right
>> problem?
>>
>> Which package could be missing? For my installed packages please see
>> below. I installed "gcc (GCC) 3.3.1 (cygming special)", where can I
>> download 2.95.3?
>
>You're making an assumption here that may not be valid.  Please review the
>problem reporting instructions at the link above, and see if config.log
>sheds any light on this.
>
>> cygcheck -c
>> Cygwin Package Information
>> Package Version  Status
>> [snip]
>
>Oh, and in the future, please *attach* the output of cygcheck, since
>including it inline produces false positives on archive searches.


And, from what I can see, you're somehow missing the 'binutils' package.
You won't get very far with 'gcc' without it, even if it isn't the 
precise cause of the configure script complaint that you're getting
(which it may be but I can't tell from the information provided).



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2 contains extra files?

2004-08-08 Thread Christopher Faylor
On Sun, Aug 08, 2004 at 02:00:00PM -0700, Yitzchak Scott-Thoennes wrote:
>I downloaded and installed
>http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2
>
>and was a bit surprised to see that it included files normally in the
>w32api and mingw-runtime packages as well as a few other files (and
>/bin/dumper.exe which is normally in the cygwin package was missing).

dumper missing is a problem.  The extra files are not.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2 contains extra files?

2004-08-08 Thread Yitzchak Scott-Thoennes
On Sun, Aug 08, 2004 at 08:59:32PM -0400, Christopher Faylor <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 08, 2004 at 02:00:00PM -0700, Yitzchak Scott-Thoennes wrote:
> >I downloaded and installed
> >http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2
> >
> >and was a bit surprised to see that it included files normally in the
> >w32api and mingw-runtime packages as well as a few other files (and
> >/bin/dumper.exe which is normally in the cygwin package was missing).
> 
> dumper missing is a problem.  The extra files are not.

Ok, I can live with that.  It does seem to me that it creates a
problem further down the line: if one installs a snapshot and later
upgrades to the next version of the cygwin package, cygcheck would not
report anything to indicate that what is installed is in any way
non-standard.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2 contains extra files?

2004-08-08 Thread Christopher Faylor
On Sun, Aug 08, 2004 at 07:00:18PM -0700, Yitzchak Scott-Thoennes wrote:
>On Sun, Aug 08, 2004 at 08:59:32PM -0400, Christopher Faylor <[EMAIL PROTECTED]> 
>wrote:
>> On Sun, Aug 08, 2004 at 02:00:00PM -0700, Yitzchak Scott-Thoennes wrote:
>> >I downloaded and installed
>> >http://cygwin.com/snapshots/cygwin-inst-20040802.tar.bz2
>> >
>> >and was a bit surprised to see that it included files normally in the
>> >w32api and mingw-runtime packages as well as a few other files (and
>> >/bin/dumper.exe which is normally in the cygwin package was missing).
>> 
>> dumper missing is a problem.  The extra files are not.
>
>Ok, I can live with that.  It does seem to me that it creates a
>problem further down the line: if one installs a snapshot and later
>upgrades to the next version of the cygwin package, cygcheck would not
>report anything to indicate that what is installed is in any way
>non-standard.

If this creates a problem for you then it sounds like you definitely
should not be using snapshots.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Does the top function exist in cygwin?

2004-08-08 Thread Aldi Kraja
Hi,
I had the impression that I had seen the "top" function in cygwin. Does 
it exist in cygwin, or we use only the Windows Task Manager for 
evaluating the performance of different processes?
TIA,
Aldi

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Does the top function exist in cygwin?

2004-08-08 Thread Larry Hall
At 12:36 AM 8/9/2004, you wrote:
>Hi,
>I had the impression that I had seen the "top" function in cygwin. Does it exist in 
>cygwin, or we use only the Windows Task Manager for evaluating the performance of 
>different processes?
>TIA,
>Aldi


Ask the package search:




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Mos
I was happy that worked... but I do not why, when I reboot my computer, it 
works not !
(I change nothing !)

When the initdb was ok, the number of shared detected buffers was 1000 
(instead au 50 when fails).

Since I do not succeed in new initdb command.
Mos

At 14:09 08/08/04, you wrote:
Mos,
On Tue, Aug 03, 2004 at 09:41:34PM -0100, Mos wrote:
> I install PostgreSQL 7.4.2 today without changing Cygwin install.
> Initdb works fine : initialization is good !
I'm glad PostgreSQL is working for you, but it appears that there is a
Windows 9x problem lurking that may bite you in the future... :,(
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Redirect stdout from SSH

2004-08-08 Thread David E. Meier
Thank you Igor for your helpful explanation. The '-n' flag does the trick,
too. And looking at the man pages now just makes me wonder why I did not
RTFM well enough before! ;-)

Dave.

>
> By default, ssh is an interactive program, even if the program it invokes
> isn't.  Therefore, ssh contains some code that sets up standard input and
> its properties.  This code may cause some problems when invoked from a
> non-pty-aware application (such as a C# program).  You can redirect
> standard input, as you've already discovered, or simply use the '-n'
> option to ssh.
>   Igor
> --
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Happiness lies in being privileged to work hard for long hours in doing
> whatever you think is worth doing."  -- Dr. Jubal Harshaw
>
>



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



-bash:fork:Resource temporarily unavailable

2004-08-08 Thread Jamuna Chandran

Hi, 

I’ve installed cygwin 1.5.10 on Win Server 2003. 

Initially I couldn’t get sshd started with cygrunsrv 1.0.1.

 When I re-installed with cygrunsrv 0.98, I had no problems starting the
service. Still using cygwin 1.5.10.

I could establish a connection from a remote PC, but I couldn’t get the
following command to work:

$ ssh-keygen -i -f .ssh2/arkey.pub >> .ssh/authorized_keys
19244135 [main] -bash 3544 sync_with_child: child 1952(0x6DC) died
before initialization with status code 0x80
19250681 [main] -bash 3544 sync_with_child: *** child state waiting for
longjmp
-bash: fork: Resource temporarily unavailable

Can anyone tell me what’s wrong? Are there any known problems with
cygwin and Win Server 2003?

Regards,
Jamuna Chandran
Email:   [EMAIL PROTECTED]




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/