Mail Archives: cygwin/2001/07/30/19:22:46
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 -