; Oberon Terminal Emulator/2 Initialization File ; ; Contents Copyright 1990-1991, Oberon Software, Mankato, MN 56001 ; ; Sample TE/2 Initialization File ; ; In most cases the settings you will find here just duplicate the ; built-in defaults that TE/2 would use anyway. We've tried to ; place an example of every possible setting for this file in here ; though so you may easily customize your installation of TE/2. ; ;Comm Port Settings ;================== Baud 2400 ; Type: numeric, must be a valid baud rate ; Notes: this will become the default baud rate when TE/2 ; first enters terminal mode. BreakLen 1000 ;milliseconds ; Type: numeric, greater than zero ; Notes: Break signal duration in milliseconds CtsRts BOTH ; Type: enumeration, CTS, RTS, BOTH, or NEITHER ; Device com1 ; Type: simple string, rules for modem strings apply ; Notes: The "Device" parameter may override any "Port" ; parameter given in the file. You do not have ; to specify "com1", "com2", et cetera. If your ; comm device has another name however the Alt-I ; information display will not match the reality ; when you use the "Device" parameter unless it ; is named "com1", "com2", etc., and the "Port" ; parameter is set to match. Parity N ; Type: enumerated, must be N, O, E, M, or S ; Notes: this will become the default parity when TE/2 ; first enters terminal mode. Port 1 ; Type: numeric, must be 1, 2, ..., 8 ; Notes: If your comm device is named "comX" where X is ; a number from 1 to 8, you do not need to use ; the "Device" parameter (above) and may simply ; specify the port number. StopBits 1 ; Type: enumerated, must be 1, 1.5, or 2 ; Notes: this will become the default number of stop bits ; when TE/2 enters terminal mode. WordLen 8 ; Type: numeric, must be 7 or 8 ; Notes: this will become the default word length when TE/2 ; first enters terminal mode. XonXoff neither ; Type: enumerated, NEITHER, TRANSMIT, RECEIVE, or BOTH ;Terminal Emulation Settings ;=========================== Emulate ANSI_TE2 ; Type enumerated, must be TTY, ANSI, ANSI_TE2, VT100, or 3101 ; Note: defines the default terminal emulation package at ; programs startup. Default, if omitted, is ANSI_TE2 enqReply ; NULL ; Type: modem string ; Notes: in VT100 mode, this string will be sent to the ; remote system in response to an ENQ character AutoNL3101 false ; Type: true/false ; Notes: Enables/disables Auto-Newline Mode in the IBM 3101 emulation AutoLF3101 false ; Type: true/false ; Notes: Enables/disables Auto-Linefeed Mode in the IBM 3101 emulation Scroll3101 false ; Type: true/false ; Notes: Enables/disables Auto-Scroll Mode in the IBM 3101 emulation ;Terminal Settings ;================= alarmPopUp true ;NOTE default is: false ; Type: true/false ; Notes: enables/disable alarm pop-up screens. Further, ; note that the alarm pop-up will only ever be ; displayed if TE/2 is not the foreground task ; at the time of the alarm. alarmTime 2 ;seconds ; Type: numeric, must be greater than or equal to zero ; Notes: Alarm duration in seconds, zero disables the alarm AlarmType CHIME ; Type: enumerated: NONE, CHIME, or BUZZER ; Notes: Determines how the alarm will sound chatBuffered true ; Type: true/false ; Notes: entry value for chat mode buffering ClsReset false ; Type: true/false ; Notes: If set to true will cause Alt-C and CLS() to reset ; the terminal attribute to the default (TermAttr) ; before clearing the screen. Default, if omitted, ; is false. colorLock false ; Type: true/false ; Notes: if true the terminal color cannot be changed via ; ANSI codes from the remote dtrHangUp true ; Type: true/false ; Notes: determines whether the hangup sequence also drops ; DTR momentarily LFafterCR false ; Type: true/false ; Notes: entry value for LF After CR LocalEcho false ; Type: true/false ; Notes: entry value for Local Echo LogoDelay 8 ;seconds ; Type: numeric, greater than or equal to zero ; Notes: Length of time the TE/2 logo will remain on screen ; after primary initialization has completed. If this ; is set to zero, the logo will not be displayed. MatchBaud true ; Type: true/false ; Notes: if false the dialer will not attempt to match the ; baud rate after making a connection. Use this if ; you need to "Lock" the baud rate for a high-speed ; connection. MenuActive true ; Type: true/false ; Notes: initial display/nondisplay of Terminal Modem menu QueryHangUp true ;NOTE default is:false ; Type: enumerated: TRUE, FALSE, IFCARRIER ; Notes: If TRUE, TE/2 will ask for verification each time ; before hanging up or exiting. If FALSE, TE/2 will ; never ask for verification. If IFCARRIER, TE/2 ; will ask only if it is currently on-line. ; ScreenLines 25 ;NOTE if absent will default to the number of ; ; of lines in the current screen mode ; Type: numeric, must be greater than zero ; Notes: This sets the desired number of lines for the ; screen. ScrollBack 250 ;lines ; Type: number, greater than or equal to zero ; Notes: Number of lines to retain in Scroll Back Buffer, ; if this is set to zero the Scroll Back Buffer is ; disabled. ;Modem Settings ;============== ; Connect special ; Type: modem string(s) ; Notes: You may have up to 12 connect strings specified. ; These are the actual strings that TE/2's dialer ; will look for from the modem when it dials. Each ; string follows the rules for modem strings given ; above and is followed by a comma and a baud rate ; which will be used for purposes of baud matching ; if you have MatchBaud set on. ; Example: This is an example of setting several connect ; strings in TE2.INI: ; ; Connect CONNECT^M,300 ; Connect CONNECT_1200,1200 ; Connect CONNECT_2400,2400 ; Connect CONNECT_9600/ARQ,9600 ; Note that if you specify any Connect strings you ; should be sure to specify ALL Connect strings ; you expect to encounter. TE/2 default set covers ; 300, 1200, 2400, 4800, and 9600 for standard ; Hayes compatible modems operating with verbal ; response codes. If you specify any Connect strings ; in TE2.INI however, TE/2 assumes that you will ; specify them all. ; Further Note: The strings are searched in order from ; first to last and when one matches the search ends. ; Thus, the "^M" in the first example is very ; important! If it were not there, any string which ; begins with "CONNECT" (i.e., every modem connect ; result string!) would be taken to imply 300 baud. ; This is probably not what you had in mind. ; Also, the third line above will match ; "CONNECT 2400^M" as well as "CONNECT 2400/ARQ^M", ; but the fourth line will not match "CONNECT 9600^M". Connect CONNECT^M,300 Connect CONNECT_1200,1200 Connect CONNECT_2400,2400 Connect CONNECT_4800,4800 Connect CONNECT_9600,9600 modemAnsStrg ATS0=1^M^J ; Type: modem string ; Notes: this string is used to initialize auto-answer ; mode. ; Note further: This string is not used in this version ; of TE/2 but to ensure file compatibility ; with the full version, it is included here. modemDelayChar 0x7e,500 ; Type: special ; Notes: The two values here are the ascii value of the ; character to use for delays in the various modem ; strings (0x7e is the tilde character "~") and the ; duration of the delay in milliseconds modemDialStrg ATDT ; Type: modem string ; Notes: this is used as the modem dial command modemDialSufx ^M ; Type: modem string ; Notes: this is sent to the modem after the number in a ; dial command modemHangStrg ~~~+++~~ATH0^M^J ; Type: modem string ; Notes: this string is sent to the modem to cause it to ; hang-up the line (see also dtrHangUp) modemInitStrg ATE0_M1_Q0_V1_X4_S7=255_S11=55_S0=0^M^J ; Type: modem string ; Notes: this string is sent to the modem at startup for ; initialization modemOKStrg OK ; Type: modem string ; Notes: this is the string that TE/2 will expect the modem ; to return after receiving a command string ; successfully. ; noConnect special ; Type: modem string(s) ; Notes: See also "Connect" above. Here you may specify up ; to 6 NoConnect strings. These are the strings ; which TE/2's dialer will look for when dialing to ; signal that the dialing attempt has failed. These ; strings follow the rules for modem strings given ; above. If you specify any NoConnect strings you ; must specify every one you expect to encounter ; because you will be replacing TE/2's default set. ; ; TE/2's default set is: NoConnect NO_CARRIER NoConnect ERROR NoConnect NO_DIAL_TONE NoConnect BUSY NoConnect NO_ANSWER NoConnect VOICE ;Dialer and Dialing Directory ;============================ AutoDirSave true ;NOTE default is: false ; Type: true/false ; Notes: if true the directory file will be saved each time ; upon exiting the Dialing Directory. dialerTimeOut 45 ;seconds ; Type: numeric, greater than zero ; Notes: Amount of time in seconds that the dialer will ; allow a phone number to ring. RedialDelay 2 ;seconds ; Type: numeric, greater than zero ; Notes: Amount of time in seconds that the dialer will ; pause between dialing attempts. ;Color Attributes ;================ ; This is the color setup that the author uses. They should be ; fairly reasonable in full screen mode and need some readjustment ; if you run in a vio window. ChatAttr 0x0b ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Chat Mode, Local Window text ChatRemoteAttr 0x03 ;NOTE default is: 0x07 - White on black ; Type: attribute ; Notes: Chat Mode, Remote Window text ChatTitleAttr 0x30 ;NOTE default is: 0x70 - Black on white ; Type: attribute ; Notes: Chat Mode, titles DLogDaAttr 0x28 ;NOTE default is: 0x08 - Gray on black ; Type: attribute ; Notes: Dialog boxes, disabled menu items DLogEdAttr 0x02 ;NOTE default is: 0x70 - Black on white ; Type: attribute ; Notes: Dialog boxes, text input, while editing DLogEdHiAttr 0x70 ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Dialog boxes, text input, initial display of ; default value DLogHiAttr 0x2f ;NOTE default is: 0x70 - Black on white ; Type: attribute ; Notes: Dialog boxes, highlit text DLogNormAttr 0x20 ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Dialog boxes, normal text DialHiAttr 0x0e ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Dialing Directory, highlighted bar DialNormAttr 0x03 ;NOTE default is: 0x07 - White on black ; Type: attribute ; Notes: Dialing Directory, normal text ErrorAttr 0x4f ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Error Message display LogoAttr 0x1f ;NOTE default is: 0x70 - Black on white ; Type: attribute ; Notes: Terminal Screen menu, TE/2 logo MenuHiAttr 0x0e ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Terminal Screen menu, highlit text MenuNormAttr 0x03 ;NOTE default is: 0x07 - White on black ; Type: attribute ; Notes: Terminal Screen menu, normal text ScrlBackAttr 0x03 ;NOTE default is: 0x07 - White on black ; Type: attribute ; Notes: Scroll Back, normal text ScrlBackFdAttr 0x4f ;NOTE default is: 0x0f - Bright white on black ; Type: attribute ; Notes: Scroll Back, found text ScrlBackMkAttr 0x13 ;NOTE default is: 0x70 - Black on white ; Type: attribute ; Notes: Scroll Back, marked text ScrlBackTiAttr 0x30 ;NOTE default is: 0x70 - Black on white ; Type: attribute ; Notes: Scroll Back, titles ShadowAttr 0x08 - Gray on black ; Type: attribute ; Notes: Dialog boxes, shadow SnapShotAttr 0x70 - Black on white ; Type: attribute ; Notes: SnapShot, flash attribute TermAttr 0x07 - White on black ; Type: attribute ; Notes: Terminal Screen attribute ;Transfer Protocols ;================== AsciiUL 0,crlf,true,0,0,false,false,2000,2000 ; Type: special ; Notes: Here you may specify the default answers to the ; questions posed in the Ascii Upload Dialog (see ; "Alt-U Upload" above). The last two fields are ; options, all others must be specified, they must ; be separated by commas, and there must be NO ; extra space or tab characters in the line. ; The fields are: ; Prompt Char: ascii value of the prompt character ; you wish to use. The value may be ; in decimal, hex, or octal. Use zero ; to set no prompt. ; CR before LF: "LF", "CR", or "CRLF" ; Expand Blanks Lines: true or false. ; Char Pacing: in milliseconds. ; Line Pacing: in milliseconds. ; Strip 8th Bit: true or false. ; View Output: true or false. ; Write Timeout: in milliseconds. ; Read Timeout: in milliseconds. AutoZM true ;NOTE default is: false ; Type: true/false ; Notes: enables/disables Auto ZModem downloads ; When enabled, TE/2 will automatically begin a ZModem ; download whenever it receives the ZModem signature ; from the remote system. ClobberDL SALVAGE ; Type: enumerated: TRUE, FALSE, or SALVAGE ; Notes: This controls what TE/2 will do when you attempt to ; download a file with a file of the same name already ; in existence in the download directory of your disk. ; If set to TRUE, the new file will overwrite (clobber) ; the old file, if set to FALSE it will abort the ; transfer and issue an error message. If set to ; SALVAGE, it will attempt to rename the existing file ; before beginning to write the new file. It does ; this by replacing characters in the file name, ; starting at the end of the name, with dollar sign ; characters until it finds a name that does not already ; exist. downloadPath ; NULL ; Type: path name ; Notes: specifies the directory you wish all downloaded ; files to be placed in. If left NULL, the current ; directory is used. For XModem and XModem-1K you ; may override this setting by specifying a drive or ; a path when prompted for the file name. DLPrtyClass FIXEDHIGH,0 ; Type: special ; Notes: specifies the priority you wish OS/2 to give the ; download file transfer protocols while they are ; doing their duties. TE/2 normally operates at the ; default priority level but if the DLPrtyClass is ; set to anything other than "NORMAL" it will adjust ; the priority level accordingly for the duration of ; the file transfer and restore normal priority upon ; return. Valid values for the first parameter of ; DLPrtyClass are: "NORMAL", "FIXEDHIGH", or ; "TIMECRITICAL". The second parameter is called a ; priority delta, it may be in the range of -31 to 31 ; and it may be omitted with no ill effects. ; Further Notes: If you set the priority class to NORMAL you ; may very well experience timeout errors during your ; file transmissions especially if your computer is ; busy with other tasks while the file is transferring. ; One the other hand, if you leave it at the default ; value of FIXEDHIGH and are still experiencing these ; problems you might want to set TIMECRITICAL although ; the response and throughput of all other processes ; running on your computer during the transfer will ; become noticeably slower. ULPrtyClass FIXEDHIGH,0 ; Type: special ; Notes: See DLPrtClass above for a full discussion of how to ; set this variable. ULPrtyClass affects upload file ; transfers in exactly the same manner as DLPrtyClass ; affects downloads. uploadPath ; NULL ; Type: path name ; Notes: This is where TE/2 will look for a file that does ; not have a drive or path specified explicitly in ; its name. If left to NULL this will be the current ; directory. ;Misc File and Path Specs ;======================== CallLog ; NULL ; Type: path name ; Notes: If this file name is specified, TE/2 will write ; information about each outgoing phone call it ; makes. The information is the Name from the ; directory entry (or the number for a manual dial), ; the time the call began, the time it ended, and ; the total call duration. This is handy for what- ; ever record keeping you need to do whether it's ; for tax purposes or just to keep the phone company ; honest. SnapShot te2snap.sht ; Type: path name ; Notes: This specifies the name of the snapshot file (see ; "Alt-S SnapShot" above). logPath ; NULL ; Type: path name ; Notes: This is where TE/2 will place all log files (see ; "Alt-L LogFile") unless you specify a name with ; an explicit drive or path when prompted for a ; log file name. ShellCmd cmd.exe ; ,NULL ; Type: special ; Notes: This specifies the name of the program which is to ; be executed when you use the Alt-O key (see "Alt-O ; Shell to OS/2" above). The program name should be ; a complete path/spec and contain the file extension ; (".exe", etc.). If parameters are needed they may ; be specified after one or more white space ; characters (space or tab). The parameter string ; follows the rules for modem strings given above. ; That is, space characters must be replaced with ; underscores, et cetera. ; Note that to execute a batch file (".cmd") you must ; use the syntax: ; ShellCmd cmd.exe /c_cmdfilename