lock(1) to lock all virtual terminals?

Previous thread: Re: Skype on OpenBSD 4.1 using Fedora RPM by Siju George on Friday, September 21, 2007 - 11:48 am. (1 message)

Next thread: Re: Is AMD64 page out of date about W^X? by rwaite1 on Friday, September 21, 2007 - 2:48 pm. (2 messages)
To: <misc@...>
Date: Friday, September 21, 2007 - 12:46 pm

I don't use X much and instead use lots of Virtual Terminals.

Since I'm on dialup, sometimes I need to leave multiple VTs open to do
things, perhaps downloading something, or its just that I'm in the
middle of things.

How can I lock the whole virtual termial setup? lock(1) only lets me
lock the one VT without blocking the ability to switch to others. On
Debian, there's vlock -a that does this. I don't see anything similar
in the available packages for OBSD.

I can't read code so I don't know how lock(1) works internally. To get
it to lock everything, I guess it would have to capture the Alt-Fn key
combo. However, the OS (wscons(4)?) likely captures that before the
keys get passed on to the application. So I'm sorry, I can't provide a
patch.

Any suggestions?

Doug.

Previous thread: Re: Skype on OpenBSD 4.1 using Fedora RPM by Siju George on Friday, September 21, 2007 - 11:48 am. (1 message)

Next thread: Re: Is AMD64 page out of date about W^X? by rwaite1 on Friday, September 21, 2007 - 2:48 pm. (2 messages)