delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/25/21:43:13

From: parkerrd AT hotmail DOT com (Ron Parker)
Subject: Bash exiting prematurely
25 Oct 1998 21:43:13 -0800 :
Message-ID: <19981026050756.6966.qmail.cygnus.cygwin32.developers@hotmail.com>
To: cygwin32-developers AT cygnus DOT com

On my machine I have the following defined in /etc/profile:
dtou=()
{
    tr -d \\r <$1 >$1.dtou;
    mv $1.dtou $1
}
wp=()
{
    ( cd `dirname $1`;
    cmd /c start /wait wordpad `basename $1` );
    dtou $1
}

Also CYGWIN32='binmode tty ntea notitle'.

If I perform these commands:
$ bash --login
$ touch junk
$ wp junk&

and then close wordpad, I will see a logout message in my Bash session 
and it will exit.  This happens both in the B20alpha4 binary 
distribution and in a private build I have made locally.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- Raw text -


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