~ubuntu-branches/ubuntu/utopic/busybox/utopic

« back to all changes in this revision

Viewing changes to console-tools/loadfont.c

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2012-05-01 03:35:20 UTC
  • mfrom: (2.1.29 sid)
  • Revision ID: package-import@ubuntu.com-20120501033520-3nb8wjf4bp524txp
Tags: 1:1.19.3-7ubuntu1
* Merge from Debian unstable, remaining changes:
  - [udeb] Enable chvt, killall, losetup, NFS mount, od, ping, ping6, and
    stat.
  - [deb, static] Enable CGI support for httpd.
  - Enable 'mount -f' and mount helpers for all targets.
  - Add busybox-initramfs.
  - test-bin.patch: Move test and friends to /bin.
  - static-sh-alias.patch: Add static-sh alias name for ash, and install
    /bin/static-sh symlink to busybox in busybox-static.
  - debian/patches/fix-64-bit-permissions.patch: mkdir: fix permissions
    on 64-bit platforms.  Taken from upstream.
  - Filter out -Werror=format-security from CFLAGS passed by
    dpkg-buildpackage, at least for now.
* Dropped changes, included in Debian:
  - [deb] Enable mdev.
  - Add cross-compiling support.
* Disable NFS mount in the static build; needs a newer upstream version of
  busybox for compatibility with glibc 2.15.
* Set V=1 in debian/rules, to get more meaningful build logs.
* Export the dpkg-buildflags to the environment, so we pick up hardening
  now that dpkg doesn't export them for us.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 *
10
10
 * Licensed under GPLv2, see file LICENSE in this source tree.
11
11
 */
 
12
 
 
13
//usage:#define loadfont_trivial_usage
 
14
//usage:       "< font"
 
15
//usage:#define loadfont_full_usage "\n\n"
 
16
//usage:       "Load a console font from stdin"
 
17
/* //usage:     "\n     -C TTY  Affect TTY instead of /dev/tty" */
 
18
//usage:
 
19
//usage:#define loadfont_example_usage
 
20
//usage:       "$ loadfont < /etc/i18n/fontname\n"
 
21
//usage:
 
22
//usage:#define setfont_trivial_usage
 
23
//usage:       "FONT [-m MAPFILE] [-C TTY]"
 
24
//usage:#define setfont_full_usage "\n\n"
 
25
//usage:       "Load a console font\n"
 
26
//usage:     "\n        -m MAPFILE      Load console screen map"
 
27
//usage:     "\n        -C TTY          Affect TTY instead of /dev/tty"
 
28
//usage:
 
29
//usage:#define setfont_example_usage
 
30
//usage:       "$ setfont -m koi8-r /etc/i18n/fontname\n"
 
31
 
12
32
#include "libbb.h"
13
33
#include <sys/kd.h>
14
34