!atereg.def [118] - ATE configuration parameters !----------------------------------------------------------------------- !VEDIT=118 !{Edit History} ![100] September 06, 2008 10:13 AM Edited by joaquin ! Created ![101] October 13, 2008 02:45 PM Edited by jacques ! Add atepref'rec ![102] October 25, 2008 02:30 PM Edited by jacques ! Add new emulation tab fields ![103] October 30, 2008 11:00 AM Edited by jacques ! Convert profile to a structure ST_ATE_PROFILE ![104] November 20, 2008 8:05 PM Edited by jacques ! Add conpre copy for making copies of fields in the pre' routine ![105] December 27, 2008 3:45 PM Edited by jacques ! Add SSHAcceptFingerprint /jdm ![106] January 15, 2009 1:45 PM Edited by jacques ! Add MigrateVHKLM, DisableFileSync ![107] March 23, 2009 1:40 PM Edited by jacques ! Increase logintext from 30 to 250 ![108] January 09, 2010 10:13 AM Edited by jacques ! Add SSHOpen ![109] April 7, 2010 04:18 PM Edited by jacques ! Add CfgPassword ![110] September 4, 2010 01:18 PM Edited by jacques ! Add EmuScrollBack ![111] April 14, 2011 05:34 PM Edited by jacques ! Add EmuSessionStatus,CloseOnDisconnect ![112] May 4, 2011 06:22 PM Edited by jacques ! Add Keepalive ![113] August 15, 2011 10:45 PM Edited by jacques ! Add FtpShare ![114] August 26, 2011 05:30 PM Edited by jacques ! Add LastConnection ![115] February 28, 2014 10:08 AM Edited by jacques ! Expand password fields from 24 to 64 (note that prior to 6.1.1377.4 ! the A-Shell limit was 24!) ![116] May 04, 2014 02:50 PM Edited by jack ! Add LoginPK fields, expand password, hostname ![117] September 13, 2016 11:16 AM Edited by jack ! Some defines moved here from atereg.bsi and atecfx.bas; ! add LoginSBX ![118] 28-Oct-16 17:00 Edited by Jack ! Add conditionals to avoid duplication of structures (see [117]) !----------------------------------------------------------------------- ! ++ifndef ATEREG_DEF_INC_ define ATEREG_DEF_INC_ = 1 ![117] these moved from atereg.bsi define ATE_REG_ATE_KEY$ = "MicroSabio\JBCT\ATE" define ATE_REG_HOSTS_KEY$ = "MicroSabio\JBCT\ATE\Hosts" define ATE_REG_HOSTLIST_KEY$ = "MicroSabio\JBCT\ATE\HostList" define ATE_REG_SETTINGS_KEY$ = "MicroSabio\JBCT\ATE\Settings" define ATE_REG_VSTORE_KEY$ = "SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\MicroSabio\JBCT\ATE\Hosts" ![112] ![117] these moved from atecfx.bas ++ifndef ATE_MSG_CAT define ATE_HELP_FILE$ = "%MIAME%\doc\ateref.chm" define ATE_MSG_FILE$ = "ATEMSG" define ATE_LBL_CAT = 1 ! label messages are 001,xxx in ATEMSG.lng define ATE_TIP_CAT = 4 ! tooltip messages are 004,xxx in ATEMSG.lng define ATE_MSG_CAT = 5 ! misc messages are 005,xxx in ATEMSG.lng ++endif define TRANSPORT_TELNET = 0 define TRANSPORT_TUNNEL = 1 define TRANSPORT_SSH = 2 define MAX_ATEPWENC = 70 ! [116] !naming convention notes: ! for the most part, the field names and types match the Registry names and types ! 'UI on the end of the name indicates a variable used just in user interface ! (corresponding variable without 'UI is used for the registry itself) !note on types and sizes: ! all the numeric fields are stored as b,4 to match up with the REG_DWORD type ! the others are strings (even when holding numbers) to match up with REG_SZ type ! the string sizes should match up with the max sizes defined in ashw32 ++ifndef ST_ATE_PROFILE ! [118] DEFSTRUCT ST_ATE_PROFILE ! ate connection profile map2 tab'id ! ID tab map3 Name,s,32 ! name of connection map3 Description,s,64 ! description of connection map3 AccessCur'UI,b,1 ! radio button (Current User Only, i.e. HKCU) map3 AccessAll'UI,b,1 ! radio button (All Users, i.e. HKLM) map3 LastConnection,b,4 ! [114] last connection date map2 tab'transport ! Transport tab map3 Transport'UI,b,1 ! transport type (see TRANSPORT_xxx) map3 Transport,s,8 ! "TELNET", "TUNNEL", "SSH" map3 Address,s,256 ! name (or IP) of host to connect to [116] was 64 map3 Port,s,6 ! telnet port (telnet and tunnel connections) map3 SSHPort,s,6 ! SSH port (SSH and tunnel connections) map3 LocalPort,s,6 ! local tunnel port (tunnel only) map3 SSHTunnel,b,4 ! tunnelling option active map3 SSHVerboseTunnel,b,4 ! verbose tunnel interface map3 AMserver,b,4 ! server is AMOS map3 SSHAcceptFingerprint,b,4 ! [105] auto-accept fingerprint map3 SSHOpen,b,4 ! [108] use OpenSSH (LIBSSH) (instead of Chilkat SSH) map3 Keepalive,s,6 ! [112] keepalive seconds (0 to disable) map2 tab'emulation ! Emulation tab map3 TTY,S,8 ! emulation name (e.g. AM75G, WYSE50) map3 EmuTopStatus,b,4 ! [102] top status line? map3 EmuBottomStatus,b,4 ! [102] bottom status line? map3 EmuSessionStatus,b,4 ! [111] session status bar? map3 EmuNoFldAttr,b,4 ! [102] disable field attributes map3 EmuNoSpaceAttr,b,4 ! [102] disable auto space for attrib pos (in mode) map3 EmuForceCaps,b,4 ! [102] force CAPS map3 EmuGUItokenize,b,4 ! [102] GUI_SPC_IND_TOK map3 EmuScrollBack,b,4 ! [110] scroll back enabled map2 tab'Login ! Login tab map3 LoginName,s,24 ! login name map3 LoginPassword,s,MAX_ATEPWENC ! login password [115] was 24 [116] was 64 (allows hex) map3 LoginDelay,s,6 ! login delay (ms) map3 LoginPrompt,b,4 ! wait for login prompt ":" map3 LoginPKFile,s,256 ! Private key file [116] map3 LoginPKPassNeeded,b,4 ! Prompt for PK pass phrase if blank [116] map3 LoginPKPass,s,MAX_ATEPWENC ! Private key file passphrase [116] map3 LoginText,s,250 ! extra login text [107] was 30 map3 LoginSBX,s,10 ! [117] SBX to call for login params map2 tab'Printer ! Printer tab map3 PtrName,s,32 ! name map3 PtrMode'GDI'UI,b,4 ! mode GDI radio button map3 PtrMode'PT'UI,b,4 ! mode Passthrough radio button map3 PtrMode,s,12 ! mode (GDI, PASSTHROUGH) map3 PtrAutoPitch,b,4 ! auto pitch map3 PtrCPPNormal,s,4 ! normal CPP map3 PtrCPPWide,s,4 ! wide CPP map3 PtrLPP,s,4 ! LPP map3 PtrPrefix,s,64 ! prefix (AMOS fspec) map3 PtrSuffix,s,64 ! suffix (AMOS fspec) map3 PtrCommand,s,256 ! command= (printer init command) map3 PtrStripFF,b,4 ! Strip leading FF map3 PtrAutoCR,b,4 ! Auto add CR to LF map3 PtrFF,b,4 ! Add a trailing FF map3 PtrIgnore,b,4 ! Ignore printer (just use command) map3 PtrDebug,b,4 ! debug flag map2 tab'Ftp ! FTP tab map3 FtpLocalDir,s,256 ! default local dir map3 FtpRemoteDir,s,256 ! default remote dir map3 FtpShare,b,4 ! [113] hare transport/login with main connection map3 FtpProtocol,s,10 ! protocol (FTP, SFTP) map3 FtpPort,s,6 ! server port (eg. 21 for FTP, 22 for SSH) map3 FtpPassive,b,4 ! enable passive mode map3 FtpTimeout,s,8 ! timeout (secs) map3 FtpName,s,24 ! Ftp login name map3 FtpPassword,s,MAX_ATEPWENC ! Ftp password [115] was 24 [116] map2 tab'Misc ! Misc tab map3 Tracing,b,4 ! tracing active map3 TraceClipboard,b,4 ! trace to clipboard map3 TraceFile,s,256 ! trace file map3 CacheDir,s,256 ! ATECACHE dir map3 PermCacheDir,s,256 ! ATEPERMCACHE dir map3 ConnAccept,b,4 ! Accept reverse channel connection map3 ConnPort,s,6 ! port to accept reverse channel on map3 DisableFileSync,b,4 ! disable file sync map3 CfgPassword,s,MAX_ATEPWENC ! [109] password to change config [115] was 24 [116] was 64 map3 CloseOnDisconnect,b,4 ! [111] Close on server disconnect ENDSTRUCT ++endif ++ifndef ST_ATE_PREF ! [118] DEFSTRUCT ST_ATE_PREF map2 DefaultTTY,s,8 map2 EnableNR,b,4 map2 DefaultIcon,s,32 map2 MigrateVHKLM,b,4 ! [106] check to see if there are any ! [106] VirtualStore profiles to migrate ENDSTRUCT ++endif ++endif