Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /trunk/teraterm/teraterm/telnet.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6806 - (hide annotations) (download) (as text)
Thu Jun 15 00:37:01 2017 UTC (6 years, 9 months ago) by doda
File MIME type: text/x-chdr
File size: 3371 byte(s)
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3     * (C) 2007-2017 TeraTerm Project
4     * All rights reserved.
5     *
6     * Redistribution and use in source and binary forms, with or without modification,
7     * are permitted provided that the following conditions are met:
8     *
9     * 1. Redistributions of source code must retain the above copyright notice,
10     * this list of conditions and the following disclaimer.
11     * 2. Redistributions in binary form must reproduce the above copyright notice,
12     * this list of conditions and the following disclaimer in the documentation
13     * and/or other materials provided with the distribution.
14     * 3. The name of the author may not be used to endorse or promote products derived
15     * from this software without specific prior written permission.
16     *
17     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
18     * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19     * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20     * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22     * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24     * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25     * OF SUCH DAMAGE.
26     */
27 maya 3227
28     /* TERATERM.EXE, TELNET routines */
29    
30     #define TEL_EOF 236
31     #define SUSP 237
32     #define ABORT 238
33    
34     #define SE 240
35     #define NOP 241
36     #define DM 242
37     #define BREAK 243
38     #define IP 244
39     #define AO 245
40     #define AYT 246
41     #define EC 247
42     #define EL 248
43     #define GOAHEAD 249
44     #define SB 250
45     #define WILLTEL 251
46     #define WONTTEL 252
47     #define DOTEL 253
48     #define DONTTEL 254
49     #define IAC 255
50    
51     #define BINARY 0
52     #define ECHO 1
53     #define RECONNECT 2
54 doda 6435 #define SGA 3
55 maya 3227 #define AMSN 4
56     #define STATUS 5
57     #define TIMING 6
58     #define RCTAN 7
59     #define OLW 8
60     #define OPS 9
61     #define OCRD 10
62     #define OHTS 11
63     #define OHTD 12
64     #define OFFD 13
65     #define OVTS 14
66     #define OVTD 15
67     #define OLFD 16
68     #define XASCII 17
69     #define LOGOUT 18
70     #define BYTEM 19
71     #define DET 20
72     #define SUPDUP 21
73     #define SUPDUPOUT 22
74     #define SENDLOC 23
75     #define TERMTYPE 24
76     #define EOR 25
77     #define TACACSUID 26
78     #define OUTPUTMARK 27
79     #define TERMLOCNUM 28
80     #define REGIME3270 29
81     #define X3PAD 30
82     #define NAWS 31
83     #define TERMSPEED 32
84     #define TFLOWCNTRL 33
85     #define LINEMODE 34
86     #define MaxTelOpt 34
87    
88     /* Telnet status */
89     #define TelIdle 0
90     #define TelIAC 1
91     #define TelSB 2
92     #define TelWill 3
93     #define TelWont 4
94     #define TelDo 5
95     #define TelDont 6
96     #define TelNop 7
97    
98     #ifdef __cplusplus
99     extern "C" {
100     #endif
101    
102     void InitTelnet();
103     void EndTelnet();
104     void ParseTel(BOOL *Size, int *Nx, int *Ny);
105     void TelEnableHisOpt(BYTE b);
106     void TelEnableMyOpt(BYTE b);
107     void TelInformWinSize(int nx, int ny);
108     void TelSendAYT();
109     void TelSendBreak();
110     void TelChangeEcho();
111     void TelSendNOP();
112     void TelStartKeepAliveThread();
113     void TelStopKeepAliveThread();
114     void TelUpdateKeepAliveInterval();
115    
116     extern int TelStatus;
117    
118     #ifdef __cplusplus
119     }
120     #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26