Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Copy text from a file from VI editor to Windows clipboard Post 302090067 by thaduka on Friday 22nd of September 2006 09:34:27 AM
Old 09-22-2006
Using Putty ... .to copy whole contains to your clipboard then ... what you do is ...
1. Clear the screen ..
2. Clear the scrollback by right click on the top bar and select the option "clear scrollback".
3. From the same option you will find "change settings" --> select this option and againg select "window" option where specify the huge no. say 99999 in no. line for scrollback where it is 200 by default.

4. Now run the file by using the cat <filename>
5. Right click on the top bar and select the "copy all to clipboard"
6. paste it in the notepad.


you get file in the other way also.
1. You can select the "logging " -> and select the radio button "Log all session output" in Session logging.
2. In the log file name .. specify the log file location by clicking the browse button.
3. Now run the file by cat <filename>.
4. After the file contains end. you can see the the log file which you specified in the log file.


if any questions pls feel free to ask ...


thanks
Satish

Last edited by thaduka; 09-22-2006 at 10:43 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automatic Copy of File Contents to Clipboard

Could someone show me how to copy the contents of a file to the clipboard automatically without manually selecting its contents? I just want to press the "Paste Key" to show the results. I wish to use this in a ksh script. I'm using Solaris. Thanks! (5 Replies)
Discussion started by: ilak1008
5 Replies

2. UNIX for Dummies Questions & Answers

Copy file from Windows to Unix

I have a file in windows that I need to copy to UNIX. How can I FTP binary to the UNIX server. Thanks (2 Replies)
Discussion started by: abou202
2 Replies

3. Solaris

need to copy file from solaris to windows

Hi my OS is solaris 9 , we have requirement to copy 1 file from solaris box to windows machine , so which utility or commands any idea will be appreciated Regards (3 Replies)
Discussion started by: maooah
3 Replies

4. Windows & DOS: Issues & Discussions

need a good text editor for windows

I am looking to start to code some shell scripts, php, and probably some other web stuff. Free is preferred. I was looking at rocketedit but I would rather just use free open source if possible. On my Mac I love to use TextWrangler, so is there a Windows equivalent? For Vista/Win7 64bit ... (5 Replies)
Discussion started by: tlarkin
5 Replies

5. UNIX for Dummies Questions & Answers

Copy entire contents of file to clipboard

Hi, I am trying to figure out how to copy the contents of a file to the clipboard, then paste into a command. i.e copy contents of file /path/filename.txt to <command> <paste text> Hope that makes sense. Basically tryting to copy the text for use in a command without having to open the... (8 Replies)
Discussion started by: JCA70
8 Replies

6. UNIX for Advanced & Expert Users

Xterm configuration : how to copy/paste in the CLIPBOARD

