- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to copy text and image on screen to a file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 02:03 AM
тАО09-21-2006 02:03 AM
For example, In xwindow, when i ran a program, i found many erros . But i don't know how to copy them into a file.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 02:10 AM
тАО09-21-2006 02:10 AM
Re: how to copy text and image on screen to a file
To save Image,highlight the window which you want then alt-print screen and open Windows word and paste so that you would get the active screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 02:11 AM
тАО09-21-2006 02:11 AM
Re: how to copy text and image on screen to a file
in xwindows you can use the windows print screen(Shift + PrtSc) and then insert into word document. This takes an exact graphics copy of your screen.
Or select text etc. with mouse and then Edit-> Copy.
If you have access to your error producing program, perhaps you can redirect the output ?
e.g.
./executable > x.log 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 02:13 AM
тАО09-21-2006 02:13 AM
Re: how to copy text and image on screen to a file
Good morning everybody :)
No points plzzz)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 05:47 PM
тАО09-21-2006 05:47 PM
Re: how to copy text and image on screen to a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 06:42 PM
тАО09-21-2006 06:42 PM
Re: how to copy text and image on screen to a file
You can capture the error and everything from the screen by pressing "PrtSc" button , and then open a Mspaint window and press "ctrl+v" to paste the screen shot, and save it as jpeg.
Perhaps saving text may not work in all xwindow, but you can try ctl+v , Ctrl+c,
HTH,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 03:55 PM
тАО09-25-2006 03:55 PM
Re: how to copy text and image on screen to a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 08:22 PM
тАО09-25-2006 08:22 PM
Re: how to copy text and image on screen to a file
We assumed that you have connected to the X-window using a windows PC.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 08:51 PM
тАО09-25-2006 08:51 PM
Solutionfirst - thanks god that there's no mspaint under hp-ux :-))
In hp-ux 10.20 I got a software 'screencapture', with this you can make a screenshot of your screen or a window or a part of it. The output is a TIFF file, that you can view - under hp-ux there's for example a sw 'imageview'.
To copy a text to a file - open two windows one with the text you want, in the other use the vi-editor - vi
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 09:00 PM
тАО09-25-2006 09:00 PM
Re: how to copy text and image on screen to a file
1. To capture text use:
# command 2>&1 output_file.txt
( This will redicrect standard error and standrard output to the output_file.txt
2. To capture image of xwindow , use "Xwd Capture" , i.e Xwindow Dump,
a) Click on the bottom icon ( 3rd icon from right hand side.), Application Manager --> desktop Tools ---> Click on "Xwd capture" --> Enter the file name you want to save the output.
b) You can view the file using any image viewere with xwd support .
* ) You can also use the command :
# xwd -out output_fil.xwd , And then click on the desired window.
(Viewer example: http://www.accessoryware.com/PictView.htm
http://www.accessoryware.com/Mediaview.htm )
NOTE: If you are connecting Xwindow from a Windows system , you can very well use the "PrtSc" to capture and can paste in any word document or mspaint application and can save as jpeg.
Hope this will help.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 11:23 PM
тАО09-25-2006 11:23 PM
Re: how to copy text and image on screen to a file
The reason is that Xwindows was designed for Unix workstations, not PCs. Your PC is pretending to be the graphic console on a workstation through the use of special software. Indeed, the character mode window (xterm, dtterem, hpterm) is actually resident on the HP-UX box -- you're just redisplaying the image on your PC.
One way to capture the text is simply use your mouse to highlight the text and copy the desired area. Then open a copy of Notepad (*not* Word or some other word processor) and paste the text into Notepad. Notepad is a pure ASCII program and text will now be portable.
However, it is much, much simpler to bypass all the Xwindow junk and simply use telnet, either the PC's built-in telnet command in the DOS command window, or a separate emulator like Hyperterminal. Now your screen is local to your PC and all the normal File -> Print choices will work.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 11:31 PM
тАО09-25-2006 11:31 PM
Re: how to copy text and image on screen to a file
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2006 12:23 AM
тАО09-26-2006 12:23 AM
Re: how to copy text and image on screen to a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2006 12:25 AM
тАО09-26-2006 12:25 AM
Re: how to copy text and image on screen to a file
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2006 12:27 AM
тАО09-26-2006 12:27 AM