How to use openssl in cygwin

2006-06-05 Thread cxf
Hi,all: I installed the Cygwin which is the Full version. I write the Program as the following: #include int main() { EVP_MD_CTX md_ctx; unsigned int result_size; int rv; rv = EVP_SignInit(&md_ctx, EVP_sha1()); return rv; } It is very simple,then I compil

Re: rsh with command hangs, rlogin works

2006-06-05 Thread Lars Björnfot
Andrew DeFaria wrote: > Still nothing in /var/log/messages No need to reboot. Just make sure the syslogd is started, it should output somthing when it starts but nothing special when launching in.rshd. To make sure syslog works, just $ syslog hello $ tail /var/log/messages > Also, we must remem

Re: sshd: fork of unprivileged child failed

2006-06-05 Thread Robin Walker
--On 04 June 2006 19:06 -0500 René Berber wrote: Robin Walker wrote: --On 04 June 2006 16:27 -0500 René Berber wrote: Robin Walker wrote: In the Windows Application Log there are, for each failed connection attempt, entries of the form: sshd: PID : fatal: fork of unprivileged child fail

Re: sshd: fork of unprivileged child failed

2006-06-05 Thread Robin Walker
--On 04 June 2006 18:18 -0400 "Larry Hall (Cygwin)" wrote: Robin Walker wrote: In the Windows Application Log there are, for each failed connection attempt, entries of the form: sshd: PID : fatal: fork of unprivileged child failed. Did you try a recent snapshot? If, by "snapshot", you

Re: sshd: fork of unprivileged child failed

2006-06-05 Thread Larry Hall (Cygwin)
Robin Walker wrote: --On 04 June 2006 18:18 -0400 "Larry Hall (Cygwin)" wrote: Robin Walker wrote: In the Windows Application Log there are, for each failed connection attempt, entries of the form: sshd: PID : fatal: fork of unprivileged child failed. Did you try a recent snapshot? If

Re: How to use openssl in cygwin

2006-06-05 Thread Larry Hall (Cygwin)
cxf wrote: > Hi,all: >I installed the Cygwin which is the Full version. >I write the Program as the following: >#include >int main() >{ > EVP_MD_CTX md_ctx; > unsigned int result_size; > int rv; > rv = EVP_SignInit(&md_ctx, EVP_sha1()); > return rv; >}

Re: sshd: fork of unprivileged child failed

2006-06-05 Thread Robin Walker
--On 05 June 2006 08:23 -0400 "Larry Hall (Cygwin)" wrote: Robin Walker wrote: --On 04 June 2006 18:18 -0400 "Larry Hall (Cygwin)" wrote: Robin Walker wrote: In the Windows Application Log there are, for each failed connection attempt, entries of the form: sshd: PID : fatal: fork of unp

RE: converse of cygwin_attach_handle_to_fd()?

