- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help reading screen capture text file with embedde...
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
Forums
Discussions
Discussions
Discussions
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
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
01-14-2004 07:19 AM
01-14-2004 07:19 AM
Help reading screen capture text file with embedded control codes
I need some help trying yo read some screen captures from Hyper Terminal. These files contain standard VT cursor postional codes AKA escape sequences or escape codes. ie: center, tab, newline, underscore, bold etc. I cannot read these files and I have tried every method I know.
Does anyone have any ideas on how I can read these files. One method that used to work in my old VMS days was to issue the 'type' command and the codes would be translated. I cannot find a program that will correctly translate the codes in HP-UX, MS, or Linux. Any help would be greatly appreciated.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 07:35 AM
01-14-2004 07:35 AM
Re: Help reading screen capture text file with embedded control codes
Did you try the hp2dos command.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 07:35 AM
01-14-2004 07:35 AM
Re: Help reading screen capture text file with embedded control codes
ux2dos.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 08:31 AM
01-14-2004 08:31 AM
Re: Help reading screen capture text file with embedded control codes
od -A d -t c -v myfile | pg
Man od for details.
Plan B. http://gatekeep.cs.utah.edu/hppd/hpux/Development/Tools/hexedit-0.9.7/
This will allow you to edit the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 12:07 AM
01-15-2004 12:07 AM
Re: Help reading screen capture text file with embedded control codes
Perhaps a point of clarification is needed.
The embedded coded are cursor placement and format controls. Like when you are using a text based program on a vt200 terminal. These are ansi standard escape sequences that tell the terminal how and where to display the text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 02:35 AM
01-15-2004 02:35 AM
Re: Help reading screen capture text file with embedded control codes
There is no program that will take a file with embedded terminal sequences and somehow display on another device in a pretty way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 02:40 AM
01-15-2004 02:40 AM
Re: Help reading screen capture text file with embedded control codes
cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 02:48 AM
01-15-2004 02:48 AM
Re: Help reading screen capture text file with embedded control codes
Maybe putty is a better terminal to capture this logfile because then you will end up with a normal (ascii) text file without control characters.
Regards,
Peter
Download putty:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 02:52 AM
01-15-2004 02:52 AM
Re: Help reading screen capture text file with embedded control codes
strings yourfile
If you want to display the text with the control codes displayed as \0nnn, then you can use
cat -t yourfile
If you want to see an octal dump of the file with ascii character representations
od -c yourfile
HTH
-- Rod Hills