By using kcon(1), "kcon - keyboard control and remapping for the pcvt driver" Before you can use this, you need to turn on character mapping with scon.
bsd# scon -o bsd# kcon -m gb
This will load the keycap file for Great Britain. Note that if you run scon -o again, this will turn character mapping back off, which you probably don't want to do if you are using kcon for remapping. Keep this in mind if you use scon in any automated fashion, such as in scripts.
These commands can only be executed from a pcvt virtual terminal.
After the release of OpenBSD 2.7 a port of FreeBSD's moused(8) mouse daemon was done. It was modified to use OpenBSD's pcvt(4) console interface. This will be on by default for i386 release 2.8 and beyond. Other platforms cannot make use of this utility yet.
To do this you must add a line in /etc/gettytab. Change the section currently:
P|Pc|Pc console:\ :np:sp#9600:
Add the line ":cl=\E[H\E[2J:" at the end, so it ends up looking like this:
P|Pc|Pc console:\ :np:sp#9600:\ :cl=\E[H\E[2J:
For OpenBSD 2.6 the ability to scrollback on the console was added for i386 machines. This allows you to see information that has already scrolled past your screen. To be able to move up and down in the buffer simply use the key combination "[shift]+[pgup]" to move up, and "[shift]+[pgdn]". The default scrollback buffer (the amount of pages that you can move up and view) is 8, but this can be changed via the scon(1) utility. For example, to change the number of pages you can scrollback to 10, do this:
bsd$ scon -b 10
This command can only be executed from a pcvt virtual terminal.
[Back to Main Index] [To Section 6.0 - Networking] [To Section 8.0 - General Questions]