On 9/28/21 8:37 PM, John Herron via cctalk wrote:
For those of you who wrote your own editors. How did
you display special
ASCII characters? Years ago, In highschool I tried writing a hex editor (in
qbasic so this may have been the problem) but when display anything that
had a function like chr 07 it would activate instead of display. I gave up
since I couldn't figure it out other than writing directly to video memory.
On Tue, Sep 28, 2021, 8:13 PM Van Snyder via cctalk <cctalk at classiccmp.org>
wrote:
> On Tue, 2021-09-28 at 15:49 -0700, Guy Sotomayor via cctalk wrote:
>> Since EMACS has a full programming language (elisp), you can write
>> anything you want in it (mail readers, browsers, calendar apps, other
>> editors, etc)
>
> Years ago, one of my colleagues showed me a pocket reference card
> jesting about "hello world."
>
> At the end of the description of "GNU hello" was a remark "and like
any
> self-respecting program, it has a built-in mail reader."
Mine was in assembly and Ctrol-V signified a literal character, no
matter what it was. Wordstar has a similar feature, IIRC.
Of course, all of the I/O string handling was count+data, not "delimeted
by null", so that made it easier.
--Chuck