projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add define for Kirk Smith's USR Courier driver. Change default baud
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
ttf100.c
diff --git
a/usr/src/usr.bin/window/ttf100.c
b/usr/src/usr.bin/window/ttf100.c
index
7c6af3c
..
a6e6fad
100644
(file)
--- a/
usr/src/usr.bin/window/ttf100.c
+++ b/
usr/src/usr.bin/window/ttf100.c
@@
-1,7
+1,13
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)ttf100.c 3.
6
%G%";
+static char sccsid[] = "@(#)ttf100.c 3.
8
%G%";
#endif
#endif
+/*
+ * Copyright (c) 1983 Regents of the University of California,
+ * All rights reserved. Redistribution permitted subject to
+ * the terms of the Berkeley Software License Agreement.
+ */
+
#include "ww.h"
#include "tt.h"
#include "ww.h"
#include "tt.h"
@@
-16,15
+22,18
@@
short f100_frame[16] = {
'K'|G, 'D'|G, 'K'|G, 'O'|G,
'C'|G, 'L'|G, 'N'|G, 'I'|G
};
'K'|G, 'D'|G, 'K'|G, 'O'|G,
'C'|G, 'L'|G, 'N'|G, 'I'|G
};
-extern
cha
r *gen_AE, *gen_AS;
+extern
struct tt_st
r *gen_AE, *gen_AS;
tt_f100()
{
tt_f100()
{
+ static struct tt_str ae = { "\033%", 2 };
+ static struct tt_str as = { "\033$", 2 };
+
if (tt_generic() < 0)
return -1;
tt.tt_frame = f100_frame;
tt.tt_availmodes |= WWM_GRP;
if (tt_generic() < 0)
return -1;
tt.tt_frame = f100_frame;
tt.tt_availmodes |= WWM_GRP;
- gen_AS =
"\033$"
;
- gen_AE =
"\033%"
;
+ gen_AS =
&as
;
+ gen_AE =
&ae
;
return 0;
}
return 0;
}