Bug 666587
Summary: | Some man pages include partial escape codes in output when piped or redirected | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Greg Ercolano <erco> |
Component: | man-db | Assignee: | Ivana Varekova <varekova> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | cjwatson, varekova |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-03-23 08:46:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Greg Ercolano
2011-01-01 06:39:14 UTC
Forgot to mention in the above report: ..in linux text console, *TERM is set to "linux"*. The TERM settings are the defaults. Here is the output of 'printenv|sort' from a linux console, in case it helps: CCACHE_DIR=/var/cache/ccache CCACHE_UMASK=002 CVS_RSH=ssh G_BROKEN_FILENAMES=1 HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/root HOSTNAME=ozark KDEDIRS=/usr KDE_IS_PRELINKED=1 LANG=en_US.UTF-8 LESSOPEN=|/usr/bin/lesspipe.sh %s LOGNAME=root LS_COLORS=[..unrelated info snipped..] MAIL=/var/spool/mail/root PATH=/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin PWD=/root QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include QTLIB=/usr/lib64/qt-3.3/lib SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass TERM=linux USER=root _=/usr/bin/printenv XDG_SESSION_COOKIE=1823dcfe030b50379015bde00000000d-1293863891.991456-2018466980 This is man-db bug. This works fine in Debian; man-db (upstream) sets GROFF_NO_SGR if stdout isn't a tty, which causes groff to omit these escape sequences. I don't see any relevant changes to Fedora's groff that would stop this working. I'll have to create a Fedora VM to investigate this. I am unable to reproduce this in a fresh F14 virtual machine. Is it at all possible that you have the MAN_KEEP_FORMATTING environment variable set (you shouldn't normally)? Could you attach /etc/man_db.conf? Could you run 'man -d man 2>man.debug | head -10', confirm that you've reproduced this bug, and attach the resulting man.debug file? I can not reproduce this bug myself, Greg could you attach here your /etc/man_db.conf configuration file and output of debug output of affected run? I'm closing this bug because of insufficient data. Please if you can provide wanted info reopen this bug and paste info here. |