yash069 / puttycyg

Automatically exported from code.google.com/p/puttycyg
0 stars 0 forks source link

using multiple Cygwin installations by changing working directory #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please read the FAQ and check existing issues before creating a new issue.

What steps will reproduce the problem?
1. change working directory of puttycyg from "c:\cygwin\bin" to
"c:\cygwin_new\bin"
2. run "putty -cygterm -"

What is the expected result?  
The puttycyg should start the one under "c:\cygwin_new"

What happens instead?
The puttycyg window appeard then disappeard quickly.

PutTTYcyg version:
20090811
Cygwin version:
Both are 1.5.25-15
Windows version:
WinXP SP3

Please attach your PuTTY configuration.  Use this Windows command to create
putty.reg:
REG EXPORT HKEY_CURRENT_USER\Software\SimonTatham\PuTTY putty.reg

Please provide any additional information below.
If I change the 3 key values under HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2 to be the same one (c:\cygwin_new\ &
c:\cygwin_new\bin & c:\cygwin_new\lib) as working directory of puttycyg,
then it works.

Original issue reported on code.google.com by just...@gmail.com on 25 Sep 2009 at 7:08

Attachments:

GoogleCodeExporter commented 9 years ago
Turning off the "Autodetect Cygwin installation" option should fix this.

PuTTYcyg cannot support multiple Cygwin installations unless Cygwin supports 
it, which 
it apparently does not:

http://cygwin.com/faq/faq-nochunks.html#faq.using.multiple-copies

Original comment by medgar123 on 25 Sep 2009 at 2:18