pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: man output in opensolaris

Stathis Kamperis schrieb:
Hello everybody.

I'm using pkgsrc 2009Q3 under opensolaris build 127.
When I type 'man pkg_delete' I get a totally unformatted continuous
stream of text output:

The command is used to delete packages that have been  previously
installed  with  the  command.  The given packages are sorted, so
that the dependencies of a package are deleted after the package.
Before  any  action  is  executed,  checks  for packages that are
marked as or have depending packages left.  If the flag is given,
preserved  packages  are  removed  from  the  list of packages to
remove.  Unless the flag is given,  stops  on  the  first  error.
Since  the  command may execute scripts or programs provided by a
package file, your system may be susceptible to or  other  subtle
attacks  from miscreants who create dangerous package files.  You
are advised to verify the competence and identity  of  those  who
... it goes like this till the end

Any hints on what I'm missing ? My $TERM is set to 'xterm'.

Solaris' nroff doesn't know the macro package that the BSD man pages are using. So it skips over all the macros and commands, and what's left is plain text, which is formatted like you see it.

You can use groff instead of nroff, like this:

$ exec groff -Tlatin1 -mandoc -P -c "$@"

But anyway, there is also a preformatted man page for pkg_delete ($LOCALBASE/man/cat8/pkg_delete.0), which should have been installed during bootstrapping. I don't know why this is not the case for you.


Home | Main Index | Thread Index | Old Index