Fix man-pages in mac os & macports

2 Jul
2009

Got this error?

man port
Cannot open the message catalog "man" for locale "de_AT.UTF-8"
(NLSPATH="<none>")

MacPorts forgot to set the path for their man-pages. Add this to your ~/.bashrc (or export it for now)

MANPATH=${MANPATH}:/opt/local/man

And now the manpages look like this?

ESC[1mNAMEESC[0m

Open ~/.bashrc again and add

export PAGER="less -E -r"

Now we’re in wonderland again :)

Related posts:

  1. Convert mercurial repos to git
  2. Clean up after macports
  3. j – quick jump for the console

Comment Form

top

Switch to our mobile site