public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mike Fabian <mike.fabian@it-mannesmann.de>
To: cygwin@sourceware.cygnus.com
Subject: Re: how to get a new window for bash?
Date: Wed, 30 Jun 1999 22:10:00 -0000	[thread overview]
Message-ID: <13255.947490366.11@NO-ID-FOUND.mhonarc.org> (raw)
In-Reply-To: <19990624180417.5688.rocketmail@web104.yahoomail.com>

>>>>> "Earnie" == Earnie Boyd <earnie_boyd@yahoo.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.fabian@it-mannesmann.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@sourceware.cygnus.com

  parent reply	other threads:[~1999-06-30 22:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-24 11:04 Earnie Boyd
1999-06-24 12:29 ` Mike Fabian
1999-06-30 22:10 ` Mike Fabian [this message]
1999-06-30 22:10 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-06-30 22:10 Mike Fabian
1999-06-24 13:42 Earnie Boyd
1999-06-30 22:10 ` Earnie Boyd
     [not found] <199906241636.MAA18806@smv14.iname.net>
1999-06-24 12:12 ` Ken Coleman
1999-06-30 22:10   ` Ken Coleman
1999-06-24  9:35 Mike Fabian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13255.947490366.11@NO-ID-FOUND.mhonarc.org \
    --to=mike.fabian@it-mannesmann.de \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).