41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
<?php
|
|
|
|
define('MODE_BL',1); // Typing a * command on the baseline
|
|
define('MODE_FIELD',2); // typing into an imput field
|
|
define('MODE_WARPTO',3); // awaiting selection of a timewarp
|
|
define('MODE_COMPLETE',4); // Entry of data is complete ..
|
|
define('MODE_SUBMITRF',5); // asking if should send or not.
|
|
define('MODE_RFSENT',6);
|
|
define('MODE_RFERROR',7);
|
|
define('MODE_RFNOTSENT',8);
|
|
|
|
define('ACTION_RELOAD',1);
|
|
define('ACTION_GOTO',2);
|
|
define('ACTION_BACKUP',3);
|
|
define('ACTION_NEXT',4);
|
|
define('ACTION_INFO',5);
|
|
define('ACTION_TERMINATE',6);
|
|
define('ACTION_SUBMITRF',7); // Offer to submit a response frame
|
|
define('ACTION_STAR',8);
|
|
|
|
// Keyboard presses
|
|
define('KEY_LEFT',chr(136));
|
|
define('KEY_RIGHT',chr(137));
|
|
define('KEY_DOWN',chr(138));
|
|
define('KEY_UP',chr(139));
|
|
|
|
define('TCP_IAC',chr(255));
|
|
define('TCP_DONT',chr(254));
|
|
define('TCP_DO',chr(253));
|
|
define('TCP_WONT',chr(252));
|
|
define('TCP_WILL',chr(251));
|
|
define('TCP_SB',chr(250));
|
|
define('TCP_AYT',chr(246));
|
|
define('TCP_SE',chr(240));
|
|
|
|
define('TCP_BINARY',chr(0));
|
|
define('TCP_OPT_ECHO',chr(1));
|
|
define('TCP_OPT_SUP_GOAHEAD',chr(3));
|
|
define('TCP_OPT_TERMTYPE',chr(24));
|
|
define('TCP_OPT_WINDOWSIZE',chr(31));
|
|
define('TCP_OPT_LINEMODE',chr(34)); |