delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/26/05:57:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 26 Oct 2005 11:56:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running ssh in background [solution/patch]
Message-ID: <20051026095656.GE15340@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F0D7281DAB048B438E8F5EC4ECEFBDDC506E10 AT esmail DOT elsag DOT de>
Mime-Version: 1.0
In-Reply-To: <F0D7281DAB048B438E8F5EC4ECEFBDDC506E10@esmail.elsag.de>
User-Agent: Mutt/1.4.2i

On Oct 26 11:40, J?rg Schaible wrote:
> My solution was to build ssh as Windows console app:
> [...]
> +sshw$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS)
> +       $(LD) -mwindows -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
> +
> [...]
> Two questions:
> 
> 1/ Corinna, could you provide this version with next OpenSSH releases, too? Setting the appropriate property in the Subversion config to this sshw.exe, makes the SVN Clients in the Windows worlds happy. Neither Subclipse nor RapidSVN show these steadily popping up console windows anymore, nor does the command line version of Subversion behave differently.

Sorry, no.  It's nothing I'm willing to support.

> 2/ If linking a normal console app as Windows console app does not behave differently, why is it not the default? What's the real difference for Cygwin? It is still a Cygwin app and is normally listed in the Cygwin processes. I cannot say too much about the pipe and forking stuff, but something like "tar cf - *.sh | sshw spk1 tar xf -" works just normal.

Just open a console window and call "ssh".  What you see is the help
text.  Now try the same with "sshw".  What do you see?  The difference
is that the sshw process doesn't connect to the console.  That's nothing
I'd want in the Cygwin distro.

It seems easy enough to build ssh this way if that's what you need.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019