Re: Terminal Font ?
- From: "Dick Grier" <dick_grierNOSPAM@.msn.com>
- Date: Mon, 18 Dec 2006 14:07:48 -0700
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.
.
- Follow-Ups:
- Re: Terminal Font ?
- From: Walter Wang [MSFT]
- Re: Terminal Font ?
- References:
- Terminal Font ?
- From: JerryWEC
- Re: Terminal Font ?
- From: Jon Skeet [C# MVP]
- Re: Terminal Font ?
- From: JerryWEC
- Re: Terminal Font ?
- From: JerryWEC
- Terminal Font ?
- Prev by Date: Re: Terminal Font ?
- Next by Date: Handling multiple web requests parallely
- Previous by thread: Re: Terminal Font ?
- Next by thread: Re: Terminal Font ?
- Index(es):