Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010730182925.0227b618@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 30 Jul 2001 18:32:28 -0400 To: "Fergus on Linux" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Strange problem after re-installation In-Reply-To: <000901c1193e$5df9c000$457b1f3e@LEPER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 05:26 PM 7/30/2001, Fergus on Linux wrote: >Following an unrelated problem with Windows I have re-installed Windows 98 >on a clean machine. My user name has no spaces (previously it did have). I >installed Cygwin not from the net but from a Zipdisk containing a net >download from about 2 weeks ago. This has installed successfully in the >past. Two key files in /latest/cygwin are > > 64,618 15/07/01 6:32 newlib-man-20001118.tar.gz >727,185 15/07/01 6:32 cygwin-1.3.2-1.tar.gz > >if this helps identify the system. > >The re-installation appeared to go OK but I have found that > > echo $SHELL >gives > /bin/sh > >(rather than the /bin/bash that I was expecting and got in the past). By default, all users are assigned /bin/sh by default. If you want /bin/bash instead, edit your /etc/passwd. This is not new but may have been something you changed in your previous installation long enough ago that you don't remember it. >Also, >compiled C programs that make system() calls result in nothing being done >(or, nothing being seen to be done). This is observed in numerous contexts, >but the simplest is the following program, test.c:- > >#include >main(){ > system("ls -l"); > exit(0); >} > >which does not complain when run, but the prompt returns with no 'ls' >output. This is true in the default Cygwin terminal window or in an rxvt >window, under 'sh' or 'bash'. Works fine for me on W2K and bash. Perhaps you need to inspect your environment with cygcheck -s -r -v and/or your setup.log. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/