Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343421 - [dstore] Man page was not displayed properly in the shell
Summary: [dstore] Man page was not displayed properly in the shell
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 344884
  Show dependency tree
 
Reported: 2011-04-20 10:34 EDT by Samuel Wu CLA
Modified: 2011-05-05 15:02 EDT (History)
1 user (show)

See Also:


Attachments
patch to handle \b characters in shell (1.78 KB, patch)
2011-05-05 11:52 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.