Theme:
  

KiTTY : Forum

Last modification : -


Forum Home
 

Kitty tabbed ?

FoxXav - Tue 25/11/2008 09:47:13 CET +0100

Do you think about adding the possibility to tabbed console in one kitty windows ?
It will be really great :-)

Great work

Cyd - Tue 25/11/2008 11:39:16 CET +0100

Yes it could be great.
But it is impossible.
My advise: using a third part software such as WinTabber.
Or using the KiTTY session launcher.

Cyd

James O - Thu 09/04/2009 15:28:05 CEST +0200

There is another bit of free software that will allow you to have tabbed connections. It was designed for PuTTY, but so far it seems to work great with KiTTY as well.

http://puttycm.free.fr/

From the page:

PuTTY Connection Manager is a free PuTTY Client Add-on for Windows platforms which goal is to provide a solution for managing multiple PuTTY instances. This is one of the most important missing feature of PuTTY (referring to this and this user complaint)...
"the approach we'd prefer is a separate application that can swallow instances of PuTTY and provide the tabbing interface" (PuTTY's team)

That's exactly what PuTTY Connection Manager does (with some more extras)...

Someone just let me know about it, and I'm glad they did.

Have fun!

duebel13 - Thu 16/04/2009 15:10:45 CEST +0200

James O. wrote [about puttycm] "that it seems to work great with KiTTY as well". This is only true as long as you don't edit any KiTTY configurations - puttycm reads the PuTTY config directly from the registry (HKCU/Software/SimonTatham/PuTTY). Unfortunately, KiTTY uses its own regkey (HKCU/Software/9bis/KiTTY). Hence, all changes made to the Kitty configuration are ignored by puttycm.

On the other hand, puttycm provides everything you need - it even includes an AES-encrypted database for secure password storing. It fully supports tabs and folders and can even connect to (and disconnect from) all hosts in a folder with a single click so that there is not that much need for KiTTY left, I'm sorry to say.

For KiTTY, I'd recommend WinTabber.

James O - Thu 23/04/2009 15:55:02 CEST +0200

Hello,

Yes, after using it for a bit longer after my post I realized PuTTYCM was reading my old PuTTY configurations and not my current KiTTY ones.

Cyd, what would you think about adding an option to keep the KiTTY-enhanced configurations in the default PuTTY spot in the registry (instead of a separate area)? By default, the current behavior would remain and store KiTTY configurations in a separate area, but people willing to accept the risks of total system failure (hehe) could change some (undocumented?) configuration setting to make KiTTY read/write from the standard PuTTY node in the registry.

I've successfully "worked around" the problem by exporting the KiTTY tree in the registry, doing a search-and-replace for KiTTY->PuTTY and 9bis.com->SimonTatham and then importing; but that process would need to be repeated each time I update any KiTTY setting. Yuck.

Shoving the KiTTY configuration into the PuTTY area in the registry did not seem to cause a problem with PuTTYCM, it functioned just fine. I do not use PuTTY anymore, so I don't care about any incompatibilities there might be between KiTTY and PuTTY keys/values (I don't think any probably exist, though, any new keys KiTTY adds PuTTY will simply ignore; it would only be an issue for a key that KiTTY uses in a different way than PuTTY).

The PuTTY CM is closed-source, so there's no way to modify it to look at the KiTTY configuration area. I know the source to KiTTY is available, but I don't have an environment where I can compile it (and I can't set one up at the moment). Plus, I'd hate to have to patch and recompile KiTTY each time a new version came out. So I'm hoping my proposal will be given serious consideration.

I also thought about writing a program to sync/copy KiTTY to PuTTY, but it seemed like it would be overkill. Hopefully Cyd, you'll have mercy on us and add an (undocumented, maybe?) option to change the registry path KiTTY uses.

What say ye, Cyd? :)

--James


Cyd - Thu 23/04/2009 17:06:35 CEST +0200

Hi James
Making KiTTY able to use either PuTTY or KiTTY registry keys is not so easy to do !
It implies many changes (is is not the same as changing the key, one for all).
I will try to do it, but I can't promise.
By the way, actually you can synchronize the two keys without making such a process.
Run any session into KiTTY and open the internal command input box by pressing CTRL+F8.
Then enter /copytokitty or /copytoputty to synchronize registry trees.

It is also possible to automatically copy KiTTY on PuTTY registry key at each KiTTY exit by adding these lines to the kitty.ini file:
[PuTTY]
keys=load


Cyd

James O - Fri 24/04/2009 17:11:43 CEST +0200

Ha.. Sweet!

That being the case, then I don't think I'd worry about my request to store KiTTY settings on top of PuTTY's--the auto-copy workaround you mentioned should work great.

Thanks!

--James

James O - Fri 24/04/2009 17:18:30 CEST +0200

