home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!sungy!news.Sweden.Sun.COM!swippy!seunet!pop!bjst
- From: bjst@sth.frontec.se (Bjorn Stenberg)
- Newsgroups: comp.sys.amiga.programmer
- Subject: How to visualize control chars? (Was: Re: Fast Text output...)
- Keywords: text, output, control
- Message-ID: <1992Nov17.205949.27174@sth.frontec.se>
- Date: 17 Nov 92 20:59:49 GMT
- References: <BxLpvE.M9F@immd4.informatik.uni-erlangen.de>
- Organization: IDK/Frontec - System Design Group
- Lines: 26
- Nntp-Posting-Host: pop.sth.frontec.se
-
- htgoebel@cip.informatik.uni-erlangen.de (hartmut Goebel) writes:
- > I'm looking for a fast text output routine which will display
- > control charakters inversid like in string gadgets.
-
- This reminds me of something...
-
- Opinions Wanted:
- ----------------
- How should my text applications (such as editors or viewers) visualize
- control chars (0x00 -> 0x1f) and all chars without an equivalent graphic
- block in the font?
-
- Lots of editors use inverse characters for control chars and the (infamous)
- 'box' for chars not in the font. I don't really like that.
-
- I'm into an 'Emacs' way of displaying it, using '^' as prefix for control
- chars and displaying chars not in fonts as '\hh' where hh is the hexadecimal
- value of the character.
-
- Opinions, anyone?
-
- -- Bjorn
-
- /// Bjorn Stenberg, Stockholm, Sweden bjst@sth.frontec.se
- /// main() { printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}
- \\\ /// "- Your documentation no longer confuses me, old version!"
-