delorie.com/archives/browse.cgi | search |
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: | <600B91D5E4B8D211A58C00902724252C01BC02A3@piramida.hermes.si> |
From: | David Balazic <david DOT balazic AT hermes DOT si> |
To: | cygwin AT cygwin DOT com, "'Max Bowsher'" <maxb AT ukf DOT net> |
Subject: | RE: Directory problems after fresh install of v1.3.22-1 |
Date: | Tue, 5 Aug 2003 13:58:17 +0200 |
MIME-Version: | 1.0 |
X-Virus-Scanned: | by amavisd-new at hermes.si |
> ---------- > From: Max Bowsher[SMTP:maxb AT ukf DOT net] > Sent: 5. avgust 2003 13:55 > To: David Balazic; cygwin AT cygwin DOT com > Subject: Re: Directory problems after fresh install of v1.3.22-1 > > David Balazic wrote: > > Here it is : > > ( cygcheck -s -v -r ) > > Hmm. That's weird. > > Does X:\cygwin\etc\profile exist? > Yes. Here are the contents : # Some resources... # Customizing Your Shell: http://www.dsl.org/cookbook/cookbook_5.html#SEC69 # Consistent BackSpace and Delete Configuration: # http://www.ibb.net/~anne/keyboard.html # Setup some default paths. Note that this order will allow user installed # software to override 'system' software # If you wish to change the path on a user by user basis, it is recommended you # edit ~/.bashrc # If you wish to change the path for all users, it is recommended you edit # /etc/bash.bashrc export PATH="/usr/local/bin:/usr/bin:/bin:$PATH" # Set the user id export USER="`id -un`" # Here is how HOME is set, in order of priority, when starting from Windows # 1) From existing HOME in the Windows environment, translated to a Posix path # 2) from /etc/passwd, if there is an entry with a non empty directory field # 3) from HOMEDRIVE/HOMEPATH # 4) / (root) # If the home directory doesn't exist, create it. if [ ! -d "$HOME" ]; then mkdir -p "$HOME" # copy skeleton files cd /etc/skel for f in `/bin/find . -type f`; do fDest=`echo $f | sed -e 's/^\.//g'` if [ ! -e "$HOME$fDest" -a ! -L "$HOME$fDest" ]; then cp "$f" "$HOME/$fDest" fi done fi # run all of the profile.d scripts for i in /etc/profile.d/*.sh ; do if [ -f $i ]; then . $i fi done # default to unix make mode export MAKE_MODE=unix # it is recommended that cvs uses ssh for it's remote shell environment export CVS_RSH=/bin/ssh # Patches to Cygwin always appreciated ;) # export CVSROOT=:pserver:anoncvs AT sources DOT redhat DOT com:/cvs/src # Set a HOSTNAME variable export HOSTNAME=`hostname` # set a default prompt of: user AT host current_directory export PS1='\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' # uncomment to use the terminal colours set in DIR_COLOR # eval `dircolors -b /etc/DIR_COLOR` # default to removing the write permission for group and other # (files normally created with mode 777 become 755; files created with # mode 666 become 644) umask 022 # make sure we start in home cd "$HOME" > Max. > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |