dragonfly.git
14 years agogenerate __sys_sigtimedwait and __sys_sigwaitinfo to allow
David Xu [Sun, 20 Feb 2005 01:54:30 +0000 (01:54 +0000)]
generate __sys_sigtimedwait and __sys_sigwaitinfo to allow
thread libraries override their libc version.

14 years agoImplement sigwait.
David Xu [Sun, 20 Feb 2005 01:52:25 +0000 (01:52 +0000)]
Implement sigwait.

14 years agoALTQ support.
Joerg Sonnenberger [Sun, 20 Feb 2005 01:49:21 +0000 (01:49 +0000)]
ALTQ support.

14 years agoPrepare for ALTQ.
Joerg Sonnenberger [Sun, 20 Feb 2005 01:26:05 +0000 (01:26 +0000)]
Prepare for ALTQ.

14 years agoImplement sigtimedwait and sigwaitinfo syscalls.
David Xu [Sun, 20 Feb 2005 01:17:44 +0000 (01:17 +0000)]
Implement sigtimedwait and sigwaitinfo syscalls.

Reviewed by: dillon

14 years agoFix a bug introduced earlier. We can't put packets back into
Joerg Sonnenberger [Sun, 20 Feb 2005 00:36:23 +0000 (00:36 +0000)]
Fix a bug introduced earlier. We can't put packets back into
the queue with ALTQ, so we have to handle the case of errors
after m_defrag has been called directly. We also have to remove
the packets from the queue before we free them to avoid races.
Same applies to calling bpf_mtap, which has to done on the
defragmented packet.

14 years agoAdd m_defrag_nofree, which works like m_defrag, but doesn't free the
Joerg Sonnenberger [Sun, 20 Feb 2005 00:20:43 +0000 (00:20 +0000)]
Add m_defrag_nofree, which works like m_defrag, but doesn't free the
passed-in mbuf.

Discussed-with: hmp

14 years agoRemove PC98 loader.
Sascha Wildner [Sat, 19 Feb 2005 23:43:35 +0000 (23:43 +0000)]
Remove PC98 loader.

