Unix Pascal VT100 Graphic Procedures

Rick Perry perry at vu-vlsi.UUCP
Fri Feb 7 10:02:07 AEST 1986


> Following are some Procedures to fully use the vt100 terminal
> it is uuencoded because of non printing characters.
> ...

   There are a lot of reasons for preferring chr(27) over '<literal ESC>'
and even chr(9) instead of "<literal tab>", chr(7) instead of literal
bells...

   Some compilers won't even accept "non-printable" chars in literal
strings; what does YOUR printer do when it gets a literal ESC[0j ???
using 'more' to read the uudecoded version of your file did wierd things
to my vt100! and then there's the whole necessity for uuencode/decode
in the first place.
-----
   write( chr(27), 'rest of cmd' )  { would be ok... }
-----
   CONST ESC=27;
   ...
   write( chr(ESC), 'etc' )  { would be even better... }
-----
   CONST ESC=chr(27);
   ...
   write( ESC, 'etc' ) { would be great if all compilers would take it! }
-----

   Anyway, thanks for the sources, they look very useful, and certainly
handier than trying to uudecode the DEC-vt100 manuals...

...Rick Perry           ...{pyrnj,psuvax1}!vu-vlsi!perry



More information about the Comp.sources.bugs mailing list