On Feb 27 at 15:48, Giorgos Keramidas spoke:

> On 2003-02-27 12:39, Hanspeter Roth <[EMAIL PROTECTED]> wrote:
> > Hello,
> > how can I determine the active console?
> Use the tty(1) command:

But this seems to yield the tty from which the command was launched.
So if I do

sleep 9; tty

and then switch to an another console, that `tty` yields the tty
that was active when the command line was started.
But I'd like to know the console that has got the keyboard focus by
switching with <ctrl>-<alt>-<fN>.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to