On 9/23/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote: > On Sun, Sep 23, 2007 at 05:23:37PM -0600, Chris Kuethe wrote: > > On 9/23/07, Todd Alan Smith <[EMAIL PROTECTED]> wrote: > > > Does "lock -nv" not work? I just read about this in "BSD Hacks" last > > > night, oddly enough. > > > > # lock -nv > > lock: unknown option -- v > > usage: lock [-np] [-a style] [-t timeout] > > > > -np will at least lock the terminal with your password and no timeout.... > > > > Right, but I want it to prevent me from changing to another virtual > terminal.
Referring back to the "BSD Hacks" book (page 22) by Dru Lavigne, I see now that the lock command to which she refers comes with FreeBSD, although she states that it's available for NetBSD and OpenBSD. I'm an OpenBSD newbie, so I'd enjoy learning why a different version of lock is employed in OpenBSD. If anyone in the know wants to elaborate, that'd be great.

