lock(1) to lock all virtual terminals?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
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 message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lock(1) to lock all virtual terminals?, Douglas A. Tutty, (Fri Sep 21, 12:46 pm)