Bug 71274 - man emits escape sequences w/o checking $TERM
Summary: man emits escape sequences w/o checking $TERM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: man
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-11 20:00 UTC by Kjetil T. Homme
Modified: 2007-04-18 16:45 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-11 20:00:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Kjetil T. Homme 2002-08-11 20:00:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020712

Description of problem:
man 1.5j-9 emits escape sequences directly, regardless of how TERM is set.

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


How reproducible:
Always

Steps to Reproduce:
1. TERM=dumb man ls > /tmp/foo
2. od /tmp/foo | head


Actual Results:  /tmp/foo contains escape sequences

Expected Results:  it should be plain text.

man 1.5j-6 also ignores $TERM, but it uses the good old backspace convention to
add bold and underline, which is easily removable using ul(1).


Additional info:

Comment 1 Kjetil T. Homme 2002-10-02 19:43:35 UTC
hurrah!  man-1.5j-11 in Psyche uses the backspace convention!



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