* How to set system PATH for cygwin on nt?
@ 2002-05-02 21:40 Dave Bodenstab
2002-05-02 22:55 ` Michael A Chase
0 siblings, 1 reply; 2+ messages in thread
From: Dave Bodenstab @ 2002-05-02 21:40 UTC (permalink / raw)
To: cygwin
My background is Unix and I'm *very* new with NT... so this has,
I'm sure, a very simple solution.
Trying to get inetd to work, the doc's say to set the system PATH.
How? What file contains the settings? Somehow, NT pickeds up
the PATH I had in my autoexec.bat when I open a DOS window...
but the PATH in the cygwin environment is different -- and, of
course, is not set at the time initd is started.
Since I couldn't find how to set the system PATH properly, I just
copied the cygwin.dll to \winnt\, so now inetd starts.
When I attempt a telnet from another system, I get the login prompt.
I enter Administrator and the password and I get a message that
I'm logged in, but on the target system a message pops up saying that
the application failed to start. I'm hoping that this is related
to this PATH setting also.
Thanks from a real newbie!
Dave Bodenstab
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to set system PATH for cygwin on nt?
2002-05-02 21:40 How to set system PATH for cygwin on nt? Dave Bodenstab
@ 2002-05-02 22:55 ` Michael A Chase
0 siblings, 0 replies; 2+ messages in thread
From: Michael A Chase @ 2002-05-02 22:55 UTC (permalink / raw)
To: Dave Bodenstab, cygwin
On Thu, 02 May 2002 23:26:43 -0500 Dave Bodenstab <imdave1@mindspring.com> wrote:
> My background is Unix and I'm *very* new with NT... so this has,
> I'm sure, a very simple solution.
>
> Trying to get inetd to work, the doc's say to set the system PATH.
> How? What file contains the settings? Somehow, NT pickeds up
> the PATH I had in my autoexec.bat when I open a DOS window...
> but the PATH in the cygwin environment is different -- and, of
> course, is not set at the time initd is started.
WinNT and its decendents keep environment variables in the registry. One
set for everybody and separate sets of additional variables for each user.
I haven't used NT in a couple months, so it's a little hazy, but I think
one way to get to the environment dialog window is to right-click on 'My
Computer' and select the 'Environment' tab. If that doesn't get there,
search for environment or PATH in Windows's help.
Cygwin applications use the same PATH as Windows, but it is converted to
proper UNIX form as they start up. I normally keep c:\Cygwin\bin near the
end of my Windows path, but you'll have to decide what works best for you.
When you start a bash login shell, the default /etc/profile puts /bin at
the front of the path.
> Since I couldn't find how to set the system PATH properly, I just
> copied the cygwin.dll to \winnt\, so now inetd starts.
That is a very bad idea. The next time Cygwin is update, you will have two
different versions of cygwin1.dll in separate directories. The right
answer is to set the system PATH.
> When I attempt a telnet from another system, I get the login prompt.
> I enter Administrator and the password and I get a message that
> I'm logged in, but on the target system a message pops up saying that
> the application failed to start. I'm hoping that this is related
> to this PATH setting also.
Someone else will have to address this. I don't use any remote access
tools.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-03 5:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 21:40 How to set system PATH for cygwin on nt? Dave Bodenstab
2002-05-02 22:55 ` Michael A Chase
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).