Browse Subversion Repository
Annotation of /trunk/teraterm/teraterm/telnet.h
Parent Directory
| Revision Log
Revision 6435 -
( hide annotations)
( download)
( as text)
Mon Jul 11 08:53:02 2016 UTC
(7 years, 9 months ago)
by doda
File MIME type: text/x-chdr
File size: 1905 byte(s)
・行末の空白/タブを削除
・インデント調整
| 1 |
maya |
3227 |
/* Tera Term |
| 2 |
|
|
Copyright(C) 1994-1998 T. Teranishi |
| 3 |
|
|
All rights reserved. */ |
| 4 |
|
|
|
| 5 |
|
|
/* TERATERM.EXE, TELNET routines */ |
| 6 |
|
|
|
| 7 |
|
|
#define TEL_EOF 236 |
| 8 |
|
|
#define SUSP 237 |
| 9 |
|
|
#define ABORT 238 |
| 10 |
|
|
|
| 11 |
|
|
#define SE 240 |
| 12 |
|
|
#define NOP 241 |
| 13 |
|
|
#define DM 242 |
| 14 |
|
|
#define BREAK 243 |
| 15 |
|
|
#define IP 244 |
| 16 |
|
|
#define AO 245 |
| 17 |
|
|
#define AYT 246 |
| 18 |
|
|
#define EC 247 |
| 19 |
|
|
#define EL 248 |
| 20 |
|
|
#define GOAHEAD 249 |
| 21 |
|
|
#define SB 250 |
| 22 |
|
|
#define WILLTEL 251 |
| 23 |
|
|
#define WONTTEL 252 |
| 24 |
|
|
#define DOTEL 253 |
| 25 |
|
|
#define DONTTEL 254 |
| 26 |
|
|
#define IAC 255 |
| 27 |
|
|
|
| 28 |
|
|
#define BINARY 0 |
| 29 |
|
|
#define ECHO 1 |
| 30 |
|
|
#define RECONNECT 2 |
| 31 |
doda |
6435 |
#define SGA 3 |
| 32 |
maya |
3227 |
#define AMSN 4 |
| 33 |
|
|
#define STATUS 5 |
| 34 |
|
|
#define TIMING 6 |
| 35 |
|
|
#define RCTAN 7 |
| 36 |
|
|
#define OLW 8 |
| 37 |
|
|
#define OPS 9 |
| 38 |
|
|
#define OCRD 10 |
| 39 |
|
|
#define OHTS 11 |
| 40 |
|
|
#define OHTD 12 |
| 41 |
|
|
#define OFFD 13 |
| 42 |
|
|
#define OVTS 14 |
| 43 |
|
|
#define OVTD 15 |
| 44 |
|
|
#define OLFD 16 |
| 45 |
|
|
#define XASCII 17 |
| 46 |
|
|
#define LOGOUT 18 |
| 47 |
|
|
#define BYTEM 19 |
| 48 |
|
|
#define DET 20 |
| 49 |
|
|
#define SUPDUP 21 |
| 50 |
|
|
#define SUPDUPOUT 22 |
| 51 |
|
|
#define SENDLOC 23 |
| 52 |
|
|
#define TERMTYPE 24 |
| 53 |
|
|
#define EOR 25 |
| 54 |
|
|
#define TACACSUID 26 |
| 55 |
|
|
#define OUTPUTMARK 27 |
| 56 |
|
|
#define TERMLOCNUM 28 |
| 57 |
|
|
#define REGIME3270 29 |
| 58 |
|
|
#define X3PAD 30 |
| 59 |
|
|
#define NAWS 31 |
| 60 |
|
|
#define TERMSPEED 32 |
| 61 |
|
|
#define TFLOWCNTRL 33 |
| 62 |
|
|
#define LINEMODE 34 |
| 63 |
|
|
#define MaxTelOpt 34 |
| 64 |
|
|
|
| 65 |
|
|
/* Telnet status */ |
| 66 |
|
|
#define TelIdle 0 |
| 67 |
|
|
#define TelIAC 1 |
| 68 |
|
|
#define TelSB 2 |
| 69 |
|
|
#define TelWill 3 |
| 70 |
|
|
#define TelWont 4 |
| 71 |
|
|
#define TelDo 5 |
| 72 |
|
|
#define TelDont 6 |
| 73 |
|
|
#define TelNop 7 |
| 74 |
|
|
|
| 75 |
|
|
#ifdef __cplusplus |
| 76 |
|
|
extern "C" { |
| 77 |
|
|
#endif |
| 78 |
|
|
|
| 79 |
|
|
void InitTelnet(); |
| 80 |
|
|
void EndTelnet(); |
| 81 |
|
|
void ParseTel(BOOL *Size, int *Nx, int *Ny); |
| 82 |
|
|
void TelEnableHisOpt(BYTE b); |
| 83 |
|
|
void TelEnableMyOpt(BYTE b); |
| 84 |
|
|
void TelInformWinSize(int nx, int ny); |
| 85 |
|
|
void TelSendAYT(); |
| 86 |
|
|
void TelSendBreak(); |
| 87 |
|
|
void TelChangeEcho(); |
| 88 |
|
|
void TelSendNOP(); |
| 89 |
|
|
void TelStartKeepAliveThread(); |
| 90 |
|
|
void TelStopKeepAliveThread(); |
| 91 |
|
|
void TelUpdateKeepAliveInterval(); |
| 92 |
|
|
|
| 93 |
|
|
extern int TelStatus; |
| 94 |
|
|
|
| 95 |
|
|
#ifdef __cplusplus |
| 96 |
|
|
} |
| 97 |
|
|
#endif |
|