jimradford / superputty

The SuperPuTTY Window Manager for putty sessions
https://www.facebook.com/superputty
MIT License
1.91k stars 320 forks source link

Add putty.ini support #862

Open benok opened 2 years ago

benok commented 2 years ago

Hi, I've recently noticed your SuperPuTTY program. Tab support is very useful. Thank you for publishing this tool.

But SuperPuTTY doesn't support "putty.ini".

There are several putty forks that use putty.ini to store settings instead of registry. (e.g. PuTTYrv, iceiv+putty and original putty.ini support is from gotta-ni buiid)

I think they are quite popular in Japanese.

I implemented putty.ini support like this. Could you please take a look?

p.s. One known problem exists.

Used ini-parser(https://github.com/rickyah/ini-parser) library is not so robust. It doesn't allow loading ini file which has "duped" section exists. Implement additional error handling or add forgive multiple section option to ini-parser for better supporting.