Sponsored Content
Top Forums UNIX for Dummies Questions & Answers copying less output with putty Post 302485442 by chronics on Wednesday 5th of January 2011 08:31:40 AM
Old 01-05-2011
copying less output with putty

I am attempting to copy long lines from "less" to notepad++ logged into remote system using putty but im having all sorts of problems. When i run "less filename" the lines wrap so when i copy and paste into notepad++ what should be a single line is showing as multiple lines. If i run less -S filename i get the full length of the line but i cant figure out how to copy this, as to see the full line I have to scroll across with the arrow key and when i do this the text i have previously copied is lost from the clipboard. In Putty using the Copy All to clipboard does not copy the data that you have to horizontally scroll across to see (although it did on one occasion have not been able to get it to do this again). Could anyone give me some info on how to do this.

Thanks
 

10 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

PuTTY 0.59

On my opinion, one of the best ssh/telnet clients for windows, putty released a new version: Get it here, PuTTY 0.59 - PuTTY can now connect to local serial ports as well as making network connections. - Improved speed of SSH, particularly SSH-2 key exchange and public-key authentication -... (2 Replies)
Discussion started by: pressy
2 Replies

2. UNIX for Dummies Questions & Answers

putty

i am connecting to a unix-application using putty (xp). sometime, it is as if the putty is sending a form-feed char, because i am getting a blank screen, and by back scrolling i see the previous screen with all the related data. if i am using the xp-telnet, i get the screen/data correctly. ... (7 Replies)
Discussion started by: mifa-system
7 Replies

3. UNIX for Dummies Questions & Answers

putty script

i was having problem on unix command.here's my script set server_exe="C:\filecopy\putty.exe" %server_exe% sgxaspecs3@sporc01 -pw pit54321 -b c:\filecopy\file_sporc01putfiles2.txt echo "file uploaded to SFTP Server" pause ok the thing is like this, i could login to putty by running this... (1 Reply)
Discussion started by: dannyd_y
1 Replies

4. UNIX for Dummies Questions & Answers

Copying the output of a shell to another

How do you copy the output of a shell to another? I went to, for example, copy the output of shell a to shell b. Do you use cp or what? (2 Replies)
Discussion started by: #moveon
2 Replies

5. UNIX for Advanced & Expert Users

Help for PuTTy.

I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system. Is it possible? If yes, how can I do that? (2 Replies)
Discussion started by: agnivaccent
2 Replies

6. Red Hat

Putty Command

Hi, I am trying to update my site using putty. My server is in linux. I found few commands that help me to access and do few stuffs in the server. Please add additional command. ls - to list files in a directory: cd - change directory (navigate to some directory): cp - copy a file: mv - move... (5 Replies)
Discussion started by: khadkabirendra
5 Replies

7. UNIX for Dummies Questions & Answers

Regarding the logs on putty

Hi Folks, I have an application and I connect to unix box through putty , sometimes I Have to check the logs and for that I reached to particular directory and write tail -f abc.log Is there any better command so that these logs are dynamically go on increasing while I work on my application... (6 Replies)
Discussion started by: KAREENA18
6 Replies

8. UNIX for Dummies Questions & Answers

Regarding PUTTY

Hello Forum members There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum. Advance Thanks Siva. (5 Replies)
Discussion started by: workforsiva
5 Replies

9. UNIX for Dummies Questions & Answers

Getting command output to putty window title.

Hi, Last 2 weeks I have searched many forums and i haven't found the answer for the question: How to get all command output to Putty title? Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
Discussion started by: domagaj
1 Replies

10. SCO

Sco 3.2 and PuTTY

Is there anyway to the function keys to work on PuTTY when remoting into a SCO 3.2 server? (8 Replies)
Discussion started by: steveo314
8 Replies
XmClipboardStartRetrieve(library call)									    XmClipboardStartRetrieve(library call)

NAME
XmClipboardStartRetrieve -- A clipboard function that prepares to retrieve data from the clipboard SYNOPSIS
#include <Xm/CutPaste.h> int XmClipboardStartRetrieve (display, window, timestamp) Display * display; Window window; Time timestamp; (void) DESCRIPTION
XmClipboardStartRetrieve tells the clipboard routines that the application is ready to start copying an item from the clipboard. The clip- board is locked by this routine and stays locked until XmClipboardEndRetrieve is called. Between a call to XmClipboardStartRetrieve and a call to XmClipboardEndRetrieve, multiple calls to XmClipboardRetrieve with the same format name result in data being incrementally copied from the clipboard until the data in that format has all been retrieved. A return value of XmClipboardTruncate from calls to XmClipboardRetrieve indicates that more data remains to be copied in the given format. It is recommended that any calls to the Inquire functions that the application needs to make to complete the copy from the clipboard be made between the call to XmClipboardStartRetrieve and the first call to XmClipboardRetrieve. This way, the application does not need to call XmClipboardLock and XmClipboardUnlock. display Specifies a pointer to the Display structure that was returned in a previous call to XOpenDisplay or XtDisplay. window Specifies the window ID of a widget that relates the application window to the clipboard. The widget's window ID can be obtained through XtWindow. The same application instance should pass the same window ID to each of the clipboard functions that it calls. timestamp Specifies the time of the event that triggered the copy. A valid timestamp must be supplied; it is not sufficient to use Cur- rentTime. RETURN
XmClipboardSuccess The function is successful. XmClipboardLocked The function failed because the clipboard was locked by another application. The application can continue to call the function again with the same parameters until the lock goes away. This gives the application the opportunity to ask if the user wants to keep trying or to give up on the operation. RELATED
XmClipboardEndRetrieve(3), XmClipboardInquireCount(3), XmClipboardInquireFormat(3), XmClipboardInquireLength(3), XmClipboardInquirePendin- gItems(3), XmClipboardLock(3), XmClipboardRetrieve(3), XmClipboardStartCopy(3), and XmClipboardUnlock(3). XmClipboardStartRetrieve(library call)
All times are GMT -4. The time now is 10:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy