Re: Terminal Font ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

When I want to display something for non-text characters, I use a method
that replaces each with the specific sequence of characters needed. For
example, here is one sequence that I use:

"NUL ,SOH ,STX ,ETX ,EOT ,ENQ ,ACK ,BEL ,BS ,HT ,LF ,VT ,FF ,CR ,SO ,SI ,DLE
,DC1 ,DC2 ,DC3 ,DC4 ,NAK ,SYN ,ETB ,CAN ,EM ,SUB ,ESC ,FS ,GS ,RS ,US"

I split this into an array of strings and use the index in the array to
select the display character "set."

I actually add some open and close brackets (with leading and trailing
spaces), so that carriage return is displayed as [CR] .

For some time I played with creating my own mono-spaced font for these
purposes, but decided that it wasn't worth the effort.

***

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.


.


Quantcast