Hi, I can paste what is in the CLIPBOARD but I can't get xterm copy. and in fact I think I'm not able to select well with the cursor (I don't want to use the mouse)... here is my ~/.Xresources file : XTerm*highlightSelection: true XTerm*VT100.translations: #override \n\ None ... (5 Replies)
Discussion started by: xib.be
5 Replies

7. Shell Programming and Scripting

Copy from vi Editor ( unix ) to windows

How to copy the complete content from a file in vi Editor to windows ( notepad ). I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies

8. UNIX and Linux Applications

Notepad++ hang when open file edited in other text editor

Hi, I would like to ask about the notepad++ text editor application, Although there are alternative and more great text editor in linux (gedit, geany, jedit) im still using the notepad++ sometimes cause for some of my own reason one of those is the minimalist text(what i mean is notepad++ has a... (2 Replies)
Discussion started by: jao_madn
2 Replies

9. UNIX for Dummies Questions & Answers

How do I copy from windows clipboard into VI session?

trying to add my Google analytics code to every page on my site. I want to paste in into every file. I have it in Notepad++. If I open a file in VI, using Putty to connect is it easy to just paste into the VI session? (3 Replies)
Discussion started by: waynehazle
3 Replies

10. Solaris

Solaris 10 : command to copy text to the clipboard.

I'm searching a command to copy text to the clipboard. xclip and xsel are commands which are available on several kind Linux and Unix OS, but is unfortenuately not available on solaris 10. REF : xpt.sourceforge.net/techdocs/nix/x/general/xwin12-Xclipboard/single/ clipboard of openSolaris is... (9 Replies)
Discussion started by: droopy4u
9 Replies
TWEAK(1)						      General Commands Manual							  TWEAK(1)

NAME
tweak - edit bitmap files, subfont files, face files, etc. SYNOPSIS
tweak [ file ... ] DESCRIPTION
Tweak edits existing files holding various forms of bitmap images. To create original images, use art(1) or start from an existing bitmap, subfont, etc. Tweak reads its argument files and displays the resulting bitmaps in a vertical column. If the bitmap is too wide to fit across the dis- play, it is folded much like a long line of text in an 81/2 window. Under each bitmap is displayed one or two lines of text presenting parameters of the image. The first line shows the bitmap's ldepth, the log base 2 of the number of bits per pixel; r, the rectangle cov- ered by the image; and the name of the file from which it was read. If the file is a subfont, a second line presents a hexadecimal 16-bit offset to be applied to character values from the subfont (typically as stored in a font file; see font(6)); and the subfont's n, height, and ascent as defined in cachechars(2). By means described below, magnified views of portions of the bitmaps may be displayed. The text associated with such a view includes mag, the magnification. If the view is of a single character from a subfont, the second line of text shows the character's value (including the subfont's offset) in hexadecimal and as a character in tweak's default font; the character's x, top, bottom, left, and width as defined in cachechars(2); and iwidth, the physical width of the image in the subfont's bitmap. There are two methods to obtain a magnified view of a character from a subfont. The first is to click mouse button 1 over the image of the character in the subfont. The second is to select the char entry on the button 3 menu, point the resulting gunsight cursor at the desired subfont and click button 3, and then type at the text prompt at the bottom of the screen the character value, either as a multi-digit hexa- decimal number or as a single rune representing the character. To magnify a portion of other types of bitmap files, click button 1 over the unmagnified file. The cursor will switch to a cross. Still with button 1, sweep a rectangle, as in 81/2, that encloses the portion of the image to be magnified. (If the file is 16x16 or smaller, tweak will just magnify the entire file; no sweeping is necessary.) Depressing buttons 1 and 2 within magnified images changes pixel values. By default, button 1 sets the pixel to all ones and button 2 sets the pixel to all zeros. Across the top of the screen is a textual display of global parameters. These values, as well as many of the textual values associated with the images, may be edited by clicking button 1 on the displayed value and typing a new value. The values along the top of the screen are: mag Default magnification. val(hex) The value used to modify pixels within magnified images. The value must be in hexadecimal, optionally preceded by a tilde for bit- wise negation. but1 but2 The boolean function used by the named button to set pixel values. The function may be specified either by name as defined in <libg.h>, e.g. DorS, or by simple boolean expression, e.g. S|D. In these expressions, S is the pixel value defined above and D is the pixel being modified. copy The boolean function used in the copy menu item. Under button 3 is a menu holding a variety of functions. Many of these functions prompt for the image upon which to act by switching to a gunsight cursor; click button 3 over the selection, or click a different button to cancel the action. open Read and display a file. The name of the file is typed to the prompt on the bottom line. read Reread a file. write Write a file. copy Use the copy function, default S, to transfer a rectangle of pixels from one image to another. The program prompts with a cross cursor; sweep out a rectangle in one image or just click button 3 to select the whole image. The program will leave that rectangle in place and attach another one to the cursor. Move that rectangle to the desired place in any image and click button 3, or another button to cancel the action. char As described above, open a magnified view of a character image in a subfont. close Close the specified image. If the image is the unmagnified file, also close any magnified views of that file. exit Quit tweak. The program will complain once about modified but unwritten files. To clear blocks of pixels, use copy with function 0. SOURCE
/sys/src/cmd/tweak.c SEE ALSO
art(1), cachechars(2), bitmap(6), font(6) TWEAK(1)
All times are GMT -4. The time now is 09:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy