X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47896DAC.6030606@cygwin.com> Date: Sat, 12 Jan 2008 20:47:24 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "Copying skeleton files." (redux?) & bash not exiting. References: <4781C4BB DOT 6040206 AT swiz DOT ca> <47891C35 DOT 1090201 AT swiz DOT ca> In-Reply-To: <47891C35.1090201@swiz.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com unsolicited wrote: > Help with the below. > > Please. > > unsolicited wrote, On 1/07/08 1:20 AM: >> No doubt these questions have been asked before. However I have not >> found the answer. If someone would kindly send me a link to the >> answers, I'd appreciate it. >> >> ----- >> <<<<< >> C:\cygwin\bin> bash -l -i >> Copying skeleton files. >> These files are for the user to personalise >> their cygwin experience. >> >> These will never be overwritten. >> >> >> C:\cygwin\bin> >> <<<<< >> >> What up? >> >> Background: >> >> I was using cygwin happily, but haven't for some time. >> >> Evidently, along the way, I set my XP HOME environment variable to >> I:\me, where I: is a mapped (non-local) network drive on all but 1 >> computer. Local as in mapping to my own machine. Here 'net share >> Data=D:\Data', 'net use I: \\mymachine\data'. >> >> As per mailing list / google search, I have changed /etc/password 'me' >> line from /home/me to /cygdrive/i/me. >> >> But the above still happens. Check out the bash man page, the INVOCATION section, for a list of script files that are searched and invoked during bash start up. Take a look at what's in those. If you have to, put 'set -x' in them to see what's happening when they are invoked (or if they are invoked). That might give you a clue. >> (1) How do I have my home directory on a network share, so I get the >> same environment regardless of the machine I'm running cygwin on. >> >> [One list message indicates home directory in passwd is not paid >> attention to, so I tried deleting it, i.e. :: - same result.] >> >> If I 'set home=/home/me' before calling bash -l -i, things work as >> expected. If I only 'bash -i' things work as expected. Including the >> ability to cd /cygdrive/i/me. If I'm in that directory and call 'bash >> -i', my .bashrc runs. >> >> >> (2) exit at $ hangs bash? >> >> bash-3.2$ exit {or Ctrl-D} >> exit >> _ >> >> And that's it. bash hangs. I have to end process bash. >> >> Suggestions? Did you start another process from this shell? If not, perhaps it's time we see your cygcheck output and a clear set of steps that reproduce the problem. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/