delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/02/03:25:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20030802072446.35583.qmail@web14207.mail.yahoo.com>
Date: Sat, 2 Aug 2003 00:24:46 -0700 (PDT)
From: "Ling F. Zhang" <lingfengz AT yahoo DOT com>
Reply-To: lingfengz AT yahoo DOT com
Subject: login shell and .bashrc
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I still don't quite understand the different b/t bash
and bash --login....but I know the latter is why my
.bashrc does not run when I run cygwin using this
batch file:
==============
@echo off
SET DISPLAY=127.0.0.1:0.0
SET CYGWIN_ROOT=\cygwin
SET
PATH=%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%;.

REM I use exceed as my xserver:
start /D"C:\Program
Files\Hummingbird\Connectivity\8.00\Exceed\" exceed

run xterm -sb -bg rgb:20/20/20 -fg rgb:ff/ff/00
-geometry 90x65 -T 'X-Terminal' -e /usr/bin/bash
--login -i
=============

is the --login option even necessary? I simply put it
there for the sake of keeping it consistent with
cygwin.bat anyway...

thank you

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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