summaryrefslogtreecommitdiffstats
path: root/sys/isa/syscons.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1996-06-26 13:04:53 +0000
committersos <sos@FreeBSD.org>1996-06-26 13:04:53 +0000
commit5c1df79acfc407f95d22cd449c2d04e9a9114f65 (patch)
tree57a2e0658a9e02b2947ba5f0f811419574ee35fa /sys/isa/syscons.h
parent4578af9ab6a15e9cee87701b666984ef832db16c (diff)
downloadFreeBSD-src-5c1df79acfc407f95d22cd449c2d04e9a9114f65.zip
FreeBSD-src-5c1df79acfc407f95d22cd449c2d04e9a9114f65.tar.gz
Fixed bug in pasting 8bit char (ache).
Added linefeeds in cuts that extend beyond one line. Prepared for the mousefunctions to be used in nontext modes.
Diffstat (limited to 'sys/isa/syscons.h')
-rw-r--r--sys/isa/syscons.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/isa/syscons.h b/sys/isa/syscons.h
index bd21445..42c464a 100644
--- a/sys/isa/syscons.h
+++ b/sys/isa/syscons.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: syscons.h,v 1.17 1996/06/23 17:12:03 bde Exp $
+ * $Id: syscons.h,v 1.18 1996/06/25 08:54:47 sos Exp $
*/
#ifndef _I386_ISA_SYSCONS_H_
@@ -94,9 +94,10 @@
#define TIMER_FREQ 1193182 /* should be in isa.h */
#define CONSOLE_BUFSIZE 1024
#define PCBURST 128
-#define FONT_8 0x001
-#define FONT_14 0x002
-#define FONT_16 0x004
+#define FONT_NONE 1
+#define FONT_8 8
+#define FONT_14 14
+#define FONT_16 16
#define HISTORY_SIZE 100*80
/* defines related to hardware addresses */
@@ -141,6 +142,7 @@ typedef struct scr_stat {
int ypos; /* current Y position */
int xsize; /* X size */
int ysize; /* Y size */
+ int font_size; /* fontsize in Y direction */
int start; /* modified area start */
int end; /* modified area end */
term_stat term; /* terminal emulation stuff */
@@ -165,7 +167,6 @@ typedef struct scr_stat {
u_short bell_pitch;
u_char border; /* border color */
u_char mode; /* mode */
- u_char font; /* font on this screen */
pid_t pid; /* pid of controlling proc */
struct proc *proc; /* proc* of controlling proc */
struct vt_mode smode; /* switch mode */
OpenPOWER on IntegriCloud