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
 

to not cache login script file

Yury Udincev - Wed 30/11/2016 12:25:11 CET +0100

I started using the kitty since 2012.
I took from DB all the necessary data and passed the kitty as parameters.
Use a login script file to login. Before starting the kitty, the login script file is changed.
In one of the new versions of the kitty the login script file is cached, that breaks the circuit in the bud.
So I have to use an older version of the kitty.
Is it possible to force the kitty to not cache, and even better to add a parameter like as example --loginscript ":\n\nord:\n"

Sorry for my English :)

Yury Udincev - Wed 30/11/2016 12:27:31 CET +0100

--loginscript ":\nLOGIN\nassword:\nPASSWORD"

Cyd - Wed 30/11/2016 14:28:30 CET +0100

Did read this page: http://www.9bis.net/kitty/?page=Command-line%20options&zone=en ?
I think you should create your login script as describe here http://www.9bis.net/kitty/?page=Logon%20script&zone=en .
Then use the -loginscript option with you file.

Yury Udincev - Wed 30/11/2016 18:11:35 CET +0100

To my shame, I did not see this option (-loginscript).Thank you so much.
Before I used kitty 0.60.67.4p, now using 0.67.3.2

I have achieved the desired result directly modify the session file:
ScriptMode\
ScriptFileName\path_to_script\

The format of the script changed a bit:
:login:
user1
:password:
toto

it would be good to read the description of these parameters:
ScriptHalt\\
ScriptWait\\
ScriptTimeout\30\
ScriptExcept\0\
ScriptEnable\1\
ScriptCRLF\1\
ScriptCondUse\0\
ScriptCondLine\%3A\
ScriptCharDelay\0\
ScriptLineDelay\0\
ScriptMode\0\
ScriptFileName\\

Cyd - Thu 01/12/2016 11:46:36 CET +0100

It refers to RuTTY patch: http://www.9bis.net/kitty/?page=RuTTY&zone=en




Answer


The forum is actually closed