This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Copying skeleton files." (redux?) & bash not exiting.


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 <http://cygwin.com/problems.html>
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]