delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/13/17:43:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 13 Jan 2003 17:42:30 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: a12 <a12 AT swipnet DOT se>
cc: cygwin AT cygwin DOT com
Subject: Re: SSH start in .bat ?
In-Reply-To: <3E233617.C9D49A21@swipnet.se>
Message-ID: <Pine.GSO.4.44.0301131736150.10883-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

This really isn't a correct mailing list for this question, but, since
it's been asked here before, and will, undoubtedly, be asked here again, I
will pretend it's about "the interaction of windows programs and Cygwin
programs" and answer it:

At a command (DOS) prompt, type "help start".

As an alternative, consider starting windows programs from bash and
backgrounding them (e.g., "vncviewer.exe &").
	Igor

On Mon, 13 Jan 2003, a12 wrote:

> Igor,
> Thank you for your quick reply.
>
> It works perfectly.
>
> Now I would like to incorporate a start of vncviewer.exe after the bash
> command into the same .bat file. I have tried:
>
> C:
> chdir C:\Program Files\RealVNC
> vncviewer.exe
> chdir C:\cygwin\bin
> bash --login -c "ssh -T -L 5901:derqjzp:5900 -C -N isoft AT derqjzp"
>
> but this start vncviewer, and waits until I enter hostid. bash
> is never started.
>
> Any hints here ?
>
> Pardon me if this question does not belong to this mailing
> list.
>
> Igor Pechtchanski wrote:
>
> > On Mon, 13 Jan 2003, a12 wrote:
> >
> > > Hello gurus,
> > >
> > > For the time being I start SSH manually:
> > > open DOS window
> > > C:\cygwin\cygwin.bat
> > > ssh -T -L 5901:derqjzp:5900 -C -N isoft AT derqjzp
> > > <isoft's password>
> > >
> > > I have tried to include the ssh command above in cygwin.bat but
> > > obviously bash does not read it.
> > > How do I make bash to read the ssh command in cygwin.bat ?
> >
> > 'bash --login -c "ssh -T -L 5901:derqjzp:5900 -C -N isoft AT derqjzp"'
> > Try "man bash" for details.
> >         Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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