Solved

can't copy and paste in putty without mouse

Posted on 2008-10-09
4
945 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
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 200 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Permission Powershell 4 59
Recursive folder search vbscript 7 50
AWS- KeepAlived notify script not working 23 86
AWS CLI - Instances, Volumes & Tagging 2 95
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.
Utilizing an array to gracefully append to a list of EmailAddresses
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
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 …

831 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