14 years agoRemove PC98 and Alpha support.
Sascha Wildner [Sat, 19 Feb 2005 23:19:51 +0000 (23:19 +0000)]
Remove PC98 and Alpha support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 23:05:07 +0000 (23:05 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 22:49:34 +0000 (22:49 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 22:42:55 +0000 (22:42 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 22:24:13 +0000 (22:24 +0000)]
ALTQ support.

14 years agoDepend on ntpd. ntpdate is gone and the behaviour is the default now.
Joerg Sonnenberger [Sat, 19 Feb 2005 20:18:21 +0000 (20:18 +0000)]
Depend on ntpd. ntpdate is gone and the behaviour is the default now.

Noticed-by: Gary Allan <dragonfly@gallan.plus.com>
14 years agoAdd support for the Intel 82562ET/EZ/GT/GZ (ICH6/ICH6R) Pro/100 VE Ethernet.
Matthew Dillon [Sat, 19 Feb 2005 19:39:29 +0000 (19:39 +0000)]
Add support for the Intel 82562ET/EZ/GT/GZ (ICH6/ICH6R) Pro/100 VE Ethernet.

Submitted-by: Chuck Tuffli <chuck_tuffli@agilent.com>
14 years ago- SUSV3 states on error we should return > 1
Liam J. Foy [Sat, 19 Feb 2005 19:39:05 +0000 (19:39 +0000)]
- SUSV3 states on error we should return > 1
- Remove unnecessary header
- Style(9)

14 years agoUse ifq_set_maxlen instead of messing with the fields directly.
Joerg Sonnenberger [Sat, 19 Feb 2005 17:59:38 +0000 (17:59 +0000)]
Use ifq_set_maxlen instead of messing with the fields directly.

14 years agoFix #include.
Sascha Wildner [Sat, 19 Feb 2005 15:47:44 +0000 (15:47 +0000)]
Fix #include.

Noticed by: Gary Allan <dragonfly@gallan.plus.com>

14 years agoPC98 is not supported.
Sascha Wildner [Sat, 19 Feb 2005 15:43:10 +0000 (15:43 +0000)]
PC98 is not supported.

14 years agoRemove duplicate FreeBSD tag.
Sascha Wildner [Sat, 19 Feb 2005 15:16:39 +0000 (15:16 +0000)]
Remove duplicate FreeBSD tag.

Noticed by: Sarunas Vancevicius <svan@redbrick.dcu.ie>

14 years agoRemove PC98 and Alpha support.
Sascha Wildner [Sat, 19 Feb 2005 01:46:12 +0000 (01:46 +0000)]
Remove PC98 and Alpha support.

14 years agoRemove Alpha support.
Sascha Wildner [Sat, 19 Feb 2005 01:43:06 +0000 (01:43 +0000)]
Remove Alpha support.

14 years agoRemove PC98 support.
Sascha Wildner [Sat, 19 Feb 2005 01:42:16 +0000 (01:42 +0000)]
Remove PC98 support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 01:16:46 +0000 (01:16 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 01:07:24 +0000 (01:07 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 00:55:44 +0000 (00:55 +0000)]
ALTQ support.

14 years agoCall the "cluster_save buffer" type just "cluster_save", it doesn't fit
Joerg Sonnenberger [Sat, 19 Feb 2005 00:47:03 +0000 (00:47 +0000)]
Call the "cluster_save buffer" type just "cluster_save", it doesn't fit
the type column in vmstat -m output.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 00:40:45 +0000 (00:40 +0000)]
ALTQ support.

14 years ago- Remove unnecessary casts
Liam J. Foy [Sat, 19 Feb 2005 00:32:01 +0000 (00:32 +0000)]
- Remove unnecessary casts
- Style(9)

14 years agoDon't inline lnc_rint and lnc_tint, it's useless and GCC rightfully complains
Joerg Sonnenberger [Sat, 19 Feb 2005 00:16:54 +0000 (00:16 +0000)]
Don't inline lnc_rint and lnc_tint, it's useless and GCC rightfully complains
about it.

14 years agoALTQ support.
Joerg Sonnenberger [Sat, 19 Feb 2005 00:05:32 +0000 (00:05 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 23:40:10 +0000 (23:40 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 23:25:38 +0000 (23:25 +0000)]
ALTQ support.

14 years agoUse ifq_set_maxlen and don't change the field directly.
Joerg Sonnenberger [Fri, 18 Feb 2005 23:19:08 +0000 (23:19 +0000)]
Use ifq_set_maxlen and don't change the field directly.

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 23:15:00 +0000 (23:15 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 23:10:27 +0000 (23:10 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 23:06:00 +0000 (23:06 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 22:59:32 +0000 (22:59 +0000)]
ALTQ support.

14 years agoremove toast
Sascha Wildner [Fri, 18 Feb 2005 19:07:08 +0000 (19:07 +0000)]
remove toast

14 years agoharmless test
Sascha Wildner [Fri, 18 Feb 2005 19:00:14 +0000 (19:00 +0000)]
harmless test

14 years ago* For the direct modes, get rid of the predefined palettes and use the
Sascha Wildner [Fri, 18 Feb 2005 16:38:23 +0000 (16:38 +0000)]
* For the direct modes, get rid of the predefined palettes and use the
  system's EGA palette instead (like planar modes do). Since palette
  values can be 5:5:5, 5:6:5, 8:8:8 etc., add code to refresh them via
  the adapter's palette registers upon video mode change. Scrap the
  ugly vga_drawpxl() macro. This makes 15 and 16 bit modes faster than
  24 or 32 bpp.

* Fix mouse pointer drawing code for direct modes. Never draw the
  pointer in the border area so that direct and planar modes can now
  share a single function for removing the mouse.

* Do some minor cleanup and restructuring.

14 years ago- Remove unnecessary header
Liam J. Foy [Fri, 18 Feb 2005 16:33:53 +0000 (16:33 +0000)]
- Remove unnecessary header
- Sprinkle some warn() & err() magic
- Style(9)

14 years agoALTQ support.
Joerg Sonnenberger [Fri, 18 Feb 2005 15:48:11 +0000 (15:48 +0000)]
ALTQ support.

14 years agoAdd support for building modules with configured kernel options,
Simon Schubert [Fri, 18 Feb 2005 11:41:42 +0000 (11:41 +0000)]
Add support for building modules with configured kernel options,
iff building modules with kernel.  Building modules standalone
(cd $kmoddir && make) is not affected.

This introduces an environment variable ``BUILDING_WITH_KERNEL''
which gets set to the kernel compile dir by its Makefile.
Required opt_*.h and use_*.h headers get copied from there to the
module build dir by kmod.mk.

While changing module Makefiles, clean up (slightly) incorrect
uses of kldload and kldunload (which are there for testing
purposes).

Reviewed-by: joerg
14 years agoMake sure that length variable is set to zero before Var_Parse() is
Max Okumoto [Fri, 18 Feb 2005 01:23:22 +0000 (01:23 +0000)]
Make sure that length variable is set to zero before Var_Parse() is
invoked.  This is in preperation for accumilating the changes to the
length, sub-routines called and just update it to reflect how many
characters they consumed.

14 years agoThis is an ugly hack, but for now I am spliting ParseModifiers() out
Max Okumoto [Fri, 18 Feb 2005 01:21:52 +0000 (01:21 +0000)]
This is an ugly hack, but for now I am spliting ParseModifiers() out
from VarParseLong().  I am passing many the variables, but most of them
will go away once I fix the lengthPtr calculations.

14 years agoVarParseLong():
Max Okumoto [Fri, 18 Feb 2005 01:20:57 +0000 (01:20 +0000)]
VarParseLong():
Create new else block for if (haveModifier) {}
Move VarExpand() down into both branches of if () {}
Move cleanup section up into both branches.
Eliminate dead code.

14 years agoVarParseShort(): Change else blocks to fall through.
Max Okumoto [Fri, 18 Feb 2005 01:20:09 +0000 (01:20 +0000)]
VarParseShort(): Change else blocks to fall through.

14 years agoVarParseLong():
Max Okumoto [Fri, 18 Feb 2005 01:19:47 +0000 (01:19 +0000)]
VarParseLong():
Move setting of dynamic back before the if statement.
Moved lengthPtr down.

14 years agoChanged code to avoid modifying the input string, its not really
Max Okumoto [Fri, 18 Feb 2005 01:18:27 +0000 (01:18 +0000)]
Changed code to avoid modifying the input string, its not really
nessisary to null terminate substrings, when you have the length
of the substring you are interested in.

14 years ago- Add battd to rc.conf(5)
Liam J. Foy [Thu, 17 Feb 2005 22:44:39 +0000 (22:44 +0000)]
- Add battd to rc.conf(5)

Submitted by: Devon H. O'Dell <dodell@sitetronics.com>

14 years ago- Add battd rcng script
Liam J. Foy [Thu, 17 Feb 2005 22:35:38 +0000 (22:35 +0000)]
- Add battd rcng script

Submitted by: Our good friend Devon H. O'Dell <dodell@sitetronics.com>

14 years agoVarParseLong() - Removed space at end of line.
Max Okumoto [Thu, 17 Feb 2005 20:11:53 +0000 (20:11 +0000)]
VarParseLong() - Removed space at end of line.

14 years agoGCC supports two pseudo variables to get the function name, __FUNCTION__
Joerg Sonnenberger [Thu, 17 Feb 2005 14:00:10 +0000 (14:00 +0000)]
GCC supports two pseudo variables to get the function name, __FUNCTION__
and __func__. The latter is C99, prefer that.

14 years agoUse -pthread instead of adding -lc_r for linking the thread library.
Joerg Sonnenberger [Thu, 17 Feb 2005 13:59:00 +0000 (13:59 +0000)]
Use -pthread instead of adding -lc_r for linking the thread library.

14 years agoRename PACKAGES to REL_PACKAGES. PACKAGES is used by ports already.
Joerg Sonnenberger [Thu, 17 Feb 2005 12:22:24 +0000 (12:22 +0000)]
Rename PACKAGES to REL_PACKAGES. PACKAGES is used by ports already.
Change the default for PACKAGES_LOC to ${PACKAGES}/All if it is defined.

14 years ago- Better handling of a given(-p) invalid port number.
Liam J. Foy [Thu, 17 Feb 2005 11:53:33 +0000 (11:53 +0000)]
- Better handling of a given(-p) invalid port number.

From: OpenBSD

14 years agoThe old USB ethernet code utilized a netisr to hand packets over
Joerg Sonnenberger [Wed, 16 Feb 2005 22:50:28 +0000 (22:50 +0000)]
The old USB ethernet code utilized a netisr to hand packets over
the ether_input and cleanup after txeof. This was broken some
time ago and is a workaround for the different IPL of USB and
the network stack.

Reduce the amount of hacks by removing usb_tx_done, it can be
done mostly in-place with a slight race-condition in the enqueue
code. usb_ether_input now directly calls ether_input, the caller
is responsible for rearming the receiver. That's doesn't open
a race since the receiver doesn't have to handle the interface
queues, for the driver state is the driver responsible.

The IPL protection of the USB ethernet drivers has to be reviewed,
it's mostly not existing.

14 years agoAdd better comments.
Max Okumoto [Wed, 16 Feb 2005 22:38:03 +0000 (22:38 +0000)]
Add better comments.

14 years agoAdd __pure as attribute. A __pure function can only depend on the
Joerg Sonnenberger [Wed, 16 Feb 2005 21:50:00 +0000 (21:50 +0000)]
Add __pure as attribute. A __pure function can only depend on the
arguments, not on global memory. A __pure2 function in contrast
just has to return the same value for the same arguments. It can
use a hash table or similiar means.

For GCC before 3.0 __pure is mapped to __pure2.

Inspired-by: FreeBSD
14 years ago- isupper(x) can be true for x in [128..255], but since tolower(x) is
Liam J. Foy [Wed, 16 Feb 2005 20:35:09 +0000 (20:35 +0000)]
- isupper(x) can be true for x in [128..255], but since tolower(x) is
  required to return x if it cannot be translated, we don't need the
  isupper() test. - NetBSD 1.16
- Kill registers
- Constify
- Style(9)

14 years agoImport of FreeBSD rev. 1.2 by mlaier:
Simon Schubert [Wed, 16 Feb 2005 19:42:35 +0000 (19:42 +0000)]
Import of FreeBSD rev. 1.2 by mlaier:
  Don't rely on properly setup linker.hints to figure out that pflog is now
  part of the pf module.
  While here fix a comment that was c'n'ped from rc.d/pf

  PR:             bin/71096 (partly)
  Submitted by:   Ville-Pertti Keinonen
  MFC after:      2 days

14 years agoTest for my existance
Simon Schubert [Wed, 16 Feb 2005 19:37:39 +0000 (19:37 +0000)]
Test for my existance

14 years agoMake pgrep(1) print a newline at EOL, as expected, instead of at the
Chris Pressey [Tue, 15 Feb 2005 20:31:29 +0000 (20:31 +0000)]
Make pgrep(1) print a newline at EOL, as expected, instead of at the
delimiter specified with the -d switch.

Submitted-by: Robert Nagy <robert_at_bsd_dot_hu>
Same-as-in: OpenBSD: src/usr.bin/pkill.c:1.8

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 20:28:38 +0000 (20:28 +0000)]
ALTQ support.

14 years agoAdd "exit" command as a synonym for "quit".
Chris Pressey [Tue, 15 Feb 2005 20:23:24 +0000 (20:23 +0000)]
Add "exit" command as a synonym for "quit".

Submitted-by: Robert Nagy <robert_at_bsd_dot_hu>
14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 20:23:10 +0000 (20:23 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 20:09:13 +0000 (20:09 +0000)]
ALTQ support.

14 years agoForgotten in last commit.
Joerg Sonnenberger [Tue, 15 Feb 2005 20:06:50 +0000 (20:06 +0000)]
Forgotten in last commit.

14 years agoRaise WARNS to 6.
Chris Pressey [Tue, 15 Feb 2005 19:49:06 +0000 (19:49 +0000)]
Raise WARNS to 6.

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 19:39:40 +0000 (19:39 +0000)]
ALTQ support.

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 19:19:11 +0000 (19:19 +0000)]
ALTQ support.

14 years agoFix lvalue cast.
Joerg Sonnenberger [Tue, 15 Feb 2005 19:08:06 +0000 (19:08 +0000)]
Fix lvalue cast.

Obtained-from: FreeBSD

14 years agoReplace list of checks with loop. Fix lvalue casts.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:40:38 +0000 (18:40 +0000)]
Replace list of checks with loop. Fix lvalue casts.

14 years agoFix lvalue cast.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:31:48 +0000 (18:31 +0000)]
Fix lvalue cast.

14 years agoChange second argument of dc_crc_le to c_caddr_t to fix warning.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:25:42 +0000 (18:25 +0000)]
Change second argument of dc_crc_le to c_caddr_t to fix warning.

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:23:41 +0000 (18:23 +0000)]
ALTQ support.