2006-06-05 Thread Dave Korn
On 04 June 2006 00:10, Samuel Thibault wrote: > Hi, > > cygwin_attach_handle_to_fd() lets create a cygwin fd on top of a windows > handle. When calling close() on the fd, the windows handle is closed > too. Is there any way to close the fd without closing the underlying > handle? (i.e. the conver

Please update SWIG to current version 1.3.29

2006-06-05 Thread Richard Graham
It would be helpful if the swig application distributed with cygwin was updated to the latest version (1.3.29). Thank you, Richard Graham __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --

Re: converse of cygwin_attach_handle_to_fd()?

2006-06-05 Thread Brian Ford
On Sun, 4 Jun 2006, Samuel Thibault wrote: > (i.e. the converse of cygwin_attach_handle_to_fd(), actually) get_osfhandle()? I'm not sure of its close semantics, though. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety de

Re: rsh with command hangs, rlogin works

2006-06-05 Thread Andrew DeFaria
Lars Björnfot wrote: Andrew DeFaria wrote: Still nothing in /var/log/messages No need to reboot. Just make sure the syslogd is started, it should output somthing when it starts but nothing special when launching in.rshd. To make sure syslog works, just $ syslog hello $ tail /var/log/messages

problem building ping

2006-06-05 Thread Socaciu, Dan \(Com US\)
I downloaded the ping source and I'm simply trying to build it. When I try to make it this is the error message i'm getting: $ make /bin/sh: mdtype: command not found /bin sh: ostype: command not found + '[' '!' -d - ']' ++ find Makefile -newer -/Makefile -print + '[' -n Makefile ']' + make - --u

RE: problem building ping

2006-06-05 Thread Dave Korn
On 05 June 2006 16:01, Socaciu, Dan (Com US) wrote: > I downloaded the ping source and I'm simply trying to build it. > When I try to make it this is the error message i'm getting: > > $ make You aren't doing it right at all. Use setup.exe to install the source for ping; use the build script

Re: window resizing not updating COLUMNS and LINES

2006-06-05 Thread mwoehlke
Ehud Karni wrote: On Wed, 31 May 2006 18:47:24 -0500, mwoehlke wrote: 'export COLUMNS' is needed for 'printenv COLUMNS' to work, since in the printenv case you need the variable to be transferred to the child printenv process. Ok, that makes sense, although my understanding is that if the chil

Re: sshd: fork of unprivileged child failed

2006-06-05 Thread Larry Hall (Cygwin)
Robin Walker wrote: --On 05 June 2006 08:23 -0400 "Larry Hall (Cygwin)" wrote: Robin Walker wrote: --On 04 June 2006 18:18 -0400 "Larry Hall (Cygwin)" wrote: Robin Walker wrote: In the Windows Application Log there are, for each failed connection attempt, entries of the form: sshd: PID xxx

w32-shell-execute function definition is void

2006-06-05 Thread Mark Fisher
i cannot seem to be able to use/find w32-shell-execute. i'm using emacs v21.3.50.1, but it was the same under a previous version (v21.2.13). i've tried moving my .emacs and starting up clean, but it is just always comes back with the function definition being void if i try to excecute anything th

Re: sshd: fork of unprivileged child failed

2006-06-05 Thread Robin Walker
--On 05 June 2006 14:23 +0100 Robin Walker wrote: Instant success with 20060604 version of cygwin1.dll I spoke too soon. When I restored "UsePrivilegeSeparation yes" and restarted Windows, ssh connections failed again. This time the client log was: C:\Documents and Settings\rdhw>ssh -vv

Populating /var/run/utmp?

2006-06-05 Thread mwoehlke
I would like to use 'w' on my Cygwin installation. I found http://cygwin.com/ml/cygwin/2001-09/msg01177.html, but it only seems to work on one of my computers: $ echo $CYGWIN binmode tty ntsec $ w 13:03:11 up 5 days, 22:30, 0 users, load average: 0.00, 0.00, 0.00 USER TTYLOGIN@

Re: Populating /var/run/utmp?

2006-06-05 Thread Brian Dessent
mwoehlke wrote: > I would like to use 'w' on my Cygwin installation. I found > http://cygwin.com/ml/cygwin/2001-09/msg01177.html, but it only seems to > work on one of my computers: > > $ echo $CYGWIN > binmode tty ntsec > $ w > 13:03:11 up 5 days, 22:30, 0 users, load average: 0.00, 0.00, 0.

Re: Populating /var/run/utmp?

2006-06-05 Thread mwoehlke
Brian Dessent wrote: mwoehlke wrote: I would like to use 'w' on my Cygwin installation. I found http://cygwin.com/ml/cygwin/2001-09/msg01177.html, but it only seems to work on one of my computers: [snip] Are you sure you're not trying to set CYGWIN=tty after the first shell has already initia

Re: rsh with command hangs, rlogin works

2006-06-05 Thread Lars Björnfot
Andrew DeFaria wrote: > Apparently /dev isn't a file or directory on 2003! That's very strange as syslogd-config creates the dir and then tests if it exists. > Executing syslog hello in another window just gives me a command > prompt back. Nothing gets written to /var/log/messages! Normal with n

Rxvt resize problem

2006-06-05 Thread Cheetah
I just upgraded my cygwin rxvt package from what I think was a 2.7.10-something version to 20050409-2, and am now experiencing some problems with terminal resizing. Prior to the upgrade, changing the font size in rxvt would occaisonally lead to it repositioning the window off screen, but only ver

[ANNOUNCEMENT] Updated: apr1-1.2.7-1 and libapr1, aprutil1-1.2.7-1 and libaprutil1

2006-06-05 Thread Max Bowsher
APR and APR-util, portability and miscellaneous utility libraries, have been updated in the Cygwin net distribution to version 1.2.7-1. This is a routine upstream patch release update. Max Bowsher. -- To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/

Warning to use mkpasswd

2006-06-05 Thread Mister Fred Ma
Using an administrator account, I installed cygwin & sshd for all users on Windows XP. The administrator account is local to the machine, while my nonadministrator account is a domain power user account. When I launch a cygwin bash shell as administrator, things are fine. When I launch it as no

Re: Warning to use mkpasswd

2006-06-05 Thread Larry Hall (Cygwin)
Mister Fred Ma wrote: Using an administrator account, I installed cygwin & sshd for all users on Windows XP. The administrator account is local to the machine, while my nonadministrator account is a domain power user account. When I launch a cygwin bash shell as administrator, things are fine.