Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - man for QNX 6.4.1: (3 Items)
   
man for QNX 6.4.1  
As I recall there was gnu man for older QNX versions, from software installer. 

I cannot find a way to install man under current version. Many packages from pkgsrc install man files which I am unable 
to view.

Anybody knows how to install man on 6.4.1?
Re: man for QNX 6.4.1  
On Fri, Jun 05, 2009 at 07:43:08AM -0400, Leet Geezer wrote:
> As I recall there was gnu man for older QNX versions, from software installer. 
> 
> I cannot find a way to install man under current version. Many packages from pkgsrc install man files which I am 
unable to view.
> 
> Anybody knows how to install man on 6.4.1?

This is on my list.  For now you can 'nroff -man <manpage> | less -r'.

-seanb
Re: man for QNX 6.4.1  
very simple man :)
---
#!/bin/sh

[ -z "$MANPATH" ] && MANPATH="/usr/pkg/man/man[0-9] /usr/local/man/man[0-9]"
[ -z "$MANPAGER" ] && MANPAGER="less -ris"

case "$#" in
 1)
  MANFINDPARAM="$1.*"
 ;;
 2)
  MANFINDPARAM="$2.$1"
 ;;
 *)
  echo "Usage: $0 [section] name"
  exit 0
 ;;
esac

MANFILE=`find $MANPATH -name $MANFINDPARAM \( -type f -o -type l \) -print | head -n 1`
[ -z "$MANFILE" ] && echo "No manual entry for $MANFINDPARAM" && exit 1
nroff -man $MANFILE | $MANPAGER 
--