Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-26-2008, 02:36 PM   #1
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
use of "man [page] | col -b" with popen();

This is not really a programming question, but it starts there:

I just wrote a simple GUI man page viewer (in C/gtk2) using popen("man [page] | col -b", "r"). This works fine except with about 10% of pages I get "No manual page for page...". I actually took out my stock man rpm and installed the latest man-db from source, but it does the same thing.

Anyway, I am at a loss as to where to start looking for the solution, and am hoping somewhat else has encountered the problem before.[solved later]

ps. if some brave person is interested in trying the viewer (which also allows you to save bookmarks and highlighting, etc.) the code is available for playtesting:
There's some brief description, screenshots, etc., but no makefile yet, so you have to compile using gcc...

Last edited by mk27; 09-27-2008 at 04:27 PM. Reason: solved


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The "Baby" Man Page: More Linux and Unix Jokes LXer Syndicated Linux News 1 09-20-2008 11:43 PM
"info ls" shows man page instead of info page lorenz Slackware 8 09-21-2007 09:47 PM
Finding pid of a process opened by "popen" Guttorm Programming 2 03-12-2007 03:35 PM
"Man page"-ERROR preeth45 Slackware 3 03-06-2007 08:33 AM
Man Page "Standards" or Writing Guides? TGWDNGHN Programming 3 11-25-2005 09:54 PM

All times are GMT -5. The time now is 06:53 PM.

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