Bug 1218871 - Wrong Hyperlink representation in the ruby man page
Summary: Wrong Hyperlink representation in the ruby man page
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-terminal
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-06 06:07 UTC by Joachim Backes
Modified: 2016-07-19 14:00 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 14:00:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 749008 0 None None None Never
Ruby 11133 0 None None None Never

Description Joachim Backes 2015-05-06 06:07:47 UTC
Description of problem:

Enter the command "man ruby" for example in a gnome-terminal. Go to the "AUTHORS" section. Then the link in the "See" line will be 

https://bugs.ruby-lang.org/projects/ruby/wiki/Contributors⟩

[including ")"]. You see this if crossing this line with the mouse. The superfluous closing bracket ")" prevents from opening this URL by using the right mouse button with the "Open link" feature of gnome-terminal.

Version-Release number of selected component (if applicable):

ruby-2.2.2-11.fc22.x86_64
How reproducible:
always


Steps to Reproduce:
1.Open a gnome-terminal
2.Enter: man ruby and navigate to the "AUTHORS" section, and point with the mouse to the "See" line


Actual results:

The selected URL will be "https://bugs.ruby-lang.org/projects/ruby/wiki/Contributors⟩"
Expected results:
No closing bracket at the line end

Additional info:

Comment 1 Vít Ondruch 2015-05-06 10:27:39 UTC
I don't think I can do anything about this. This seems to be specific to gnome-terminal.

Comment 2 Vít Ondruch 2015-05-06 10:50:40 UTC
It seems that gnome-terminal does not handle escape sequences correctly. These are steps to reproduce

curl -O https://raw.githubusercontent.com/ruby/ruby/trunk/man/ruby.1
groff -mdoc -Tutf8 ruby.1 > ruby.out
cat ruby.out

You can see that the link is translated into:

⟨ESC[4mhttps://bugs.ruby-lang.org/projects/ruby/wiki/ContributorsESC[24m⟩

where the escape is not handled correctly for some reason.

BTW if you'd like to see this fixed in gnome-terminal, I'd suggest you to report this issue gnome upstream, since I'm afraid it might get lost in Fedora's Bugzilla.

Comment 3 Vít Ondruch 2015-05-06 10:59:32 UTC
Actually, I went ahead and reported the issue upstream.

Comment 4 Joachim Backes 2015-05-06 11:41:51 UTC
Thank you for forwarding. But I think, it's not only a gnome-terminal problem: same issue with the "/usr/bin/konsole" program (belongs to KDE!)

Comment 5 Vít Ondruch 2015-05-06 12:34:46 UTC
I tried in terminator and it works there. The terminals may share some escape sequence parsing library though. Dunno.

Comment 6 Fedora End Of Life 2016-07-19 14:00:27 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.