Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: 31 May 2000 06:35:48 +0000 Discarded-X400-MTS-Extensions: (43) (12) (2) (135) (115) (5) (6) (3) From: "Michael Ring" To: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: cygwin Importance: normal Autoforwarded: FALSE Message-Id: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Wed_May_31_08:35:49_2000_L1_251" Original-Encoded-Information-Types: Undefined, (1) (0) (10021) (7) (1) (0) (6), (1) (0) (10021) (7) (1) (0) (1) --Wed_May_31_08:35:49_2000_L1_251 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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 --Wed_May_31_08:35:49_2000_L1_251 Content-type: application/octet-stream Content-transfer-encoding: base64 ZWNobyAiSSBhbSBub3cgaW4gLmJhc2hyYyIKCgplY2hvICJJIGFtIGxlYXZpbmcgLmJhc2 hyYyBub3ciCg== --Wed_May_31_08:35:49_2000_L1_251 Content-type: application/octet-stream Content-transfer-encoding: base64 ZWNobyAiSSBhbSBub3cgaW4gcHJvZmlsZSIKCgplY2hvICJJIGFtIGxlYXZpbmcgcHJvZm lsZSBub3ciCg== --Wed_May_31_08:35:49_2000_L1_251 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --Wed_May_31_08:35:49_2000_L1_251--