From owner-freebsd-hackers Sat Feb 4 11:58:22 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA04412 for hackers-outgoing; Sat, 4 Feb 1995 11:58:22 -0800 Received: from winky (winky.reno.nv.us [140.174.194.250]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA04398 for ; Sat, 4 Feb 1995 11:58:17 -0800 Received: from localhost (localhost [127.0.0.1]) by winky (8.6.9/8.6.9) with SMTP id LAA00372 for ; Sat, 4 Feb 1995 11:57:05 -0800 Message-Id: <199502041957.LAA00372@winky> X-Authentication-Warning: winky.reno.nv.us: Host localhost didn't use HELO protocol To: freebsd-hackers@FreeBSD.org Subject: Help hacking vidcontrol, possibly syscons Date: Sat, 04 Feb 1995 11:57:00 -0800 From: Eric Blood Sender: hackers-owner@FreeBSD.org Precedence: bulk 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