Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternate path for manpages that conflict with man pages from /bin tools #865

Open
IgorTodorovskiIBM opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
Sev 2 - High Breaks current workflow, but there is a workaround

Comments

@IgorTodorovskiIBM
Copy link
Collaborator

IgorTodorovskiIBM commented Sep 23, 2024

If you have one of the conflicting tools installed, like coreutils, performing a man on them will result in the following error:

man df
FSUMF061 Cannot format /usr/local/zopen/usr/local/share/man/man1/df.1

The workaround is to use a function like so:

function oldman
{
 (export MANPATH=/usr/man/%L; /bin/man $1)
 }

oldman df

We should also move the man pages to a altman or zotman directory similar to what was done for bin.

@IgorTodorovskiIBM IgorTodorovskiIBM added the Sev 2 - High Breaks current workflow, but there is a workaround label Sep 23, 2024
@IgorTodorovskiIBM IgorTodorovskiIBM self-assigned this Sep 23, 2024
@AnthonyGiorgio
Copy link
Collaborator

Would it make sense to have a prefix on the command name, so that man gsed works? That way it would be a better out-of-the-box experience.

@lbdyck
Copy link
Collaborator

lbdyck commented Sep 23, 2024

that would depend on if the altbin is active or not and if active then perhaps having an altman is also required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sev 2 - High Breaks current workflow, but there is a workaround
Projects
None yet
Development

No branches or pull requests

3 participants