14 years agoMake the second argument to ncp_conn_asssert a const char *.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:20:50 +0000 (18:20 +0000)]
Make the second argument to ncp_conn_asssert a const char *.
Use __func__ while being here insteed of __FUNCTION__.

14 years agoReplace lvalue cast.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:11:59 +0000 (18:11 +0000)]
Replace lvalue cast.

14 years agoReplace lvalue cast with explicit cast from u_short via int to void *.
Joerg Sonnenberger [Tue, 15 Feb 2005 18:08:52 +0000 (18:08 +0000)]
Replace lvalue cast with explicit cast from u_short via int to void *.

14 years agoAvoid casts as lvalues.
Joerg Sonnenberger [Tue, 15 Feb 2005 17:00:19 +0000 (17:00 +0000)]
Avoid casts as lvalues.

Obtained-from: FreeBSD

14 years agoDon't cast lvalues.
Joerg Sonnenberger [Tue, 15 Feb 2005 16:47:41 +0000 (16:47 +0000)]
Don't cast lvalues.

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 16:44:23 +0000 (16:44 +0000)]
ALTQ support.

14 years agoBe more careful when doing el_parse() - only do it when el is
Joerg Sonnenberger [Tue, 15 Feb 2005 16:32:46 +0000 (16:32 +0000)]
Be more careful when doing el_parse() - only do it when el is
properly initialized, that happens when lpc is called from a tty.
Without this change, it's possible to get SIGSEGV simply doing:
        echo "..:" | lpc

