Hi Craig,

Ted Unangst wrote on Tue, Mar 03, 2015 at 10:09:08AM -0500:
> Craig Skinner wrote:

>> $ man rksh
>> sh: /tmp/man.v3NbpQf33a: restricted
>> sh: /usr/bin/more: restricted

That looks like the "man" you are executing is a shell script starting
with "#!/bin/sh".  In particular, it does not look like the mandoc
implementation of man(1) because that doesn't create temporary files.
What does

  $ which man
  $ file `which man`

tell you?

> I don't know. Works for me.
> 
> carbolite:~> rksh
> carbolite:~> man rksh | wc
>     2971   20398  166126
> carbolite:~> cd /
> rksh: cd: restricted shell - can't cd

Indeed, both the old BSD man(1) that was in OpenBSD 5.6 and the new
mandoc man(1) that will be in OpenBSD 5.7 work onb -current.

Yours,
  Ingo

Reply via email to