Project

General

Profile

Bug #7368

man incorrectly displays tables

Added by Alexander Pyhalov about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-09-10
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Found the following sample in mongos man page:

The time format for timestamps in log messages. Specify one of the
following values:
.TS
center;
|l|l|.
_
T{
Value
T}      T{
Description
T}
_
T{
\fBctime\fP
T}      T{
Displays timestamps as \fBWed Dec 31
18:17:54.811\fP\&.
T}
_
T{
\fBiso8601\-utc\fP
T}      T{
Displays timestamps in Coordinated Universal Time (UTC) in the
ISO\-8601 format. For example, for New York at the start of the
Epoch: \fB1970\-01\-01T00:00:00.000Z\fP
T}
_
T{
\fBiso8601\-local\fP
T}      T{
Displays timestamps in local time in the ISO\-8601
format. For example, for New York at the start of the Epoch:
\fB1969\-12\-31T19:00:00.000+0500\fP
T}
_
.TE

Our man shows table ugly, compared to GNU man. http://imgur.com/a/w94Ej


Related issues

Related to illumos gate - Feature #8547: update mandoc to 1.14.3Closed2017-07-28

Actions

History

#1

Updated by Yuri Pankov about 3 years ago

The wrapping issue is now in TODO in upstream - http://mdocml.bsd.lv/cgi-bin/cvsweb/TODO.diff?r1=1.221&r2=1.222&f=h.

#2

Updated by Yuri Pankov about 2 years ago

I'm testing the 1.14.2 release candidate now, and the results looks promising:

                +--------------+------------------------------+
                |Value         | Description                  |
                +--------------+------------------------------+
                |ctime         | Displays timestamps as Wed   |
                |              | Dec 31 18:17:54.811.         |
                +--------------+------------------------------+
                |iso8601-utc   | Displays timestamps in       |
                |              | Coordinated Universal Time   |
                |              | (UTC) in the ISO-8601        |
                |              | format. For example, for New |
                |              | York at the start of the     |
                |              | Epoch:                       |
                |              | 1970-01-01T00:00:00.000Z     |
                +--------------+------------------------------+
                |iso8601-local | Displays timestamps in local |
                |              | time in the ISO-8601 format. |
                |              | For example, for New York at |
                |              | the start of the Epoch:      |
                |              | 1969-12-31T19:00:00.000+0500 |
                +--------------+------------------------------+

#3

Updated by Yuri Pankov about 2 years ago

#4

Updated by Yuri Pankov about 2 years ago

  • Status changed from New to Feedback
  • Assignee set to Alexander Pyhalov

This should be fixed in #8547, please re-check.

#5

Updated by Alexander Pyhalov about 2 years ago

Thank you, now it looks fine.

#6

Updated by Yuri Pankov about 2 years ago

  • Status changed from Feedback to Closed
  • Assignee deleted (Alexander Pyhalov)

fixed in mandoc 1.14.3 (#8547).

Also available in: Atom PDF