freebsd-skq/usr.sbin/pcvt/vttest
brooks a67cc01f18 Remove -traditional from CFLAGS and add unistd.h to header.h so this
actually compiles.  Hopefully, this code didn't rely on some weird
side effect of -traditional.
2001-07-27 04:40:04 +00:00
..
esc.c Remove -traditional from CFLAGS and add unistd.h to header.h so this 2001-07-27 04:40:04 +00:00
header.h Remove -traditional from CFLAGS and add unistd.h to header.h so this 2001-07-27 04:40:04 +00:00
main.c Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
Makefile Remove -traditional from CFLAGS and add unistd.h to header.h so this 2001-07-27 04:40:04 +00:00
README s/adress/address/ 2001-07-23 12:05:27 +00:00
vttest.1 man(7) -> mdoc(7). 2001-01-17 09:15:13 +00:00

$FreeBSD$

NOTES FROM THE MOD.SOURCES MODERATOR:
I split the source up into the three separate pieces it now is.
In doing this, I put lines like "int reading;" in a header file
that both C modules include.  If your Unix requires one of these
to be "extern int reading;" then you will have some editing to do.
Also note that this program uses FIONREAD, which must be implemented
differently in SystemV, etc., and check out the setjmp() call...
	/Rich $alz
Oh, yeah:  I also wrote the Makefile and manpage, such as they are.
-------------------------------------------------------------------

This is a program to test the compatibility (or to demonstrate the
non-compatibility) of so-called "VT100-compatible" terminals. In
conformance of the good old hacker traditions, the only documentation
of this program is the source code itself. To understand it, you also
need a copy of the original VT100 manual from DEC.

Comments and bug reports: Since this is a release (via USENET) to the
whole world, a lot of people are going to have opinions and fresh
ideas about it. (What -- bugs in MY program? Aww...)  I can't deal
with everyone sending me a hacked version, but if you have found a
serious bug, or ported it to VMS, do tell me. I can't promise any new
version release, though. From this version on (1.7b) VTTEST will have
to live its own life without its father holding its hand.

My address is:

Network-mail address:     (mcvax,seismo)!enea!suadb!lindberg

Real-world-mail address: Per Lindberg
                         QZ, Stockholm University Computing Center
			 Box 27322
			 S - 102 54  Stockholm
			 SWEDEN

The original version of this program is written for the Sargasso C
compiler for the DECsystem-10. Many thanks to all sales persons with
quote VT100-compatible unquote terminals, who prompted me to write
this program, and also to:

-- Bo Kleve, LIDAC, Linkoping University, Sweden
   for the portation to DECSYSTEM-20 with the Sargasso C compiler

-- Johan Widen, TTDS, Royal Institute of Technology, Stockholm, Sweden
   for the portation to various UNIX systems (incl. System III and Xenix)

-- Russ Herman, AES Data Inc., Missisauga, Ont. Canada
   for fixes and code for the VT102 test

Thanx also to JMR "Gremlin" at KTH, and Goran Wallberg at QZ
for suggestions, bug fixes, etc.

This program does not have support for all the different variations
of VT100, like VT125, VT131 nor the new VT200 series. Feel free to
add that yourself. Happy Hacking!

                 /TMP