Hello Cyd,

Quick question - will the things you mentioned copy *all* KiTTY registry settings to PuTTY's registry area, or just the active session's configuration?

--James

Cyd - Fri 24/04/2009 17:25:26 CEST +0200

All the registry

nl - Thu 30/04/2009 02:36:29 CEST +0200

Hi Cyd,

is there a possibility to copy the kitty sessions to to PuTTY's registry area, when your are using "savemode=dir"?

Regards nl

Cyd - Thu 30/04/2009 09:53:31 CEST +0200

No
With savemode=dir there is no access to the registry. It is actually the goal.
But I will think of a way to import it. I promise.

Cyd

Cyd - Wed 02/09/2009 13:49:20 CEST +0200

Now there is a way to convert saved sessions in "directory" mode to registry.
Just run kitty.exe with the -convert-reg parameter.
kitty.exe -convert-reg

Cyd

HonestQiao - Mon 07/09/2009 04:08:29 CEST +0200

Cyd:
[PuTTY]
keys=load

The config can auto convert Kitty config to putty, very good.

Can you add an new config : auto sync config from register to kitty.ini , or sync config from kitty.ini to register.

You know , windows is easy to crash.
So , if there has a way to suto rsync between register and kitty.ini, then its more better.


[Kitty]sync_config=auto

Cyd - Mon 07/09/2009 10:40:54 CEST +0200

Hello HonestQiao

I'm not sure to understand exactly what you need. But I think there is already something that can help you. The whole KiTTY registry is always saved into the kitty.sav file (into %APPDATA%/KiTTY directory). The saving occurs each time a KiTTY instance exit.

Cyd

AP - Wed 23/09/2009 14:01:31 CEST +0200

I seem to have a problem with the dual screens with different ratios
(laptop is 1440x900 and my other screen is 1280x1024)
when i expand kitty to full screen on my laptop it works great but when i expand it on my other screen it doesn't quite fill the screen
possibly an issue with the way my graphics card works but i'm unsure if anyone else has a similar problem.

AP - Wed 23/09/2009 14:02:12 CEST +0200

P.S. Kitty Rocks!

nl - Thu 24/09/2009 02:34:17 CEST +0200

@AP:
Are you using kitty or PuTTYCM (with kitty).
I've this problem with PuTTYCM (with kitty or putty), but not with kitty as single program.
Do you deactivated the transparency? With transparency I've sometime had problems when expanding the Kitty window.
Deactivating the transparency solved this problem for me.
[KiTTY]
transparency=no

nl

Cyd - Thu 24/09/2009 08:23:34 CEST +0200

It is generally our advise not to use the transparency feature.
There are many problems when using multi screens or using third part software such as WinTabber or PuTTYCM.

Cyd

gabel - Thu 01/10/2009 11:16:13 CEST +0200

i would like to get back to the topic... how i can get tabs and hopefully a one click session manager using the kitty configuration? WinTabber - not that good PuTTYCM - does not work with the config yet?

Ezik - Tue 27/10/2009 10:28:42 CET +0100

Tried to get "KiTTy + PuTTyCM" combination to work (using tips from this topic): little to no result. If anyone can give a working config example for such combination, would be nice!

P.S. The most irritating is kitty.ini configuration. I couldn't found ANY (not talking about comprehensive) list with kitty.ini options, in one place. The only way is to get them one-by-one from site/KiTTY.html doc file, forums.. Did I missed something or should we start WikiPedia page?

Cyd - Tue 27/10/2009 11:19:24 CET +0100

But what is wrong with PuTTYCM ?
I use it everyday without any specific configuration.

cyd

Sight - Mon 25/01/2010 18:12:17 CET +0100

Hi,
could anyone help me out plz.
Getting strange errors here , tried compiling with Microsoft Visual Studio 2008.
thx in advance for any help.
(all files are from the tar package untouched)

c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(420) : error C2143: syntax error : missing ';' before 'type'
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(438) : warning C4013: 'get_param' undefined; assuming extern returning int
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(438) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(438) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(440) : error C2065: 'ret' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(441) : error C2065: 'ret' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(447) : error C2065: 'ret' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(449) : error C2065: 'ret' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(473) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(473) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(509) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(509) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(549) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(549) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(637) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(637) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(920) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(920) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(929) : warning C4013: 'RegDelTree' undefined; assuming extern returning int
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(942) : error C2143: syntax error : missing ';' before 'type'
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(943) : error C2065: 'buffer' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(943) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(943) : warning C4024: 'sprintf' : different types for formal and actual parameter 1
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(944) : warning C4013: 'DelDir' undefined; assuming extern returning int
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(944) : error C2065: 'buffer' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(980) : warning C4013: 'CleanFolderName' undefined; assuming extern returning int
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1012) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1012) : error C2065: 'SAVEMODE_FILE' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1040) : error C2065: 'SAVEMODE_DIR' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1046) : error C2065: 'SAVEMODE_DIR' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1098) : error C2065: 'SAVEMODE_DIR' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1190) : error C2065: 'SAVEMODE_DIR' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1313) : error C2065: 'SAVEMODE_DIR' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1379) : error C2065: 'SAVEMODE_REG' : undeclared identifier
c:\documents and settings\sight\desktop\kitty_src{CONTENT}.60_my_putty\windows\winstore.c(1379) : error C2065: 'SAVEMODE_FILE' : undeclared identifier

