delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/14/16:51:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
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: <382F2E80.9228C37A@topic.com.au>
Date: Mon, 15 Nov 1999 08:49:52 +1100
From: Geoff Appleby <geoff AT topic DOT com DOT au>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: problem with bash on cygwin cd

Hi,

I'm having a strange problem with the CD version of cygwin.
In the old installation (B20.1), a shortcut ran a batch file that
then started bash.
When bash started it would then run the .profile that it was supposed
to.

The batch file was as follows:

@echo off
set make_mode=unix
set home=/root
set tmp=/tmp
/bin/bash

The .profile is:

export PS1="a funky prompt here"
export TERM=linux
export PATH=/bin:/usr/bin:/usr/local/bin:$PATH
alias ls="ls --color"


This all worked fine.  NOw, the standard shortcut
points directly to bash, so i set a global variable to point at
HOME.
When i start bash now, the first line is:
: No such file or directoryprofile

And it doens't run a single thign in the file.
This also happens when I go in normally and type "source .profile".
I've tried to tell it to use the batch file, this doesn't fix it.
I've typed in each line in the .profile manually, and they all worked.

Any one got any ideas?

(And it can't be a clash between different versions of cygwin, I
reinstalled windows before installing the cd)
I'm running NT4.0 Server, SP5.

Oh, and btw, a seperate one, I tried to generate a password file.
> mkpasswd -d
and the output was:
Everyone:*:0:0:::
SYSTEM:*:18:18:::
NetUserEnum() failed with 2

any ideas?

Thanks,
--Geoff

-- 
                                   (__)
                                   (oo)
                            /-------\/
Geoff Appleby              / |     ||              geoff AT topic DOT com DOT au
Internet Engineer         *  ||----||             Ph: +61 2 6257 7111
tSA Consulting Group         ^^    ^^            Fax: +61 2 6257 7311

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