[Bug 1561284] Re: man pages are not displayed correctly
mathematatin
nintendo.thomas at gmail.com
Thu Mar 31 19:43:11 UTC 2016
** Also affects: gnome-terminal (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to man-db in Ubuntu.
https://bugs.launchpad.net/bugs/1561284
Title:
man pages are not displayed correctly
Status in gnome-terminal package in Ubuntu:
New
Status in man-db package in Ubuntu:
Incomplete
Bug description:
Many man pages are not displayed correctly. For example, "man bash" or
"man 3 printf" do not display correctly.
If I do "man 3 printf" and copy/paste the output (below), the output
looks normal, but it does not look normal in my terminal screen! It is
totally messed up!
This just started after I upgraded from Ubuntu 15.04 to 15.10. I have
been using Ubuntu for years, and I have never had any problem with the
display of the man pages until now.
I took a screenshot of my terminal page to show how it looks and
attached it along with the man debug output.
Copy/paste output snippet:
PRINTF(3)
Linux Programmer's Manual
PRINTF(3)
NAME
printf, fprintf, sprintf, snprintf, vprintf, vfprintf, vsprintf, vsnprintf - formatted output conversion
SYNOPSIS
#include <stdio.h>
int printf(const char *format, ...);
int fprintf(FILE *stream, const char *format, ...);
int sprintf(char *str, const char *format, ...);
int snprintf(char *str, size_t size, const char *format, ...);
#include <stdarg.h>
int vprintf(const char *format, va_list ap);
int vfprintf(FILE *stream, const char *format, va_list ap);
int vsprintf(char *str, const char *format, va_list ap);
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
Feature Test Macro Requirements for glibc (see
feature_test_macros(7)):
snprintf(), vsnprintf():
_BSD_SOURCE || _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L;
or cc -std=c99
DESCRIPTION
The functions in the printf() family produce output according to a format as described below. The functions printf() and vprintf() write output to stdout, the standard output stream; fprintf() and vfprintf() write
output to the given output stream; sprintf(), snprintf(), vsprintf() and vsnprintf() write to the character string str.
The functions snprintf() and vsnprintf() write at most size
bytes (including the terminating null byte ('\0')) to str.
The functions vprintf(), vfprintf(), vsprintf(), vsnprintf() are equivalent to the functions printf(), fprintf(), sprintf(), snprintf(), respectively, except that they are called with a va_list instead of a variable
number of arguments. These functions do not call the va_end macro. Because they invoke the va_arg macro, the value of ap is undefined after the call. See stdarg(3).
These eight functions write the output under the control of a format string that specifies how subsequent arguments (or arguments accessed via the variable-length argument facilities of stdarg(3)) are converted for
output.
...
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: man-db 2.7.4-1
ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
Uname: Linux 4.2.0-34-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 23 20:25:16 2016
InstallationDate: Installed on 2015-06-11 (286 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: man-db
UpgradeStatus: Upgraded to wily on 2016-03-17 (6 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1561284/+subscriptions
More information about the foundations-bugs
mailing list