Reported by:    Wojciech A. Koszek <dunstan at freebsd czest pl>
PR:             77462 (patch rewritten by myself)

lpc.c, 1.29
Obtained-from: FreeBSD
Submitted-by: Xin Li (delphij@freebsd)

14 years ago- Use strcasecmp() for upper and lower cases.
Liam J. Foy [Tue, 15 Feb 2005 14:15:16 +0000 (14:15 +0000)]
- Use strcasecmp() for upper and lower cases.
- Style(9)

14 years agoCreate two new functions VarParseShort() and VarParseLong() from the
Max Okumoto [Tue, 15 Feb 2005 11:15:11 +0000 (11:15 +0000)]
Create two new functions VarParseShort() and VarParseLong() from the
contents of the if-else-if-else blocks.   VarParseShort() handles
variables that are only one letter, while VarParseLong() handles
variables that have multiple characters, and might possibly have
modifiers.

14 years ago- Remove more dead code, since VarExpand() is never going to be the same
Max Okumoto [Tue, 15 Feb 2005 11:12:44 +0000 (11:12 +0000)]
- Remove more dead code, since VarExpand() is never going to be the same
  as v->var.

14 years ago- Push more variables into local scope of the if else blocks. This
Max Okumoto [Tue, 15 Feb 2005 11:11:29 +0000 (11:11 +0000)]
- Push more variables into local scope of the if else blocks.  This
  is in preperation for making those blocks into functions.

