Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

can't copy and paste in putty without mouse

Posted on 2008-10-09
4
Medium Priority
?
963 Views
Last Modified: 2013-12-26
How do I select all in putty terminal without using my mouse? The reason is I want to copy the contents to clipboard using a script, but obviously the script would be more efficient without having to click on anything. I don't want to print screen because I still want the text output.
0
Comment
Question by:MeridianManagement
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 1200 total points
ID: 22681047

Create a session configured with "logging", and then you can have a file with all text output:

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter3.html#using-logging
0
 
LVL 2

Author Comment

by:MeridianManagement
ID: 22681171
But my script needs to capture the log to do something with it. There's no way to just select all using keyboard?
0
 
LVL 48

Assisted Solution

by:Tintin
Tintin earned 800 total points
ID: 22682233
I think the closest you can get is to create a putty session with the putty log options enabled and then you can call it from command prompt as

putty.exe -load "session name"
0
 
LVL 2

Author Closing Comment

by:MeridianManagement
ID: 31504732
kind of lame (not your answers, just putty). I mean, when you're working with a terminal, shouldn't you expect that the user may only have a keyboard or may prefer keyboard?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question