Date: Sat, 4 Feb 95 23:10:46 MET From: sos@login.dknet.dk (S|ren Schmidt) To: eblood@winky.reno.nv.us (Eric Blood) Cc: freebsd-hackers@FreeBSD.org Subject: Re: Help hacking vidcontrol, possibly syscons Message-ID: <9502042210.AA25866@login.dknet.dk> In-Reply-To: <199502041957.LAA00372@winky>; from "Eric Blood" at Feb 4, 95 11:57 am
next in thread | previous in thread | raw e-mail | index | archive | help
You just have to redirect stdin as in: vidcontrol VGA_80x50 < /dev/ttyv4 No mods are nessesary to either vidcontrol or syscons. > 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 > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org | sos@login.dknet.dk) FreeBSD Core Team So much code to hack -- so little time ..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9502042210.AA25866>