[SDL] ctrl + w == unicode 23?

Bob Pendleton bob at pendleton.com
Mon Dec 2 09:58:01 PST 2002


On Sun, 2002-12-01 at 18:51, Ryan C. Gordon wrote:
> 
> > For those who may not know, ctrl-A through ctrl-Z map to ASCII
> > characters 1 through 26, in the obvious pattern. ctrl-[ through ctrl-_
> > continue the pattern for characters 27 through 31. ASCII character 0,
> > also known as NUL, is represented as ctrl-@ (or sometimes ctrl-space).
> 
> Oh, duh, I guess that makes sense. Just didn't expect X11 to consider
> them as ASCII 1 through 26...that seems so...DOS.  :)

That statement made my head hurt Ryan. This mapping has been used for as
long as there have been ASCII characters. This mapping is older than
DOS, it is older than CP/M, it is older than microprocessors. It goes
back to the original ASCII character set standardized in 1963.

The oddest thing about it is that DOS messed up the ASCII character set
by miss-using a number of the characters and providing printable
representations for characters that aren't supposed to be printable.
Lines really are supposed to end with cr/lf or else the carriage won't
return and the paper won't advance and you get a real mess. :-)

--++**ouch**++--

My head hurts.

		Bob Pendleton

P.S.

For those of you who have never had to work with 7 level paper tape and
printing ASCII terminals... Thank your lucky stars. They were a ROYAL
PITA.

-- 
+------------------------------------+
+ Bob Pendleton, consultant for hire +
+ Resume: http://www.jump.net/~bobp  +
+ Email:  bob at pendleton.com          +
+------------------------------------+





More information about the SDL mailing list