📄 ckudia.c
字号:
"", /* 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 */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 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 */ 50, /* 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 */ "", /* sp_off_str */ "", /* sp_on_str */ "", /* vol1_str */ "", /* vol2_str */ "", /* vol3_str */ "", /* ignoredt */ "", /* ini2 */ 19200L, /* max_speed */ 0, /* capas */ NULL /* ok_fn */};staticMDMINF USR = /* USR Courier and Sportster modems */ { "US Robotics Courier, Sportster, or compatible", "ATP\015", /* pulse command */ "ATT\015", /* tone command */ 35, /* dial_time */ ",", /* pause_chars */ 2, /* pause_time */#ifdef OS2 "ATQ0E1V1X4&A3&S0&C1&D2&N0&Y3S14=0\015", /* wake_str */#else#ifdef SUNOS4 "ATQ0X4&A3&S0&N0&Y3S14=0\015", /* wake_str -- needs &S0 in SunOS */#else#ifdef VMS "ATQ0X4&A3&S1&N0&Y3S14=0\015", /* wake_str -- needs &S1 in VMS */#else "ATQ0X4&A3&N0&Y3S14=0\015", /* wake_str */#endif /* VMS */#endif /* SUNOS4 */#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 */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 115200L, /* max_speed */ CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */ getok /* ok_fn */};staticMDMINF USRX2 = /* USR XJ-CC1560 X2 56K */ { "US Robotics / Megahertz CC/XJ-CC1560 X2", "ATP\015", /* pulse command */ "ATT\015", /* tone command */ 35, /* dial_time */ ",", /* pause_chars */ 2, /* pause_time */#ifdef OS2 "ATQ0E1V1X4&A3&S0&B2&C1&D2&N0\015", /* wake_str */#else#ifdef VMS "ATQ0X4&A3&B2&N0&S1\015", /* wake_str */#else "ATQ0X4&A3&B2&N0\015", /* wake_str */#endif /* VMS */#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&I0\015", /* hwfc_str */ "AT&H2&I2\015", /* swfc_str */ "AT&H0&I0\015", /* nofc_str */ "AT&M4\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 */ "AT&B1\015", /* sb_on_str */ "AT&B0\015", /* sb_off_str */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 115200L, /* max_speed */ CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */ getok /* ok_fn */};staticMDMINF 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 "\021AAAAATQ0E1V1X1&S0&C1&D2S12=50S50=0S54=3\015", /* wake_str. */#else#ifdef VMS "\021AAAAATQ0X1S12=50S50=0S54=3\015", /* wake_str. */#else "\021AAAAATQ0X1&S1S12=50S50=0S54=3\015", /* wake_str. */#endif /* VMS */#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 */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 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 "\021AAAAATQ0E1V1X2&S0&C1&D2S12=50S50=0S61=0S63=0\015", /* wake_str. */#else#ifdef VMS "\021AAAAATQ0X2&S1S12=50S50=0S61=0S63=0\015", /* wake_str. */#else "\021AAAAATQ0X2S12=50S50=0S61=0S63=0\015", /* wake_str. */#endif /* VMS */#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 */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 38400L, /* max_speed */ CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW|CKD_TB|CKD_KS, /* capas */ getok /* ok_fn */};#endif /* MINIDIAL */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 */ "", /* sp_off_str */ "", /* sp_on_str */ "", /* vol1_str */ "", /* vol2_str */ "", /* vol3_str */ "", /* ignoredt */ "", /* ini2 */ 0L, /* max_speed */ 0, /* capas */ NULL /* ok_fn */};#ifndef MINIDIALstaticMDMINF RWV32 = /* Generic Rockwell V.32 */ { "Generic Rockwell V.32 modem", /* ATI3, ATI4, and ATI6 for details */ "ATP\015", /* pulse command */ "ATT\015", /* tone command */ 35, /* dial_time */ ",", /* pause_chars */ 2, /* pause_time */#ifdef OS2 "ATQ0E1V1X4Y0&S0&C1&D2%E2\\K5+FCLASS=0N1S37=0\015", /* wake_str */#else#ifdef VMS "ATQ0X4Y0&S1%E2\\K5+FCLASS=0N1S37=0\015", /* wake_str */#else "ATQ0X4Y0%E2\\K5+FCLASS=0N1S37=0\015", /* wake_str */#endif /* VMS */#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&Q6\015", /* ec_on_str */ "AT&Q0\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 */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 57600L, /* max_speed */ CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */ getok /* ok_fn */};staticMDMINF RWV32B = /* Generic Rockwell V.32bis */ { "Generic Rockwell V.32bis modem", /* ATI3, ATI4, and ATI6 for details */ "ATP\015", /* pulse command */ "ATT\015", /* tone command */ 35, /* dial_time */ ",", /* pause_chars */ 2, /* pause_time */#ifdef OS2 "ATQ0E1V1X4Y0&S0&C1&D2%E2\\K5+FCLASS=0N1S37=0\015", /* wake_str */#else#ifdef VMS "ATQ0X4Y0&S1%E2\\K5+FCLASS=0N1S37=0\015", /* wake_str */#else "ATQ0X4Y0%E2\\K5+FCLASS=0N1S37=0\015", /* wake_str */#endif /* VMS */#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&Q5\015", /* ec_on_str */ "AT&Q0\015", /* ec_off_str */ "ATS%C1\015", /* dc_on_str */ "ATS%C0\015", /* dc_off_str */ "ATS0=1\015", /* aa_on_str */ "ATS0=0\015", /* aa_off_str */ "", /* sb_on_str */ "", /* sb_off_str */ "ATM1\015", /* sp_on_str */ "ATM0\015", /* sp_off_str */ "ATL1\015", /* vol1_str */ "ATL2\015", /* vol2_str */ "ATL3\015", /* vol3_str */ "ATX3\015", /* ignoredt */ "", /* ini2 */ 57600L, /* max_speed */ CKD_AT|CKD_SB|CKD_EC|CKD_DC|CKD_HW|CKD_SW, /* capas */ getok /* ok_fn */};staticMDMINF RWV34 = /* Generic Rockwel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -