Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 01:06:00 -0400
From:      Matthew Hunt <mph@pobox.com>
To:        Doug White <dwhite@resnet.uoregon.edu>, Scott Myron <zamy27@hsonline.net>
Cc:        "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ok, i've almost got it..
Message-ID:  <19980430010600.B3631@mph124.rh.psu.edu>
In-Reply-To: <Pine.BSF.3.96.980429153020.13203o-100000@gdi.uoregon.edu>; from Doug White on Wed, Apr 29, 1998 at 03:31:26PM -0700
References:  <35438639.C7DA6CCB@hsonline.net> <Pine.BSF.3.96.980429153020.13203o-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 29, 1998 at 03:31:26PM -0700, Doug White wrote:

> There is a way of hopping between consoles in software using vidcontrol.
> Then it's a matter of hopping to each term and running the command.

Since vidcontrol acts on the terminal that is stdin or stdout (I
never bothered to figure out whcih it was, or both), you do not
need to literally switch vt's.  You can just supply all of your
vty's as stdin and stdout in turn:

echo -n 'activating console mouse:'
for i in /dev/ttyv[0-3]; do
        echo -n " $i"
        vidcontrol -m on < $i > $i
done
echo

-- 
Matthew Hunt <mph@pobox.com> * Stay close to the Vorlon.
http://mph124.rh.psu.edu/~mph/pgp.key for PGP public key 0x67203349.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980430010600.B3631>