delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/05/20:56:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <01a501bfe6e6$31af45a0$64251004@homepc.freedsl.com>
Reply-To: "Dave Arnold" <avr_fan AT mailandnews DOT com>
From: "Dave Arnold" <avr_fan AT nettaxi DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Cc: "mail and news" <avr_fan AT mailandnews DOT com>
Subject: Re: Delete a file and start a Windows application
Date: Wed, 5 Jul 2000 18:04:51 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

hi,

regarding getting back to command line. Well, I know that programs run under
real UNIX
OS are running under a multitask supported environment so you could run
several
processes from a single shell window by putting those processes in the
background.
You can do this on unix by typing ctrl-z(^z) to stop the foreground process
and typing
bg to run it in the background. This way the apps that are busy won't tie up
the command line.

DOS doesn't have a way to do this. This is perhaps a limiting factor for
cygwin bash
because it runs on top of dos.  However, cygwin developers may implement
this support
sometime in the future...who knows...those cygwin guys are pretty creative!

Another key point for you Paul is that some when some unix apps are run,
they will read input from the standard input "stdin" stream which is
basically
the command prompt, so when they are run you will see the command
prompt go away but it wont be entirely dead because you'll notice you can
type stuff and it echos back to the screen.  In most cases like this, the
app is actually
reading from stdin and you can send a quit flag to it usually with a ctrl-d
(^d) key press.
Or you can try ctrl-c which should kill the current foreground process.

I have noticed that sometimes an app will hang ontop of cygwin in which case
I
couldn't kill it or get back to the bash prompt and had to kill the dos
window.
sometimes that happens but not often enough for me to be upset at cygwin.
This could also be happening to you.

goodluck,
./dave

-----Original Message-----
From: Chris Faylor <cgf AT cygnus DOT com>
To: cygwin AT sourceware DOT cygnus DOT com <cygwin AT sourceware DOT cygnus DOT com>
Date: Wednesday, July 05, 2000 3:27 PM
Subject: Re: Delete a file and start a Windows application


>On Wed, Jul 05, 2000 at 05:52:56PM -0230, Paul Y. Peng wrote:
>>1. How can I delete a file in such a way that it is actually moved
>>into recycle bin and can be restored later, say, by using Windows
>>Explorer?
>
>Cygwin doesn't do this.  Cygwin is a UNIX emulation.  It doesn't know
>about recycle bins.
>
>>2. Why can't I get bash command line prompt back when certain Windows
>>applications are launched from bash command line?
>
>Because that is the way things work under UNIX.
>
>cgf
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>


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