This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: cygwin
- To: "cygwin at sourceware dot cygnus dot com" <cygwin at sourceware dot cygnus dot com>
- Subject: Re: cygwin
- From: "Michael Ring" <Michael dot Ring at t-mobil dot de>
- Date: 31 May 2000 06:35:48 +0000
- Autoforwarded: FALSE
- Discarded-X400-MTS-Extensions: (43) (12) (2) (135) (115) (5) (6) (3)
- Original-Encoded-Information-Types: Undefined, (1) (0) (10021) (7) (1) (0) (6), (1) (0) (10021) (7) (1) (0) (1)
- X400-Content-Identifier: C5082IMH1UQPL
- X400-Content-Type: P2-1988 (22)
- X400-MTS-Identifier: [/PRMD=DTM/ADMD=DBP/C=DE/;76EEFD5A11D436CE00AAF789]
- X400-Originator: Michael.Ring@t-mobil.de
- X400-Received: by mta MB400-SMTP in /PRMD=DTM/ADMD=DBP/C=DE/;Relayed ; 31 May 2000 06:35:49 +0000
- X400-Received: by mta MB400-DXCW04 in /PRMD=DTM/ADMD=DBP/C=DE/;Relayed ; 31 May 2000 06:35:48 +0000
- X400-Recipients: cygwin@sourceware.cygnus.com
On Wed, 31 May 00 04:41:38 +0100, you wrote:
>Hi,
>
>I use cygwin with w98.
>My question: how to install a thing like "/etc/profiles" or ~/.bashrc ?
Start bash; then type:
mkdir /etc (This might fail if /etc already exists)
cd /etc
cygpath -w /etc
You will now have the Windows directory path of /etc
You can then copy your profile (!! without 's' !!) file with explorer
or create a new profile from within bash.
now issue the command
ls -l /etc
from within your bash shell. You should see your profile and perhaps other files
like termcap.
Please make sure that profile does not end with the extension .txt or .doc!
now type:
cat /etc/profile
does the result look like a plain textfile ? Fine, go on
now type:
sh /etc/profile
if this works without an error you are done with profile.
Now type:
cd
cygpath -w ~
This sequence of commands has brought you in your home-directory, You now also
have the Windows Path to your home.
You can now test if there really is a .bashrc:
ls -l .bashrc
or
ls -l ~/.bashrc
>I want automatically some aliases to be loaded at startup.
>
>The bash uses c:\ as root (I assume: there lies the .bash_history), but
>it won't help when I place a '.bashrc' there (written with lower case).
>
Just in case, I have included a .bashrc and a profile as an attachment to this
mail. If they fail, you are really in trouble.
>Please excuse my bad english,
Same with me ;-)
Michael Ring
>
>greetings
>Dietmar
Binary data
Binary data
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com