To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

puttycyg

jaco - Tue 29/06/2010 22:28:21 CEST +0200

Hi, I can't get the PuTTYCyg patch to work with KiTTY. I've followed the instructions here:
http://www.9bis.net/kitty/?page=PuTTYCyg&zone=en

But it errors out with 'Failed to execute command' and the session says:
/bin/sh: No such file or directory

Is there a place I should be defining the path to /bin/sh ?

TIA for any help.
Jaco

jaco - Tue 29/06/2010 22:29:46 CEST +0200

I should add, I have a complete cygwin installation installed on this computer.

Cyd - Tue 29/06/2010 23:11:44 CEST +0200

You've found the problem.
There is a conflict between your cygwin1.dll and mine.
Try to delete mine.

Cyd

jaco - Wed 30/06/2010 16:10:53 CEST +0200

No luck after deleting cygwin1.dll from the kitty dir:


cthelper.exe - System Error

The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem.


But, I run PuTTYcyg (the original patched version of PuTTY) with cthelper in the same directory everyday and it works fine. Finds the cygwin1.dll from the installed cygwin. KiTTY is in it's own directory with its own cthelper and kitty.ini (with [KiTTY]cygterm=yes)

Thoughts? Again, thanks for the help.

- Wed 30/06/2010 17:07:42 CEST +0200

Which version of cygwin1.dll do you use ?
I will try to reproduce your issue.

- Wed 30/06/2010 18:44:25 CEST +0200

cygwin1.dll version is 1.7.1

Note: (just trying to add anything here that might help) - the cygwin install on this box is in a root directory (J:\cygwin), but not the default installer routine's location of C:\cygwin

Cyd - Thu 01/07/2010 10:29:56 CEST +0200

And what about your Cygwin registry settings (Maybe you will have to force your mount directives) ?
Just another question: do you use normal Cygwin or Portable Cygwin ?

jaco - Thu 01/07/2010 21:09:18 CEST +0200

I use normal (not portable) Cygwin. The mount points in the registry are the ones defined during a standard install - here's the relevant info from cygcheck -rs

HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
     (default) = '\??\J:\cygwin'

Cygwin installations found in the registry:
     System: Key: fe8f2bdd93935102 Path: J:\cygwin

J:\cygwin / system binary,auto

jaco - Sat 03/07/2010 22:23:27 CEST +0200

For fun I put the three files in /cygwin/bin. KiTTY with PuTTYCyg patch works for me now.

This idea came from reading PuTTYcyg's FAQ:
"Optional: set the working directory (Start in:) to your Cygwin installation's /bin directory"

Maybe it needs to know where cygwin1.dll is in ways other than the registry. Anyways, problem solved!

Keijo D. Putt (@keijodputt) - Mon 15/04/2013 21:23:05 CEST +0200

Another success case reported:

Using cygcheck -rs I found that there were two ORPHANED registry values related to Cygwin installations. One inside "System: Key:" and the other inside "User: key:".

I had only a "System: Key:" value pointing to my Cygwin installation path, so I cloned its data to the other two, and cloned that value into the "User: Key:" with Cygwin path in its data.

After clsoing the Registry, I fired up KiTTY, selected Cygterm as method, added a dash in the hostname, and it worked.

Regards,
Keijo!




Answer


The forum is actually closed