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.
The entire file contains several pages.I can only highlight one page,the mouse cannot scrool down.
As long as it doesn't exceed the size of the putty buffer (which you can increase), you can just cat the file, use the slider bar and go to the top, then highlight the top of the file and drag to the bottom. Ctrl+Ins will capture the highlighted text to your clipboard which can then be pasted into notepad. You may not need to use Ctrl+Ins if it's in the buffer automatically. It depends on the version of Putty or perhaps a configuration option since it doesn't always work for me.
Quote:
Originally Posted by zhshqzyc
-bash: mailx: command not found
What happened?
mailx isn't in your path or you don't have it installed (don't know what version of unix you're using). Try using "mail" instead or check /bin, /usr/bin, /sbin, /usr/sbin, /usr/local/bin and see if you can find one of the "mail" programs. Then just add the path and it'll work.
But where can I find the path of mailx?
Do I need to copy it into my subfolder once I find it?
You don't say what version of unix you're accessing so you can either hunt through the paths I posted earlier or use one of the utilities to hunt for it. For example, on Solaris (my main unix),
So I know that mailx is in /usr/bin.
On Linux boxes (the couple I checked anyway), there is no mailx program. The mail program is in /bin
On AIX mailx is in /usr/bin just like Solaris
On HP-UX mailx is in /usr/bin.
So if the system is running linux, use:
If the system is using a non-Linux Unix, you'd do this instead:
Of course you must replace you@email.tld with a valid e-mail address that you receive e-mail from and (filename) must be replaced with the name of the file you're trying to send to yourself.
or trying to find the mailx on your system you could use the find command "find [search-destination i.e. "/"] -name mailx"
- only this demands you to have the find command embedded on your system, eventhough this is pretty comon on most unixes.
Otherwise you could use "mail" as someone surgested, another one is sendmail which is also possible that you have.
- note that either mailer could be used with a number of parameters, above/below is only shown the most simplified you need; "more {filename} | mailx {you@email.tld}" ~ you could also use the cat instead of more, they do the same in this matter...
- I hope all these surgestions points you out to a solution for your problem.
ps. Putty is very good dump terminal, and note that you are able to configure it in numerous ways, that could help you out while connected to a unix shell.
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)
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)
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)
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)
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)
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)
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)
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)
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)