kbd-1.15-unicode_start.patch 632 B

12345678910111213141516171819202122
  1. diff -up kbd-1.15.2/src/unicode_start.orig kbd-1.15.2/src/unicode_start
  2. --- kbd-1.15.2/src/unicode_start.orig 2011-01-05 13:28:22.079662644 +0100
  3. +++ kbd-1.15.2/src/unicode_start 2011-01-05 13:29:01.327353698 +0100
  4. @@ -72,6 +72,9 @@ stty iutf8
  5. # have a Unicode map attached, or explicitly specified, e.g.,
  6. # by giving `def.uni' as a second argument.
  7. +DEFAULT_UNICODE_FONT=latarcyrheb-sun16
  8. +# Also drdos8x16 is a good candidate.
  9. +
  10. case "$#" in
  11. 2)
  12. setfont "$1" -u "$2"
  13. @@ -80,6 +83,7 @@ case "$#" in
  14. setfont "$1"
  15. ;;
  16. 0)
  17. + setfont $DEFAULT_UNICODE_FONT
  18. ;;
  19. *)
  20. echo "usage: unicode_start [font [unicode map]]"