Cyd - Tue 26/01/2010 15:09:45 CET +0100

I don't use Microsoft Visual Studio.
KiTTY is compiled with MinGW, using the file windows\makefile.MinGW as a makefile.
Then KiTTY is compressed with the UPX tools.

Cyd

- Wed 27/01/2010 19:00:25 CET +0100

thx for the tip but sadly i`m getting also errors :(

winstore.o:winstore.c:(.text+0xcf7): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0xd07): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0xe93): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0xeec): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x103d): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x108f): more undefined references to `get_param' f
ollow
winstore.o:winstore.c:(.text+0x1f5a): undefined reference to `DelDir'
winstore.o:winstore.c:(.text+0x1faf): undefined reference to `RegDelTree'
winstore.o:winstore.c:(.text+0x20ef): undefined reference to `CleanFolderName'
winstore.o:winstore.c:(.text+0x2203): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x2213): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x22bb): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x22f7): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x2360): undefined reference to `get_param'
winstore.o:winstore.c:(.text+0x23a8): more undefined references to `get_param' f
ollow
collect2: ld returned 1 exit status
mingw32-make: *** [puttygen.exe] Error 1

gabel - Tue 23/02/2010 13:24:10 CET +0100

Still no news about it? PuttyCM just missing some killer features. The WinSCP call without entering user data, the session manager in tray, automatic pw a.s.o.

The biggest problem is, that it does not seem to be developed very active.

Manuel - Thu 03/05/2012 11:32:50 CEST +0200

I use the combination of KiTTY + mRemoteNG described at http://www.ericvb.com/archives/the-best-tabbed-ssh-solution-in-windows-7

MasterOfTheHat - Mon 15/10/2012 17:59:49 CEST +0200

Thanks for the auto-sync between KiTTY and PuTTY, Cyd!

jg - Tue 19/03/2013 14:20:39 CET +0100

Any update on how to compile this?

I deleted:
  1. ifndef ZMODEMPORT
if(get_param( "ZMODEM" )) shortcuts[nshortcuts++] = 'w';
  1. endif
But before that I messed up something (only extracted the My Putty folder).

Just delete the block with if( !CheckMD5Integrity() ) { as the function is not open source.

You will also need:
LDFLAGS = -mno-cygwin -s -static-libgcc -static-libstdc++

I think this is for if you have no msvc mingw.

It's so annoying there appear to be no build instructions/guide. I've successfully compiled it in 3 places and yet nothing works (VS10, msys, cygwin) for creating a binary that works.

I've come to the conclusion that this is on purpose to make people come to the site to have to get kitty and to donate. Using TRANSPARENCY turns off the check which makes no sense to me.

I will definitely not donate. All I wanted to do is make autocommand work with load when load is configured empty. I've finally accomplished this but it could have been made easier.

jg - Tue 19/03/2013 14:50:14 CET +0100

> Do you think about adding the possibility to tabbed console in one kitty windows ?

Use superputty.

Cyd - Tue 19/03/2013 15:02:41 CET +0100

I prefer PuTTY Tabs Manager.

jg - Wed 20/03/2013 17:34:32 CET +0100

The primary reason I am not keen on things such as PTM and MTP is that they use the putty configuration. I am managing a large number of machines and this number may grow significantly in future (currently as over 100).

As far as I see I cannot nest/inherit settings from putty. SP gives me a minimal form of this. I can load one profile for multiple machines and maintain single click access. It's minimal but all I really need. Changing putty settings incurs very little overhead, it's a pleasantly simple process. I might sometimes have a few settings profiles to change but its a matter of editing a few each time, not hundreds. The alternative is to manage putty settings manually for a large number of machines or use a rather unpleasant array of scripts for doing things to the reg files if not directly in the registry, and so on. SP is just so much better for this. This is the same reason many preferred PCM until development ceased and it began to fall behind (many unresolved issues and new bugs cropping up in new operating systems), SP is the replacement. I suspect most people using PCM and SP are using it specifically for these reasons.

The other solutions are good if and only if its more about having lots of sessions on a few machines but for huge numbers of machines PTM becomes outright useless unless you are really really underworked.




Answer


Currently the forum is closed