LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-26-2008, 01:36 PM   #1
mk27
Member
 
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:
http://www.intergate.com/~halfcountplus/see
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 03:27 PM. Reason: solved
 
  


Reply



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 10:43 PM
"info ls" shows man page instead of info page lorenz Slackware 8 09-21-2007 08:47 PM
Finding pid of a process opened by "popen" Guttorm Programming 2 03-12-2007 02:35 PM
"Man page"-ERROR preeth45 Slackware 3 03-06-2007 07:33 AM
Man Page "Standards" or Writing Guides? TGWDNGHN Programming 3 11-25-2005 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:32 PM.

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
Open Source Consulting | Domain Registration