Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

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)

share|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 :-/ –  Belmin Fernandez 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. –  Belmin Fernandez Oct 20 '10 at 22:09
    
Try changing LineCodePage –  jackhab Jul 5 '11 at 14:50

Export the Putty sessions stored in the registry by exporting the registry key HKEY_CURRENT_USER\Software\SimonTatham. Then search-replace the desired settings merge the .reg file back to registry.

share|improve this answer

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.

share|improve this answer
    
+1 Had already installed the program but was not aware, that it can do that! –  ceving Nov 27 at 15:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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