delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/24/16:22:50

Date: Thu, 24 Jun 1999 16:22:48 -0400
Message-Id: <199906242022.QAA24162@delorie.com>
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Mike Fabian <mike DOT fabian AT it-mannesmann DOT de>
To: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <19990624180417.5688.rocketmail@web104.yahoomail.com> (message
from Earnie Boyd on Thu, 24 Jun 1999 11:04:17 -0700 (PDT))
Subject: Re: how to get a new window for bash?
Reply-to: mike DOT fabian AT it-mannesmann DOT de
References: <19990624180417 DOT 5688 DOT rocketmail AT web104 DOT yahoomail DOT com>

>>>>> "Earnie" == Earnie Boyd <earnie_boyd AT yahoo DOT com> writes:

thank you very much for your response.

>>  when I start the cygwin-bash with the cygnus.bat batch file, I get
>> a cmd.exe-lookalike window where bash is running in.

Earnie> The cygnus.bat file should start the bash executable for you.

Yes of course, it does that always.

>>  After typing `bash -i', I of course get a new sub shell in the
>> same window.
>> 
>> Is it possible to make the sub shell run in its own cmd.exe-like
>> window? How to do that?

Earnie> Yes.  Create a shortcut and modify the properties of the
Earnie> shortcut.

Then I can start it by clicking on the shortcut, but not from within a
bash, i.e. I can't start it automatically from a shell-script.

>>  (I know that I can get a new window using rxvt, but that works
>> only on a machine with an X-server.).

Earnie> You wanna bet. ;^) Check the archives for the location of an
Earnie> rxvt that uses the native Windows to operate.

Thank you, this solved my Problem!

In case you wonder why I absolutely wanted to do something like this:

I had  to customize  some pull down  menus of  the tool SNiFF  3.1 (by
Takefive-software).  To  customize such a  pull down menu, one  has to
write a shell script, which will be started in a sub shell from within
the terminal  window of SNiFF.  SNiFF  3.1 runs a  cygwin-bash in it's
terminal-window, but this terminal-window is severely broken.  Command
line editing doesn't  work and especially if the  sub shell needs user
input,  the input isn't  echoed by  the SNiFF  terminal. This  is very
confusing to the users and it is difficult to type correctly.

Therefore I  needed a way to escape  from a shell script  running in a
sub shell running  in the SNiFF terminal emulator  into a new terminal
emulator which is not so broken and can accept user input correctly.

Yours sincerly,

Mike Fabian

-- 
Mike Fabian   (mike DOT fabian AT it-mannesmann DOT de)
Mannesmann Datenverarbeitung 
Mathematische/Technische Systeme Verfahrenstechnik
Rehhecke 50, D-40885 Ratingen
Tel.: +49-2102 97 1763, Fax: +49-2102 97 1345






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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