1 /* 2 * Copyright (c) 1981 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that this notice is preserved and that due credit is given 7 * to the University of California at Berkeley. The name of the University 8 * may not be used to endorse or promote products derived from this 9 * software without specific prior written permission. This software 10 * is provided ``as is'' without express or implied warranty. 11 */ 12 13 #ifndef lint 14 static char sccsid[] = "@(#)unctrl.c 5.2 (Berkeley) 06/08/88"; 15 #endif /* not lint */ 16 17 /* 18 * define unctrl codes for each character 19 * 20 */ 21 22 /* LINTLIBRARY */ 23 char *_unctrl[] = { /* unctrl codes for ttys */ 24 "^@", "^A", "^B", "^C", "^D", "^E", "^F", "^G", "^H", "^I", "^J", "^K", 25 "^L", "^M", "^N", "^O", "^P", "^Q", "^R", "^S", "^T", "^U", "^V", "^W", 26 "^X", "^Y", "^Z", "^[", "^\\", "^]", "^~", "^_", 27 " ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", 28 ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", 29 "<", "=", ">", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", 30 "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", 31 "X", "Y", "Z", "[", "\\", "]", "^", "_", "`", "a", "b", "c", "d", "e", 32 "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", 33 "t", "u", "v", "w", "x", "y", "z", "{", "|", "}", "~", "^?" 34 }; 35