Ken Arnold edits for document distributed with 4.3BSD
[unix-history] / usr / src / lib / libcurses / unctrl.c
CommitLineData
b059c7be
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifndef lint
8static char sccsid[] = "@(#)unctrl.c 5.1 (Berkeley) %G%";
9#endif not lint
10
e2423281
KA
11/*
12 * define unctrl codes for each character
13 *
e2423281
KA
14 */
15
16/* LINTLIBRARY */
17char *_unctrl[] = { /* unctrl codes for ttys */
18 "^@", "^A", "^B", "^C", "^D", "^E", "^F", "^G", "^H", "^I", "^J", "^K",
19 "^L", "^M", "^N", "^O", "^P", "^Q", "^R", "^S", "^T", "^U", "^V", "^W",
20 "^X", "^Y", "^Z", "^[", "^\\", "^]", "^~", "^_",
21 " ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-",
22 ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";",
23 "<", "=", ">", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I",
24 "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W",
25 "X", "Y", "Z", "[", "\\", "]", "^", "_", "`", "a", "b", "c", "d", "e",
26 "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s",
27 "t", "u", "v", "w", "x", "y", "z", "{", "|", "}", "~", "^?"
28};