logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

kbd_mode.1 (1462B)


  1. .\" @(#)kbd_mode.1 1.0 940406 aeb
  2. .TH KBD_MODE 1 "6 Apr 1994" "kbd"
  3. .SH NAME
  4. kbd_mode \- report or set the keyboard mode
  5. .SH SYNOPSIS
  6. .B kbd_mode
  7. [
  8. .I -a | -u | -k | -s
  9. ] [
  10. .I -f
  11. ] [
  12. .I -C CONSOLE
  13. ]
  14. .SH DESCRIPTION
  15. .IX "kbd_mode command" "" "\fLkbd_mode\fR command"
  16. .LP
  17. Without argument,
  18. .B kbd_mode
  19. prints the current keyboard mode (RAW, MEDIUMRAW or XLATE).
  20. With argument, it sets the keyboard mode as indicated:
  21. .LP
  22. \-s: scancode mode (RAW),
  23. .LP
  24. \-k: keycode mode (MEDIUMRAW),
  25. .LP
  26. \-a: ASCII mode (XLATE),
  27. .LP
  28. \-u: UTF-8 mode (UNICODE).
  29. .LP
  30. Of course the "\-a" is only traditional, and the code used can be any
  31. 8-bit character set. With "\-u" a 16-bit character set is expected,
  32. and these chars are transmitted to the kernel as 1, 2, or 3 bytes
  33. (following the UTF-8 coding).
  34. In these latter two modes the key mapping defined by
  35. .BR loadkeys (1)
  36. is used.
  37. kbd_mode operates on the console specified by the "\-C" option; if there
  38. is none, the console associated with stdin is used.
  39. Warning: changing the keyboard mode, other than between ASCII and
  40. Unicode, will probably make your keyboard unusable. Set the "\-f" option
  41. to force such changes.
  42. This command is only meant for use (say via remote login)
  43. when some program left your keyboard in the wrong state.
  44. Note that in some obsolete versions of this program the "\-u"
  45. option was a synonym for "\-s" and older versions of this program may
  46. not recognize the "\-f" option.
  47. .SH "SEE ALSO"
  48. .BR loadkeys (1)