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
 

klink portable - feature request

zdm - Fri 27/11/2015 07:30:26 CET +0100

klink -load search for sessions only in the start directory.

This is not very handy.

Is it possible to make klink (and others) to search for sessions in the directory, where klink is located, not only in start dir?

Cyd - Fri 27/11/2015 11:37:00 CET +0100

klink (in portable mode) search for sessions in the Sessions Directory that is located under the directory where klink.exe and kitty.ini files are.

- Fri 27/11/2015 12:08:36 CET +0100

This should work, but not.

I added klink.exe location to the %PATH% and started it with -load option.
It not found session.
This works only, if I start klink from directory, where it located.

- Fri 27/11/2015 12:52:54 CET +0100

If you don't start klink.exe from the directory where klink.exe and kitty.ini are you won't be in portable mode but in registry mode. klink.exe need to read kitty.ini to know the current save mode.

zdm - Fri 27/11/2015 14:50:25 CET +0100

I am in portable mode.

kitty.ini is located near klink.exe and savemode=dir.

kitty.exe find sessions without any problems, but klink.exe - not.

If i run d:\dropbox\shared-win\putty\klink.exe -load centos - session is not loading.

If I run klink.exe -load centos from klink directory - everything is ok.

Cyd - Fri 27/11/2015 19:02:18 CET +0100

If you run d:\.... it means your are not in klink.exe directory. klink can't find the kitty.ini configuration file, so save mode will be registry mode. Create a fake "centos" session in the registry to be sure.
To solve the issue I propose to include in klink a workaround I have already made in KiTTY.
Get that special build: http://www.9bis.net/kitty/data/beta/klink.exe
Into your kitty.ini file add the setting configdir=d:\dropbox\shared-win\putty to point to your configuration directory (where Sessions sub-directory is).
Then create a global environment variable KITTY_INI_FILE=d:\dropbox\shared-win\putty\kitty.ini to point your kitty.ini file.
Cyd

zdm - Fri 27/11/2015 23:23:53 CET +0100

Thank you, I will try this.

I like the configdir feature.

Why you can't just read kitty.ini from klink.exe directory, if KITTY_INI_FILE is not defined?

Tom - Fri 02/12/2016 14:46:05 CET +0100

Better late than never, but... the best way I've found to have multiple KiTTY tabs is to add it as a tab in Console2:

http://jimueller.com/dev/tools/2012/08/18/use-putty-with-console2/

Screenshot:

http://imgur.com/EQdzc21

Cyd - Fri 02/12/2016 15:06:27 CET +0100

My choice is PuTTY Tab Manager: https://sites.google.com/site/macdsite/utilidades/puttytabmanager




Answer


The forum is actually closed