From owner-freebsd-arch Wed May 30 22:29:26 2001 Delivered-To: freebsd-arch@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 890F537B422; Wed, 30 May 2001 22:29:23 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 21EE03E0B; Wed, 30 May 2001 22:29:23 -0700 (PDT) To: Bruce Evans Cc: Dag-Erling Smorgrav , arch@FreeBSD.ORG, sheldonh@freebsd.org Subject: Re: {kbd,vid}control insanity patch In-Reply-To: ; from bde@zeta.org.au on "Wed, 30 May 2001 23:13:20 +1000 (EST)" Date: Wed, 30 May 2001 22:29:22 -0700 From: Dima Dorfman Message-Id: <20010531052923.21EE03E0B@bazooka.unixfreak.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans writes: > On Tue, 29 May 2001, Dima Dorfman wrote: > > > Dag-Erling Smorgrav writes: > > > Dima Dorfman writes: > > > > Dag-Erling Smorgrav writes: > > > > > Damn, yet another kbdcontrol bug. This - like every other vty- > > > > > specific knob - should be in vidcontrol. > > > > Are keymaps vty-specific? > > > > > > No, they're global. > > > > Okay, then that leaves -f, -F, -b, and -r in kbdcontrol. The patch > > attached below moves those to vidcontrol as -F, -G, -B, and -R, > > respectively. If this ends up getting committed I'll gladly nuke > > allscreens_kbdflags. > > Not OK. The "vid" in vidcontrol means "video", not "vty". The keyboard > functions were intentionally split off from the video functions when > vidcontrol(1) and kbdcontrol(1) were spawned from syscons(1). Everything > may belong in syscons(1) again, but the interfaces should not be > gratuitously different from those in the utilities for other console > drivers. pcvt already has enough gratuitous differences in its scon(1) > and kcon(1) utilities. I'm not quite sure what you're objecting to here; is it the option names (the fact that they'd have to be different) or that keyboard-related options are going into vid[eo]control? Perhaps both? Anyway, the option names are different simply because vidcontrol already has options with the orignal letters. I agree with your assertion that keyboard stuff shouldn't be in a program that's supposed to control video. However, DES is right that it is needlessly confusing to have two programs for vty-specific syscons stuff. So what do you (and Sheldon) suggest? Rename vidcontrol to control? Is the reason for splitting syscons(1) into kbdcontrol(1) and vidcontrol(1) still valid (what was the reason, anyway?)? Regards, Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message