Solved

can't copy and paste in putty without mouse

Posted on 2008-10-09
4
951 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to count occurrences of each item in an array.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

636 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