*BSD News Article 57877


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!usenet.eel.ufl.edu!col.hp.com!sdd.hp.com!hp-pcd!hp-cv!reuter.cse.ogi.edu!engr.orst.edu!news.orst.edu!news.uidaho.edu!usenet
From: "Faried Nawaz" <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Newbie 2.1 Impressions
Date: 02 Jan 1996 18:43:18 -0800
Organization: People's Front Against WWW
Lines: 28
Sender: nawaz921@hoodoo.cs.uidaho.edu
Distribution: world
Message-ID: <imd992ngl5.fsf@hoodoo.cs.uidaho.edu>
References: <4cbupd$gpr@kocrsv08.delcoelect.com>
Reply-To: fn@uidaho.edu
NNTP-Posting-Host: hoodoo.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: September Gnus v0.15

In article <4cbupd$gpr@kocrsv08.delcoelect.com> c23peg@mail.delcoelect.com (Perry Grieb) writes:

$ I am now trying to figure out how to configure the keyboard and
$ swap the left cntl key and caps lock key.  I did this in linux and
$ I believe it can be done in FreeBSD.  I guess I need to boot up
$ linux and review exactly what I did...  Any pointers in this area
$ would be appreciated.

i'm assuming you're using syscons (the default console driver):

  dump the keyboard map   (kbdcontrol -d > /tmp/dump)
  edit it and exchange the lctrl and clock entries
  save the map in /etc    (i have /etc/keyboardmap, the name's irrelevant)
  edit /etc/sysconfig and set kbdmap to the map file.

you're set.

i have no idea how one does that with pcvt.  someone (please!) tell me
how i can remap the capslock key to control.


$ Also, file protections seem to be different than under linux.
$ I could not "su root".  I think there was an installation or
$ configuration screen that I may have blown past too fast here.
$ I did not think it was important at the time.  Probably just
$ some misconfigured "group" somewhere (/etc/passwd or /usr/home?).

yes.  add yourself to the `wheel' group in /etc/group.