home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15993 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.5 KB  |  39 lines

  1. 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
  2. From: bjst@sth.frontec.se (Bjorn Stenberg)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: How to visualize control chars? (Was: Re: Fast Text output...)
  5. Keywords: text, output, control
  6. Message-ID: <1992Nov17.205949.27174@sth.frontec.se>
  7. Date: 17 Nov 92 20:59:49 GMT
  8. References: <BxLpvE.M9F@immd4.informatik.uni-erlangen.de>
  9. Organization: IDK/Frontec - System Design Group
  10. Lines: 26
  11. Nntp-Posting-Host: pop.sth.frontec.se
  12.  
  13. htgoebel@cip.informatik.uni-erlangen.de (hartmut Goebel) writes:
  14. > I'm looking for a fast text output routine which will display
  15. > control charakters inversid like in string gadgets.
  16.  
  17. This reminds me of something...
  18.  
  19. Opinions Wanted:
  20. ----------------
  21. How should my text applications (such as editors or viewers) visualize
  22. control chars (0x00 -> 0x1f) and all chars without an equivalent graphic
  23. block in the font?
  24.  
  25. Lots of editors use inverse characters for control chars and the (infamous)
  26. 'box' for chars not in the font. I don't really like that.
  27.  
  28. I'm into an 'Emacs' way of displaying it, using '^' as prefix for control
  29. chars and displaying chars not in fonts as '\hh' where hh is the hexadecimal
  30. value of the character.
  31.  
  32. Opinions, anyone?
  33.  
  34.         -- Bjorn
  35.  
  36.        ///  Bjorn Stenberg, Stockholm, Sweden         bjst@sth.frontec.se
  37.       ///  main() { printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}
  38.  \\\ ///  "- Your documentation no longer confuses me, old version!"
  39.