Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343421

Summary: [dstore] Man page was not displayed properly in the shell
Product: [Tools] Target Management Reporter: Samuel Wu <samuelwu>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: dmcknigh
Version: unspecified   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 344884    
Attachments:
Description Flags
patch to handle \b characters in shell none

Description Samuel Wu CLA 2011-04-20 10:34:13 EDT
Build Identifier: RSE 3.2.2 maintenance

When displaying a man page in remote shell, there were a lot of control characters which made the page unreadable.

Reproducible: Always

Steps to Reproduce:
1. Open a remote shell
2. Run the command man ls
Comment 1 Samuel Wu CLA 2011-04-20 10:36:37 EDT
This seems to be a problem with the dstore connection. The man page from the shell on an SSH only connection can be displayed properly.
Comment 2 David McKnight CLA 2011-04-20 13:46:35 EDT
For shell output with control characters, there are known limitations with the dstore shell support.  For such formatted output, you'll have more success with the terminal.
Comment 3 Samuel Wu CLA 2011-04-20 16:54:47 EDT
Dave,
Is it possible to skip those control characters? Currently it makes the page unreadable.
Comment 4 David McKnight CLA 2011-05-05 11:50:19 EDT
(In reply to comment #3)
> Dave,
> Is it possible to skip those control characters? Currently it makes the page
> unreadable.

I can skip the \b control characters.
Comment 5 David McKnight CLA 2011-05-05 11:52:00 EDT
Created attachment 194845 [details]
patch to handle \b characters in shell

I've tried this out on intel linux and it seems to help.  Can you try this patch with z/os?
Comment 6 Samuel Wu CLA 2011-05-05 13:52:02 EDT
Hi Dave,
The patch works fine. Thanks a lot. Can you port it back to 3.2.x?
Comment 7 David McKnight CLA 2011-05-05 14:58:51 EDT
(In reply to comment #6)
> Hi Dave,
> The patch works fine. Thanks a lot. Can you port it back to 3.2.x?

Okay, I've committed the fix to cvs and opened bug 344884 for the backport.