Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Feb 1995 11:57:00 -0800
From:      Eric Blood <eblood@winky.reno.nv.us>
To:        freebsd-hackers@FreeBSD.org
Subject:   Help hacking vidcontrol, possibly syscons
Message-ID:  <199502041957.LAA00372@winky>

next in thread | raw e-mail | index | archive | help

I would like to be able to make different settings for each 
virtual console on startup.  The problem is that vidcontrol
only modifies the console tied to stdin (which in the case
of starting up is only ttyv0).

I quickly modified vidcontrol to open /dev/ttyv3, O_RDONLY
and then passed that file descriptor to the ioctl call
just as vidcontrol originally did (except with just stdin).
The result is the virtual terminal running the modified
vidcontrol is the one to change, not the hardwired /dev/ttyv3.

Can I just change vidcontrol to do what I need?  If so, how.
Or, will I need to change syscons?  If so, how much.

Thanks.

EVB



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