Solved

can't copy and paste in putty without mouse

Posted on 2008-10-09
4
940 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 300 total points
Comment Utility

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
Comment Utility
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 200 total points
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
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…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now