Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!allegra!eagle!harpo!seismo!hao!cires!nbires!reb
From: reb@nbires.UUCP
Newsgroups: net.lang.c
Subject: '\^Q' as an escape for control characters
Message-ID: <170@nbires.UUCP>
Date: Fri, 3-Jun-83 16:07:39 EDT
Article-I.D.: nbires.170
Posted: Fri Jun  3 16:07:39 1983
Date-Received: Mon, 6-Jun-83 16:31:09 EDT
Lines: 20

In the internal documentation for Gosling's EMACS, it mentions that EMACS'
use of '\' in character strings follows that of C, but then goes on
to give an example for control-X as the **three** char sequence \^X !

K&R makes no mention of this notation and our C compiler (4.1BSD)
does not accept it, as the two character sequence ^X is produced.

Does anybody know if this is a new/future extension to C, available only
in some implementations of C, an error in the EMACS documentation,
an EMACS extension, or what?

BTW, it seems to me that this is a much more reasonable way to represent
infrequently used control characters than \nnn!

					Thanks,
					Roy Binz

					ucbvax!nbires!reb
					allegra!nbires!reb
					hao!nbires!reb