⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ckudia.c

📁 linux终端仿真程序
💻 C
📖 第 1 页 / 共 5 页
字号:
    "AT&K0\015",			/* nofc_str */    "AT\\N3S36=7S48=7\015",		/* ec_on_str */    "AT\\N1\015",			/* ec_off_str */    "ATS46=138\015",			/* dc_on_str */    "ATS46=136\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF INTEL =				/* Intel */    {    "Intel High-Speed Faxmodem",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1Y0X4&S0&C1&D2\\K1\\V2S25=50\015", /* wake_str */#else    "ATQ0E1Y0X4\\K1\\V2S25=50\015", /* wake_str */#endif /* OS2 */    0,					/* wake_rate */    "OK\015",				/* wake_prompt */    "ATB1+FCLASS=0\015",		/* dmode_str */     "OK\015",				/* dmode_prompt */    "ATD%s\015",			/* dial_str */    0,					/* dial_rate */    1100,				/* esc_time */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "AT\\G1\\Q3\015",			/* hwfc_str */    "AT\\G1\\Q1\\X0\015",		/* swfc_str */    "AT\\G0\015",			/* nofc_str */    "AT\\J0\\N3\"H3\015",		/* ec_on_str */    "AT\\N1\015",			/* ec_off_str */    "AT%C1\015",			/* dc_on_str */    "AT%C0\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF MULTITECH =			/* Multitech */    {    "Multitech MT1432 Series MultiModem II",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1X4&S0&C1&D2&E8&Q0%E1#P0\015", /* wake_str */#else    "ATQ0E1X4&E8&Q0%E1#P0\015",		/* wake_str */#endif /* OS2 */    0,					/* wake_rate */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str */    0,					/* dial_rate */    1100,				/* esc_time */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "AT&E4&E7&E8&E11&E13\015",		/* hwfc_str */    "AT&E5&E6&E8&E11&E13\015",		/* swfc_str */    "AT&E3&E7&E8&E10&E12\015",		/* nofc_str */    "AT&E1\015",			/* ec_on_str */    "AT#L0&E0\015",			/* ec_off_str */    "AT&E15\015",			/* dc_on_str */    "AT&E14\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "AT$BA0\015",			/* sb_on_str (= "baud adjust off") */    "AT$BA1\015",			/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF SUPRA =				/* Supra */    {    "SupraFAXModem 144 or 288",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1N1W0X4Y0&S0&C1&D2\\K5S82=128\015", /* wake_str */#else    "ATQ0E1N1W0X4Y0\\K5S82=128\015",	/* wake_str */#endif /* OS2 */    0,					/* wake_rate */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str */    0,					/* dial_rate */    1100,				/* esc_time */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "AT&K3\015",			/* hwfc_str */    "AT&K4\015",			/* swfc_str */    "AT&K0\015",			/* nofc_str */    "AT&Q5\\N3S48=7\015",		/* ec_on_str */    "AT&Q0\\N1\015",			/* ec_off_str */    "AT%C1S46=138\015",			/* dc_on_str */    "AT%C0S46=136\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF MAXTECH =			/* MaxTech */    {    "MaxTech XM288EA or GVC FAXModem",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1X4Y0&S0&C1&D2&L0&M0\\K5\015", /* wake_str */#else    "ATQ0E1X4Y0&L0&M0\\K5\015",		/* wake_str */#endif /* OS2 */    0,					/* wake_rate */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str */    0,					/* dial_rate */    1100,				/* esc_time */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "AT\\Q3\015",			/* hwfc_str */    "AT\\Q1\\X0\015",			/* swfc_str */    "AT\\Q0\015",			/* nofc_str */    "AT\\N6\015",			/* ec_on_str */    "AT\\N0\015",			/* ec_off_str */    "AT\\N6%C1\015",			/* dc_on_str */    "AT\\N6%C0\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    115200L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF ROLM =		/* IBM / Siemens / Rolm 8000, 9000, 9751 CBX DCM */    {    "IBM/Siemens/Rolm CBX Data Communications Module",    "",					/* pulse command */    "",					/* tone command */    60,					/* dial_time */    "",					/* pause_chars */    0,					/* pause_time */    "\015\015",				/* wake_str */    5,					/* wake_rate */    "MODIFY?",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "CALL %s\015",			/* dial_str */    0,					/* dial_rate */    0,					/* esc_time */    0,					/* esc_char */    "",					/* hup_str */    "",					/* hwfc_str */    "",					/* swfc_str */    "",					/* nofc_str */    "",					/* ec_on_str */    "",					/* ec_off_str */    "",					/* dc_on_str */    "",					/* dc_off_str */    "",					/* aa_on_str */    "",					/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    19200L,				/* max_speed */    0,					/* capas */    NULL				/* ok_fn */};staticMDMINF USR =				/* USR Courier and Sportster modems */    {    "US Robotics Courier or Sportster",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0X4&A3&S0&C1&D2&N0&Y3\015",	/* wake_str */#else    "ATQ0X4&A3&N0&Y3\015",		/* wake_str */#endif /* OS2 */    0,					/* wake_rate */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str */    0,					/* dial_rate */    1100,				/* esc_time */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "AT&H1&R2&I0\015",			/* hwfc_str */    "AT&H2&R1&I2\015",			/* swfc_str */    "AT&H0&R1&I0\015",			/* nofc_str */    "AT&M4&B1\015",			/* ec_on_str */    "AT&M0\015",			/* ec_off_str */    "AT&K1\015",			/* dc_on_str */    "AT&K0\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};#ifdef OLDTBCODEstaticMDMINF TELEBIT =			/* All Telebits */    {    "Telebit - all models",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    60,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time *//*  NOTE: The wake_string MUST contain the I command (model query), and otherwise  must contain commands that work on ALL Telebit models.  Here we ensure that  result codes are returned (Q0), and ask for extended result codes (X1), and  ensure that the escape sequence is +++ and it is enabled.  And also, make  sure the final character is not a digit (whose echo might be mistaken for a  result code).  The Ctrl-Q (\021) and multiple A's are recommended by Telebit.*/#ifdef OS2    "\021AAAAATQ0X1&S0&C1&D2S12=50 S50=0 I\015", /* wake_str. */#else    "\021AAAAATQ0X1S12=50 S50=0 I\015", /* wake_str. */#endif /* OS2 */    100,				/* wake_rate = 100 msec */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str, Note: no T or P */    80,					/* dial_rate */    1100,				/* esc_time (guard time) */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "ATS58=2S68=2\015",			/* hwfc_str */    "ATS58=3S68=3\015",			/* swfc_str */    "ATS58=0S68=0\015",			/* nofc_str */    "",					/* ec_on_str */    "",					/* ec_off_str */    "",					/* dc_on_str */    "",					/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    0L,					/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW|CKD_TB, /* capas */    getok				/* ok_fn */};#elsestaticMDMINF OLDTB =				/* Old Telebits */    {    "Telebit TrailBlazer, T1000, T1500, T2000, T2500",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    60,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "\021AAAAATQ0X1&S0&C1&D2S12=50S50=0S54=3\015", /* wake_str. */#else    "\021AAAAATQ0X1S12=50S50=0S54=3\015", /* wake_str. */#endif /* OS2 */    100,				/* wake_rate = 100 msec */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str, Note: no T or P */    80,					/* dial_rate */    1100,				/* esc_time (guard time) */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "ATS58=2S68=2\015",			/* hwfc_str */    "ATS58=3S68=3S69=0\015",		/* swfc_str */    "ATS58=0S68=0\015",			/* nofc_str */    "ATS66=1S95=2\015",			/* ec_on_str */    "ATS95=0\015",			/* ec_off_str */    "ATS110=1S96=1\015",		/* dc_on_str */    "ATS110=0S96=0\015",		/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    19200L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW|CKD_TB|CKD_KS, /* capas */    getok				/* ok_fn */};staticMDMINF NEWTB =				/* New Telebits */    {    "Telebit T1600, T3000, QBlazer, WorldBlazer, etc.",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    60,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "\021AAAAATQ0X2&S0&C1&D2S12=50S50=0S61=1S63=0\015", /* wake_str. */#else    "\021AAAAATQ0X2S12=50S50=0S61=1S63=0\015", /* wake_str. */#endif /* OS2 */    100,				/* wake_rate = 100 msec */    "OK\015",				/* wake_prompt */    "",					/* dmode_str */    "",					/* dmode_prompt */    "ATD%s\015",			/* dial_str, Note: no T or P */    80,					/* dial_rate */    1100,				/* esc_time (guard time) */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "ATS58=2S68=2\015",			/* hwfc_str */    "ATS58=3S68=3\015",			/* swfc_str */    "ATS58=0S68=0\015",			/* nofc_str */    "ATS180=3\015",			/* ec_on_str */    "ATS180=0\015",			/* ec_off_str */    "ATS190=1\015",			/* dc_on_str */    "ATS190=0\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    38400L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW|CKD_TB|CKD_KS, /* capas */    getok				/* ok_fn */};#endif /* OLDTBCODE */staticMDMINF DUMMY = /* dummy information for modems that are handled elsewhere */    {    "(dummy)",    "",					/* pulse command */    "",					/* tone command */    30,					/* dial_time */    "",					/* pause_chars */    0,					/* pause_time */    "",					/* wake_str */    0,					/* wake_rate */    "",					/* wake_prompt */    "",					/* dmode_str */    NULL,				/* dmode_prompt */    "%s\015",				/* dial_str */    0,					/* dial_rate */    0,					/* esc_time */    0,					/* esc_char */    "",					/* hup_str */    "",					/* hwfc_str */    "",					/* swfc_str */    "",					/* nofc_str */    "",					/* ec_on_str */    "",					/* ec_off_str */    "",					/* dc_on_str */    "",					/* dc_off_str */    "",					/* aa_on_str */    "",					/* aa_off_str */    "",					/* sb_on_str */    "",					/* sb_off_str */    0L,					/* max_speed */    0,					/* capas */    NULL				/* ok_fn */};staticMDMINF RWV32 =				/* Generic Rockwell V.32 */    {    "Generic Rockwell V.32 modem",	/* ATI3, ATI4, and ATI6 for details */    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -