| 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 |
| 8 | static char sccsid[] = "@(#)unctrl.c 5.1 (Berkeley) %G%"; |
| 9 | #endif not lint |
| 10 | |
| 11 | /* |
| 12 | * define unctrl codes for each character |
| 13 | * |
| 14 | */ |
| 15 | |
| 16 | /* LINTLIBRARY */ |
| 17 | char *_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 | }; |