Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#120 closed defect (invalid)

khelp and konqueror do not read man files properly.

Reported by: jim_holgate@… Owned by: diego@…
Priority: normal Component: DOCS
Version: 1.0pre5 Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

#! /bin/sh
# khelp and konqueror do not read the man files supplied
# with mplayer properly. This shell script will substitute
# ".IPs" with ".BI" in the mplayer.1 man document
# so that khelp and konqueror can read them properly.
# requires: sed, sh
# Open a command console (shell).
# Make this script executable (see man chmod)
# Log in with permission to edit the mplayer.1 document(s) (see man su)
# Syntax:
# fixMPlayerManual.sh <path to man file>
# Example:
# ./fixMPlayerManual.sh usr/local/man/man1/mplayer.1
# --------------------------------------------------------------
# You could also fix the man file(s) with a text editor.
# I hereby release this script to the public domain.
# No warranty. No support.
# --------------------------------------------------------------
sed s/".IPs"/".BI"/ < $1 > delete_me
mv delete_me $1

Change History (3)

comment:1 by diego@…, 20 years ago

Resolution: invalid
Status: newclosed
Summary: khelp and konqueror do not read man files properly. khelp and konqueror do not read man files properly.

So how is this a bug in the man page and not in khelp/konqueror?

comment:2 by jim_holgate@…, 20 years ago

Thank you for your comment. Most man files in my Debian based distribution use
the tag ".BI" instead of ".IPs", and by changing the mplayer man file I was able
to make it readable by khelp, konqueror as well as the console.

If you would like to change the original man files to be make them more widely
usable, you are most welcome. However, if not, at least this bug report might
help someone who has an unusable help system to figure out how to fix it.

Thanks again for your comment.

comment:3 by diego@…, 20 years ago

rep_platform: PC (x86)All

.BI and .IPs are not the same. .IPs is a macro in our man page to create
indented paragraphs , .BI is a standard man macro to alternate bold and italic
typefaces.

Note: See TracTickets for help on using tickets.