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

📄 ckudia.c

📁 linux终端仿真程序
💻 C
📖 第 1 页 / 共 5 页
字号:
    "ATD%s\015",			/* dial_str */    0,					/* dial_rate */    1100,				/* esc_time */    43,					/* esc_char */    "ATQ0H0\015",			/* hup_str */    "",					/* hwfc_str */    "",					/* swfc_str */    "",					/* 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 */    1200L,				/* max_speed */    CKD_AT,				/* capas */    getok				/* ok_fn */};staticMDMINF H_ULTRA =			/* Hayes high-speed */    {    "Hayes Ultra/Optima/Accura 96/144/288", /* U,O,A */    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0X4N1Y0&S0&C1&D2S37=0S82=128\015", /* wake_str */#else    "ATQ0X4N1Y0S37=0S82=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 */   /* OK for U,O */    "AT&K4\015",			/* swfc_str */   /* OK for U,O */    "AT&K0\015",			/* nofc_str */   /* OK for U,O */    "AT&Q5S36=7S48=7\015",		/* ec_on_str */  /* OK for U,O */    "AT&Q0\015",			/* ec_off_str */ /* OK for U,O */    "ATS46=2\015",			/* dc_on_str */    "ATS46=0\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 */  /* (varies) */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF H_ACCURA =			/* Hayes Accura */    {					/* GUESSING IT'S LIKE ULTRA & OPTIMA */    "Hayes Accura",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0X4N1Y0&S0&C1&D2S37=0S82=128\015", /* wake_str */#else    "ATQ0X4N1Y0S37=0S82=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&Q5S36=7S48=7\015",		/* ec_on_str */    "AT&Q0\015",			/* ec_off_str */    "ATS46=2\015",			/* dc_on_str */    "ATS46=0\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 */  /* (varies) */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF PPI =				/* Practical Peripherals  */    {    "Practical Peripherals V.22bis or higher with V.42 and V.42bis",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef COMMENT/* In newer models S82 (BREAK handling) was eliminated, causing an error. */#ifdef OS2    "ATQ0X4N1&S0&C1&D2S37=0S82=128\015", /* wake_str */#else    "ATQ0X4N1S37=0S82=128\015",		/* wake_str */#endif /* OS2 */#else /* So now we use Y0 instead */#ifdef OS2    "ATQ0X4N1&S0&C1&D2Y0S37=0\015",	/* wake_str */#else    "ATQ0X4N1Y0S37=0\015",		/* wake_str */#endif /* OS2 */#endif /* COMMENT */    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&Q5S36=7S48=7\015",		/* ec_on_str */    "AT&Q0S36=0S48=128\015",		/* ec_off_str */    "ATS46=2\015",			/* dc_on_str */    "ATS46=0\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 DATAPORT =			/* AT&T Dataport  */    {    "AT&T / Paradyne DataPort V.32 or higher",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */    /*       Note: S41=0 (use highest modulation) omitted, since it is not       supported on the V.32 and lower models.  So let's not touch it.    */#ifdef OS2    "ATQ0E1X6&Q0S78=0\015",		/* wake_str */#else    "ATQ0E1X6&S0&C1&D2&Q0S78=0\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\\N7\015",			/* ec_on_str */    "AT\\N0\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 UCOM_AT =			/* Microcom DeskPorte FAST ES 28.8 */    {    "Microcom DeskPorte FAST 28.8",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0X4\\N0F0&S0&C1&D2\\K5\015",	/* wake_str */#else    "ATQ0X4F0\\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\015",			/* swfc_str */    "AT\\H0\\Q0\015",			/* nofc_str */    "AT\\N3\015",			/* ec_on_str */    "AT\015",				/* ec_off_str */    "AT%C3\015",			/* dc_on_str */    "AT%C0\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "AT-J0\015",			/* sb_on_str */    "AT-J1\015",			/* sb_off_str */    115200L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF ZOOM =				/* Zoom Telephonics V.32bis  */    {    "Zoom Telephonics V.32bis",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1N1W1X4&S0&C1&D2S82=128S95=47\015", /* wake_str */#else    "ATQ0E1N1W1X4S82=128S95=47\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&Q5S36=7S48=7\015",		/* ec_on_str */    "AT&Q0\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 ZYXEL =				/* ZyXEL U-Series */    {    "ZyXEL U-Series V.32bis or higher",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1&S0&C1&D2&N0X5&Y1\015",	/* wake_str */#else    "ATQ0E1&N0X5&Y1\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&H3\015",			/* hwfc_str */    "AT&H4\015",			/* swfc_str */    "AT&H0\015",			/* nofc_str */    "AT&K3\015",			/* ec_on_str */    "AT&K0\015",			/* ec_off_str */    "AT&K4\015",			/* dc_on_str */    "AT&K3\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 ZOLTRIX =			/* Zoltrix */    {    "Zoltrix V.32bis and V.34 modems with Rockwell ACI chipset",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2   "ATQ0E1F0W1X4Y0&S0&C1&D2\\K5S82=128S95=41\015", /* wake_str */#else   "ATQ0E1F0W1X4Y0\\K5S82=128S95=41\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&K4S32=17S33=19\015",		/* swfc_str */    "AT&K0\015",			/* nofc_str */    "AT\\N3\015",			/* ec_on_str */    "AT\\N1\015",			/* ec_off_str */    "ATS46=138%C3\015",			/* dc_on_str */    "ATS46=136%C0\015",			/* dc_off_str */    "ATS0=1\015",			/* aa_on_str */    "ATS0=0\015",			/* aa_off_str */    "AT\\N0\015",			/* sb_on_str */    "AT&Q0\015",			/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF MOTOROLA = {			/* Motorola FasTalk II or Lifestyle *//*  "\E" and "\X" commands removed - Motorola Lifestyle doesn't have them.     \E0 = Don't echo while online     \X0 = Process Xon/Xoff but don't pass through*/    "Motorola FasTalk II or Lifestyle",	/* Name */    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1X4&S0&C1&D2\\K5\\V1\015",	/* wake_str */#else    "ATQ0E1X4\\K5\\V1\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\015",			/* swfc_str */    "AT\\Q0\015",			/* nofc_str */    "AT\\N6\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 */    "AT\\J0\015",			/* sb_on_str */    "AT\\J1\015",			/* sb_off_str */    57600L,				/* max_speed */    CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */    getok				/* ok_fn */};staticMDMINF BOCA =				/* Boca */    {    "BOCA 14.4 Faxmodem",    "ATP\015",				/* pulse command */    "ATT\015",				/* tone command */    35,					/* dial_time */    ",",				/* pause_chars */    2,					/* pause_time */#ifdef OS2    "ATQ0E1F1N1W1&S0&C1&D2\\K5S37=11S82=128S95=47X4\015", /* wake_str */#else    "ATQ0E1F1N1W1\\K5S37=11S82=128S95=47X4\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 */

⌨️ 快捷键说明

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