scterm-teken.c (e42fc368672e8c3f1d30fbbd7f1903e3baa69b7a) scterm-teken.c (4b2361f811fac65d57b88b8fa5d705909944bc0a)
1/*-
2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
3 * All rights reserved.
4 *
5 * Copyright (c) 2008-2009 Ed Schouten <ed@FreeBSD.org>
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 36 unchanged lines hidden (view full) ---

45#else
46#include <machine/pc/display.h>
47#endif
48
49#include <dev/syscons/syscons.h>
50
51#include <teken/teken.h>
52
1/*-
2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
3 * All rights reserved.
4 *
5 * Copyright (c) 2008-2009 Ed Schouten <ed@FreeBSD.org>
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 36 unchanged lines hidden (view full) ---

45#else
46#include <machine/pc/display.h>
47#endif
48
49#include <dev/syscons/syscons.h>
50
51#include <teken/teken.h>
52
53#if defined(TEKEN_XTERM) && defined(TEKEN_CONS25)
54#error "xterm and cons25 are mutually exclusive."
55#endif
56
57/* XXX: Use cons25 on i386, for compatibility with pc98. */
58#if defined(__i386__) && !defined(TEKEN_XTERM) && !defined(TEKEN_CONS25)
59#define TEKEN_CONS25
60#endif
61
62static void scteken_revattr(unsigned char, teken_attr_t *);
63static unsigned int scteken_attr(const teken_attr_t *);
64
65static sc_term_init_t scteken_init;
66static sc_term_term_t scteken_term;
67static sc_term_puts_t scteken_puts;
68static sc_term_ioctl_t scteken_ioctl;
69static sc_term_default_attr_t scteken_default_attr;

--- 652 unchanged lines hidden ---
53static void scteken_revattr(unsigned char, teken_attr_t *);
54static unsigned int scteken_attr(const teken_attr_t *);
55
56static sc_term_init_t scteken_init;
57static sc_term_term_t scteken_term;
58static sc_term_puts_t scteken_puts;
59static sc_term_ioctl_t scteken_ioctl;
60static sc_term_default_attr_t scteken_default_attr;

--- 652 unchanged lines hidden ---