5 * The contents of this file are subject to the terms of the
6 * Common Development and Distribution License (the "License").
7 * You may not use this file except in compliance with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
34 #define CNTRL(c) ((c)&0x37)
40 /* telnet protocol command support */
41 #define BEL 7 /* not support */
42 #define BS 8 /* supported */
43 #define HT 9 /* eoln */
44 #define VT 11 /* not support */
45 #define FF 12 /* not support */
49 #define SE 240 /* end of subnegotiation params */
51 #define DM 242 /* Data Mark not support */
52 #define BRK 243 /* termial support */
53 #define IP 244 /* control-C */
54 #define AO 245 /* abort output not support */
55 #define AYT 246 /* Are you there */
56 #define EC 247 /* Erase character - not support */
57 #define EL 248 /* Erase line - not support */
58 #define GA 249 /* Go ahead. */
59 #define SB 250 /* Subnegotiation of the indicated option */
60 #define WILL 251 /* will do */
61 #define WONT 252 /* refuse */
62 #define DO 253 /* request do */
63 #define DONT 254 /* request do not do */
64 #define IAC 255 /* command */
73 #define TM 6 /* timing mark - not supported */
74 #define TERM_TYPE 24 /* Terminal type -not supported */
75 #define WIN_SIZE 31 /* window size - not supported */
76 #define TERM_SP 32 /* terminal speed - not supported */
77 #define FC 33 /* remote flow control - not supported */
78 #define LINEMODE 34 /* line mode */
79 #define ENV 36 /* environment variables */
81 #define VNTSD_DAEMON_CMD '~'