LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-22-2016, 04:05 AM   #1
DarkVision
Member
 
Registered: Jul 2007
Posts: 189

Rep: Reputation: Disabled
Question Slackware 14.2beta - midnight-commander and reading man pages


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.
Attached Thumbnails
Click image for larger version

Name:	slackware64-current-screen1.png
Views:	68
Size:	25.5 KB
ID:	20923   Click image for larger version

Name:	slackware64-current-screen2.png
Views:	86
Size:	30.5 KB
ID:	20924  
 
Old 02-22-2016, 06:01 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 4,769
Blog Entries: 14

Rep: Reputation: Disabled
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.
 
Old 02-22-2016, 07:23 AM   #3
DarkVision
Member
 
Registered: Jul 2007
Posts: 189

Original Poster
Rep: Reputation: Disabled
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.
Attached Files
File Type: txt mc-4.8.15-manfix.patch.txt (1.9 KB, 35 views)
 
5 members found this post helpful.
Old 02-24-2016, 05:02 AM   #4
winiks1
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Use the package man-db instead of the man package.
mc then operates correctly.
 
Old 02-24-2016, 08:12 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,426

Rep: Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206
Quote:
Originally Posted by winiks1 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seeking desktop app or GUI for reading 'man pages' SaintDanBert Linux - Newbie 12 12-23-2013 11:29 AM
[SOLVED] midnight commander problem with slackware 14 porphyry5 Slackware 4 01-05-2013 12:37 PM
Pressing 'j' doesn't work reading man pages with xterm, cola Debian 5 12-22-2009 03:57 AM
Hard time reading man pages waelaltaqi Linux - General 5 10-10-2005 10:54 AM
Best GUI tool for reading man pages Burgin Linux - General 1 02-25-2005 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration