Re: setup.exe: How to install sources from the command line?

2010-09-27 Thread Al
 When I open the shell for the first time, the user directory is
 created. Is there a trigger to reach this without manually opening a
 login shell?

 The check is in '/etc/profile'.  It's just checking if $HOME exists.


Thank you, that's it. I try what's happen if I source /etc/profile
from a non login shell bash skript.

Al

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setup.exe: How to install sources from the command line?

2010-09-27 Thread Al
 Google wasn't my friend here. I managed to install packages with the
 --category and --packages option of setup.exe.  I didn't find out how
 to install sources.

As there is no answer I assume it is not possible to install source
packages with setup.exe from the windows commandline. So I was looking
for an official way to install source packages from within Cygwin.
Most hits point to a tool called apt-cyg.
http://code.google.com/p/apt-cyg/

This is a good example as the blind cygwin user is know to this list:

http://superuser.com/questions/40545/upgrading-and-installing-packages-through-the-cygwin-command-line

Still apt-cyg doesn't seem the official approach as it hosted on google.

I plan to fetch source packages by simple use of wget if there isn't a
more official and specific way.

Al

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setup.exe: How to install sources from the command line?

2010-09-27 Thread Al
For future readers of this thread.

 When I open the shell for the first time, the user directory is
 created. Is there a trigger to reach this without manually opening a
 login shell?

 The check is in '/etc/profile'.  It's just checking if $HOME exists.

This does the trick from a batch script:

  P:\cygwin\bin\bash.exe -c source /etc/profile

Al

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



setup.exe: How to install sources from the command line?

2010-09-26 Thread Al
Hi,

Google wasn't my friend here. I managed to install packages with the
--category and --packages option of setup.exe.  I didn't find out how
to install sources.

Thanks

Al

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setup.exe: How to install sources from the command line?

2010-09-26 Thread Al
2010/9/26 Al oss.el...@googlemail.com:
 Hi,

 Google wasn't my friend here. I managed to install packages with the
 --category and --packages option of setup.exe.  I didn't find out how
 to install sources.


There is a second cygwin setup skripting question.

When I open the shell for the first time, the user directory is
created. Is there a trigger to reach this without manually opening a
login shell?

I tried to open the shell from within a .bat script to trigger the
user directory generation.

 P:\cygwin\bin\bash.exe -

It blocked the batch script and took no additional --exec paramteter
to exit on it's own.

Al

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setup.exe: How to install sources from the command line?

2010-09-26 Thread Larry Hall (Cygwin)

On 9/26/2010 5:56 PM, Al wrote:

When I open the shell for the first time, the user directory is
created. Is there a trigger to reach this without manually opening a
login shell?


The check is in '/etc/profile'.  It's just checking if $HOME exists.

--
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?


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple