LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14.2beta - midnight-commander and reading man pages (https://www.linuxquestions.org/questions/slackware-14/slackware-14-2beta-midnight-commander-and-reading-man-pages-4175572889/)

DarkVision 02-22-2016 03:05 AM

Slackware 14.2beta - midnight-commander and reading man pages
 
2 Attachment(s)
Hi...
on Slackware 14.1 i used midnight-commander as a man page viewer... navigate to /usr/man/man1 and press F3 to view the selected man page (yes i know i can use man xyz from the command line... thats not the question).

On Slackware 14.2beta i get an error message, see screenshot 1. The error looks somewhat incomplete. If i repeat trying to open the man page i get a different (more complete) error message, see screenshot 2.

Can someone please verify this?
Thanks.

GazL 02-22-2016 05:01 AM

Yes, happens here too. I suspect the 'mc' devs just assumed that everyone would be using the same implementation of man as they are. The script in question is /usr/libexec/mc/ext.d/text.sh.

DarkVision 02-22-2016 06:23 AM

1 Attachment(s)
Thanks for testing. Looks like this has been fixed in the current development version of mc by removing the -l option. Here is the commit with the patch attached and here is the ticket. I have tested it here and it seem to work.

Attached is a patch that applies the upstream fix to the current SlackBuild for mc 4.8.15 in Slackware-current.

winiks1 02-24-2016 04:02 AM

Use the package man-db instead of the man package.
mc then operates correctly.

bassmadrigal 02-24-2016 07:12 AM

Quote:

Originally Posted by winiks1 (Post 5505315)
Use the package man-db instead of the man package.
mc then operates correctly.

This was corrected in yesterday's updates to -current, so this is no longer a reason to switch to man-db (although, there could be others).

Code:

Tue Feb 23 19:31:59 UTC 2016
ap/mc-4.8.15-x86_64-2.txz: Rebuilt.
      Patched to fix displaying man pages. Thanks to DarkVision.



All times are GMT -5. The time now is 06:41 AM.