LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 10-10-2012, 07:45 AM   #1
grzeslaw
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Rep: Reputation: 13
[SOLVED] Mass options change for all servers in the putty


Hello,

I have about 100 servers added in my putty (registry mode).
Is it possible, to made mass change the options of window size, lines scrollback and some behaviour option without clicking one by one?


Regards!

Last edited by grzeslaw; 10-11-2012 at 09:37 AM.
 
Old 10-10-2012, 08:13 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
Window size, scroll back "and some behaviour option" are local PuTTY options. A you already indicated using the Windows registry for saving configuration options this question does not belong in this forum but in /General and I've asked for it to be moved there. Making mass changes to the Windows registry requires either you export the keys to a text file, make changes using a regex-capable text editor and importing the .reg file again or a registry editor that can make change directly.
 
Old 10-10-2012, 08:59 AM   #3
grzeslaw
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Original Poster
Rep: Reputation: 13
Thanks for repling.
I was long wondering in which forum I should enter my question, so sorry for mistake, and tgx for moving.

Ok. So I need to made some registry changes.. Do you or somebody else have idea, where exactly those option are stored, in wich key, location in registry?
 
Old 10-10-2012, 09:30 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,052
Blog Entries: 1

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Moderator Response

Moved: This thread is more suitable in <General> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 10-10-2012, 09:57 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
Quote:
Originally Posted by grzeslaw View Post
I was long wondering in which forum I should enter my question, so sorry for mistake
I don't see it as a mistake. Taxonomy can be difficult even for senior members. So no problem, really.


Quote:
Originally Posted by grzeslaw View Post
where exactly those option are stored, in wich key, location in registry?
Try HKLM\Software\%VENDORNAME or HKCU\Software\%VENDORNAME or try searching the 'net.
 
Old 10-10-2012, 11:58 AM   #6
grzeslaw
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Original Poster
Rep: Reputation: 13
I found it, and export to file.reg.

Now I am just wondering.. cause I am not a Windows expert, could I edit this file, save as file.txt, and made some replacement of the strings using sed or perl, for all of them in cygwin console? And after that, save it as .reg file, and import in Windows?

Linux is a better environment for making operations on files
 
Old 10-10-2012, 01:07 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
Quote:
Originally Posted by grzeslaw View Post
I found it, and export to file.reg.
So what's the key?


Quote:
Originally Posted by grzeslaw View Post
Now I am just wondering.. (..), could I edit this file
Depends. If you exported it to the old school format then any plain text-handling stream-capable tool should do.
 
Old 10-10-2012, 03:26 PM   #8
grzeslaw
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Original Poster
Rep: Reputation: 13
I have exported it to .reg file, and edit it by Windows notepad... save as .txt file, then convert some fields using sed in cygwin, save as .txt, convert this txt file to windows format and save to reg file.. And after that, when I edit the file it looks normal.. But it is really? I think that if there will be some issues when importing the file, is should warn me that there are some errors in the file, right?

--EDIT--
Exactly how I wrote before.. I made file modification in cygwin, and after importing it to registry as a file.reg it's working well

Last edited by grzeslaw; 10-11-2012 at 09:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Twin DNS Servers on SuSE - Options? chrisgti Linux - Networking 23 01-12-2010 06:19 AM
How to change putty gui font (Kde) matiasar Linux - Software 2 08-07-2009 03:18 PM
How to set DNS servers? How to stop auto change of DNS servers? newtovanilla Linux - Newbie 1 10-29-2008 09:19 PM
folder options change james2b Fedora 3 06-06-2008 08:42 PM
2 servers, 1 private network and one modem. forwarding options zachts Linux - Networking 2 09-25-2005 08:23 AM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration