delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/19:22:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <fergus AT bonhard DOT uklinux DOT net>, <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Strange problem after re-installation
In-Reply-To: <000901c1193e$5df9c000$457b1f3e@LEPER>
Mime-Version: 1.0

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 <stdio.h>
>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/

- Raw text -


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