login shell and .bashrc

Ling F. Zhang lingfengz@yahoo.com
Sat Aug 2 07:33:00 GMT 2003


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/



More information about the Cygwin mailing list