14 years ago- Killing some dead code, since the conditions can never be true.
Max Okumoto [Tue, 15 Feb 2005 11:09:33 +0000 (11:09 +0000)]
- Killing some dead code, since the conditions can never be true.

14 years ago- Copy destroy code at end of Var_Parse() up into else-if blocks.
Max Okumoto [Tue, 15 Feb 2005 11:05:22 +0000 (11:05 +0000)]
- Copy destroy code at end of Var_Parse() up into else-if blocks.
  This temporarily increases the code size.  Much of that goes
  away, because the certain branches become unreachable, and thus
  can be deleted.

14 years ago- Cleanup Destroy code at end of Var_Parse()
Max Okumoto [Tue, 15 Feb 2005 11:00:39 +0000 (11:00 +0000)]
- Cleanup Destroy code at end of Var_Parse()

14 years ago- Clean up return statements at end of Var_Parse().
Max Okumoto [Tue, 15 Feb 2005 10:59:46 +0000 (10:59 +0000)]
- Clean up return statements at end of Var_Parse().

14 years ago- Moved haveModifier handing up into else-if block. This make that
Max Okumoto [Tue, 15 Feb 2005 10:58:32 +0000 (10:58 +0000)]
- Moved haveModifier handing up into else-if block.  This make that
  block huge, but we are going to turn that into a function.

