|
|
redirection #2
Hello,
Very silly question but it's really bugging me... and I do apologise if it
has been asked before.
Is it possible to redirect output to cut/paste buffer of your terminal
(putty in this case) just like you would to a file with "cat file >
file.txt" for example?!?!
The text is in the buffer when I double click on it and then I can paste it
on my pc by clicking the right mouse button. I assume this buffer is putty's
and is local to my client (my pc) and has nothing to do with the unix box...
Thanks
|
|
0
|
|
|
|
Reply
|
Darko
|
1/27/2005 12:07:19 PM |
|
Darko <daka@excite.com> wrote:
> Hello,
> Very silly question but it's really bugging me... and I do apologise if it
> has been asked before.
> Is it possible to redirect output to cut/paste buffer of your terminal
> (putty in this case) just like you would to a file with "cat file >
> file.txt" for example?!?!
"redirect"? No... The only path from the computer to putty is through
the terminal (presumably via STDOUT/STDERR). There's no addtional
out-of-band signalling mechanism that you could call upon.
> The text is in the buffer when I double click on it and then I can
> paste it on my pc by clicking the right mouse button. I assume this
> buffer is putty's and is local to my client (my pc) and has nothing to
> do with the unix box...
That is correct. Since shell redirection deals with files and
filehandles, you'd have to find some way to create a filehandle that was
connected to putty's cut/paste buffer. Possible, I suppose, but
unlikely to be written.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
Darren
|
1/27/2005 5:25:11 PM
|
|
[Darko]:
>
> Is it possible to redirect output to cut/paste buffer of your
> terminal (putty in this case) just like you would to a file with
> "cat file > file.txt" for example?!?!
>
> The text is in the buffer when I double click on it and then I can
> paste it on my pc by clicking the right mouse button. I assume
> this buffer is putty's and is local to my client (my pc) and has
> nothing to do with the unix box...
if you were using X, you could use xcb
http://www.goof.com/pcg/marc/xcb.html
with putty I guess you'll just have to paste into a file manually.
--
Kjetil T.
|
|
0
|
|
|
|
Reply
|
Kjetil
|
1/28/2005 12:12:58 AM
|
|
hello
anyway you can enable the putty's log file option, which very likely will
hold the information you need.
you cam transfer it with plink or ssh to the unix machine after the putty
session has ended.
robert
|
|
0
|
|
|
|
Reply
|
Robert
|
1/28/2005 11:54:36 AM
|
|
thanks for your help
|
|
0
|
|
|
|
Reply
|
Darko
|
2/1/2005 2:58:37 PM
|
|
2005-01-27, 12:07(-00), Darko:
> Very silly question but it's really bugging me... and I do apologise if it
> has been asked before.
>
> Is it possible to redirect output to cut/paste buffer of your terminal
> (putty in this case) just like you would to a file with "cat file >
> file.txt" for example?!?!
[...]
You could use GNU screen which has its own cut/paste mechanism
that you can manipulate more easily.
But you can't use the mouse in screen (yet) to do the
cut/pasting, even in terminals with mouse tracking support like
putty (the selection is made with the arrow keys).
--
St�phane
|
|
0
|
|
|
|
Reply
|
Stephane
|
2/1/2005 3:05:50 PM
|
|
|
5 Replies
139 Views
(page loaded in 0.118 seconds)
Similiar Articles: nohup, redirection and splitting stderr and stdout - comp.unix ...nohup, redirection and splitting stderr and stdout - comp.unix ... nohup, redirection and splitting stderr and stdout - comp.unix ... nohup, redirection and splitting ... Windows file redirection and pipe operations - comp.lang.idl ...According to IDL online help "the normal UNIX file redirection and pipe operations work with IDL". Now, if %idl & idl.out & causes IDL to execute in ... NAT/PAT, Port Redirection On Cisco PIX - comp.dcom.sys.cisco ...I have a simple network set-up and yet I'm stumped that I can't get port redirection going on it. Quick topology: Internet | Cable Modem | Cisco PI... ILOM: CD-ROM image redirection on Solaris - comp.unix.solaris ...Mounting Cdrom Solaris10 running on VMware - comp.unix.solaris ..... one of you all can explain that or redirect ... mount the VMware Tools virtual CD-ROM ... ... Page redirection after inactivity - comp.lang.javascript ...hi all, i am trying to implement a page re-direction after a certain amount of inactivity. can somebody please help me in this. i was thinking could i... Form submit button not working with URL redirection - comp.lang ...PDF Form submit with both HTML and FDF responses. - comp.text.pdf ... Form submit button not working with URL redirection - comp.lang ... PDF Form submit with both ... Getting stdout and stdin streams of child process where child is ...Getting stdout and stdin streams of child process where child is agnostic of the redirection Follow Redirect a port to a zone - comp.unix.solarisThe problem was there's period of time where the boot loader pops up and only talks to the console, not the serial port. Assuming the OS boot correctly, redirection ... X4170 no console output, BIOS settings prob?? - comp.unix.solaris ...Is there anyway to force the machine to boot into BIOS settings? any ideas on how I can get in?? Is there a was of reseting redirection from ILOM?? Serial console redirect - comp.unix.solarisSerial Port Console Redirection Table Version 1.00 - January 11, 2002. This document defines the content of the Serial Port Console Redirection Table. URL redirection - Wikipedia, the free encyclopediaURL redirection, also called URL forwarding, is a World Wide Web technique for making a web page available under more than one URL address. When a web browser ... Redirection (computing) - Wikipedia, the free encyclopediaIn computing, redirection is a function common to most command-line interpreters, including the various Unix shells that can redirect standard streams to user ... 7/23/2012 10:13:06 AM
|
|
|
|
|
|
|
|
|