Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 16:25:45 +0200
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        White Hat <pigskin_referee@yahoo.com>
Cc:        FreeBSD Users Questions <freebsd-questions@freebsd.org>
Subject:   Re: vidcontrol: getting active vty: Inappropriate ioctl for device
Message-ID:  <46505A69.8090005@infidyne.com>
In-Reply-To: <20070519191926.75991.qmail@web34413.mail.mud.yahoo.com>
References:  <20070519191926.75991.qmail@web34413.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig833538FE9456F8751B1609F9
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

> vidcontrol: getting active vty: Inappropriate ioctl
> for device
>=20
> I have this entry in the ~/.bash_profile file:
>=20
> vidcontrol lightcyan

vidcontrol is trying to affect the system console, and does it by
manipulation file descriptor 0 (stdin). If you are logging in at the
user in question at the console it should work. But in X it won't. You
can make it do what you ask to the system console with:

   vidcontrol < /dev/console

But that will require root privileges.

--=20
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org



--------------enig833538FE9456F8751B1609F9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGUFp3DNor2+l1i30RCM2+AJ9eRQ3mjaAKDgxyJGzNpD52E7qxmgCfVesu
nmDf+cEs2tHvTRIxl4VFirE=
=CO7t
-----END PGP SIGNATURE-----

--------------enig833538FE9456F8751B1609F9--



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