14 years ago- Factor out code into a new function VarExpand().
Max Okumoto [Tue, 15 Feb 2005 10:54:26 +0000 (10:54 +0000)]
- Factor out code into a new function VarExpand().

14 years agoUse ifq_is_empty to allow USB drivers to support ALTQ.
Joerg Sonnenberger [Tue, 15 Feb 2005 10:30:11 +0000 (10:30 +0000)]
Use ifq_is_empty to allow USB drivers to support ALTQ.

14 years agoIntroduce vnodepv_entry_t as type for the vnodeopv_entry functions.
Joerg Sonnenberger [Tue, 15 Feb 2005 08:32:19 +0000 (08:32 +0000)]
Introduce vnodepv_entry_t as type for the vnodeopv_entry functions.
This is slightly better than casting all the functions to void *,
which is a data pointer.

14 years agoALTQ support.
Joerg Sonnenberger [Tue, 15 Feb 2005 08:29:02 +0000 (08:29 +0000)]
ALTQ support.

14 years agoHook ru.koi8-r.win.kbd up to Makefile and INDEX.keymaps.
Chris Pressey [Tue, 15 Feb 2005 02:27:03 +0000 (02:27 +0000)]
Hook ru.koi8-r.win.kbd up to Makefile and INDEX.keymaps.

14 years agoImport (slightly modified) ru.koi8-r.win.kbd:1.1 from FreeBSD (fjoe):
Chris Pressey [Tue, 15 Feb 2005 02:16:24 +0000 (02:16 +0000)]
Import (slightly modified) ru.koi8-r.win.kbd:1.1 from FreeBSD (fjoe):

"Add ru.koi8-r.win.kbd based on ru.koi8-r.shift.kbd which closely mimics
 ru(winkeys) XFree86 layout.

 Differences with ru.koi8-r.shift.kbd are:
 - ctrl+shift = alock
 - left/right win = meta, menu = saver
 - alock'ed shift+[0-9] = )!@#$%^&*("

Submitted-by: Vyacheslav Bocharov <list_at_smz_dot_com_dot_ua>
Reviewed-by: Alexander 'alxl' Lobachov <alxl_at_alxl_dot_info>
14 years agoFurther cleanup:
Chris Pressey [Tue, 15 Feb 2005 01:53:05 +0000 (01:53 +0000)]
Further cleanup:
- Remove `register' keyword.
- Declare local functions as `static'.
- Remove unneeded unions, and their associated #define'd aliases,
  around the struct fs and struct cg that are being used.