home *** CD-ROM | disk | FTP | other *** search
/ Complete Bookshop / CompleteWorkshop.iso / jokes / asciicod / asciicod.txt
Encoding:
Text File  |  1985-10-12  |  5.3 KB  |  107 lines

  1. ASCIICOD.TXT
  2.  
  3. By Aaron Priven
  4.  
  5.   This is a little text file for all of the novices out there like myself
  6. who have wandered in on the world of computing eager for knowledge but
  7. who have found very little. This is a table of the ASCII codes.
  8. "What? you ask? The ASCII codes? Why that's easy. 32 is space, and 33 is
  9. the exclamation point, and 34 is the double quote..." All true, except that
  10. the code starts at 0. Well, I imagine that all of you have heard of "NUL"s
  11. or null characters, and probably "NAK"s (which are used in Xmodem Checksum
  12. protocol) but what are the other mysterious codes between 0 and 32?     
  13.  
  14.   Well, friends, this is your opportunity to find out. Because I am going to
  15. tell you. Now don't get the idea that I have been in the computer business
  16. since 1956 and was on the committee that invented the ASCII codes. I wasn't
  17. born till 15 years after that and I got interested in computers two years ago.
  18. I simply stumbled on this very interesting table in the VisiFile manual
  19. (a very bad program marketed by the late lamented VisiCorp that came with my
  20. computer) that not only included the number and two- or three-letter
  21. mnemonic (a fancy "computerish" word for name) but what the codes were
  22. actually intended to do! (Yes, it sounds too good to be true.) So I decided
  23. to gift you all with this table.
  24.  
  25.   Oh, if you think this is stealing their manual material, for one thing
  26. the ASCII codes are far from copyrighted. And VisiCorp is but a small part of
  27. data in the computer-industry's (read-only?) memory.
  28.  
  29. And heeeeeeeere's Tabley: 
  30.  
  31. ------------------------------------------------------------------------------
  32. CODE NUMBER   MNEMONIC  WHAT THE HECK IT DOES
  33. ------------------------------------------------------------------------------
  34. 00            NUL       Null character (nothing)
  35. 01            SOH       Start heading
  36. 02            STX       Start of text
  37. 03            ETX       End of text
  38. 04            EOT       End transmission
  39. 05            ENQ       Enquiry
  40. 06            ACK       Acknowledge (We heard you and yes.) See NAK
  41. 07            BEL       Bell (BEEEEEEP!)
  42. 08            BS        Backspace
  43. 09            HT        Horizontal tab
  44. 10            LF        Line feed
  45. 11            VT        Vertical tab
  46. 12            FF        Form feed (clear screen)
  47. 13            CR        Carriage return (enter)
  48. 14            SO        Shift-out
  49. 15            SI        Shift-in
  50. 16            DLE       Data link escape (I don't know what this is either)
  51. 17            DC1       Device control #1(maybe they ran out of things to do?)
  52. 18            DC2       Device control #2
  53. 19            DC3       Device control #3
  54. 20            DC4       Device control #4
  55. 21            NAK       Negative acknowledge (We heard you, but no.) See ACK
  56. 22            SYN       Synchronous idle (let's sit around doing nothing)
  57. 23            ETB       End transmission blocks (whatever that means)
  58. 24            CAN       Cancel (Whoa, Nellie!)
  59. 25            EM        End medium (kill that conjurer!)
  60. 26            SS        Special sequence
  61. 27            ESC       Escape
  62. 28            FS        File separator
  63. 29            GS        Group separator
  64. 30            RS        Record separator
  65. 31            US        Unit separator
  66. 32-126        -- Normal characters --
  67. 127           DEL       Delete
  68. ------------------------------------------------------------------------------
  69.  
  70.   The parts in parentheses are my own little comments, or explanations.
  71. I still don't know what some of them (the codes) mean. The other thing one
  72. must remember is that these were originally for teletypes and not computers,
  73. so that way "Synchronous idle" and the "Acknowledge" family make more sense.
  74. SYN means that someone doesn't want to do anything just yet. ACK and NAK are
  75. in response to a question. ACK means "Yes, we heard you, and the answer is
  76. yes." NAK means "Yes, we heard you, but the answer is no." Presumably if the
  77. questioner recieves anything else then the questioner means "What?"
  78.   Other ones that make sense to me but might not to other people: ENQ was
  79. more than likely the thing people sent when they wanted an ACK or NAK.
  80. BEL is a bell because electronic speakers on teletypes were not common.
  81. VT probably meant "Go to the next vertical tab row" just as a normal
  82. tab means "Go to the next tab column." FF means to go to the next page;
  83. because there are no pages on a video screen it is interpreted to mean
  84. "Clear the screen." I'm not sure what SI and SO are supposed to do. I
  85. doubt if people would have bothered with other typefaces or compressed
  86. type on the old teletypes. DCx probably means they had four characters
  87. to fill so they put in something meaningless like "Device controls."
  88. "End medium" is a complete mystery to me. SS is of course for codes
  89. relating to things they hadn't thought of at the ASCII committee.
  90. FS,RS,US,and GS I should think would be for a database, but they
  91. didn't put databases on teletypes did they? And why they made DEL all
  92. the way back in the end when they could have just eliminated DC4 or something
  93. is beyond me.
  94.  
  95.  
  96. Aaron Priven
  97.  
  98. If you like this text file, please send 10 cents to the above address.
  99.  
  100.     Aaron Priven
  101.     540 Sylvan Avenue
  102.     San Mateo, CA 94403-3214
  103.     U.S.A.
  104.  
  105. Foriegn currency accepted!
  106. e address.
  107.