PuTTY is was displaying some weird characters due to incorrectly set character set (credit to previous SU question for helping me figure that out)

Now that I know switching the Received data assumed to be in which character set: would address this issue, how would I fix this in all of my saved sessions? I tried changing it in the Default Settings session but it did not propagate to the other sessions.

Might just need to do it manual which is okay I suppose. But I do have almost 30 sessions.

link|improve this question

feedback

3 Answers

up vote 0 down vote accepted

I believe this is all stored in registry entries - so you'd have to use a tool that allows you to update a set of registry keys based on some criteria (probably involving wildcards)

link|improve this answer
After taking a few deep breaths and opening regedit.exe, found the settings: HKCU\Software\SimonTatham\PuTTY\Sessions. Now if only I knew which key corresponds to the charset settings :-/ – Beaming Mel-Bin Oct 20 '10 at 20:54
1  
Maybe, export the registry entries for one key, change the "Received data assumed to be in which character set" value. Export the registry keys again. diff. Unless you have a very large number of sessions, I have a feeling that editing each session might be faster (though arguably tedious and less fun). – RedGrittyBrick Oct 20 '10 at 21:09
Have almost 30 sessions. I think I'll just use a Python script but you're export/import idea is a smart one nonetheless. First, need to figure out which value corresponds to the setting. – Beaming Mel-Bin Oct 20 '10 at 22:09
Try changing LineCodePage – jackhab Jul 5 '11 at 14:50
feedback

If you saved Default Settings after creating those 30 session then it might be a problem since Putty creates new settings as a copy of current defaults. IMO, the new settings will propagate only to the newly created sessions.

You can try exporting Putty registry HKEY_CURRENT_USER\Software\SimonTatham into .reg file, search-replace the settings and then applying the .reg file back to registry.

link|improve this answer
feedback

I just had the same problem and found PuTTY session manager:

PuTTY Session Manager is a tool that allows system administrators to organise their PuTTY sessions into folders and assign hotkeys to favourite sessions. Multiple sessions can be launched with one click. Requires MS Windows and the .NET 2.0 Runtime.

It allowed me to configure all sessions at once while leaving the distinct elements well alone.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.