TeemTalk -05W, -07W & -11W User's Guide
USA Neoware, Inc. 3200 Horizon Drive King of Prussia, PA 19406 Tel: +1-610-277-8300 Fax: +1-610-771-4200 Email: info@neoware.com UK Neoware UK Ltd The Stables, Cosgrove Milton Keynes MK19 7JJ Tel: +44 (0) 1908 267111 Fax: +44 (0) 1908 267112 Email: teem-info@neoware.
TeemTalk Software Support Telephone: +1.610.277.8300 Web: http://www.neoware.com/support/ Software Version 4.3.1 November 1999 Part number: TT6TM-4.3.1 Neoware UK Ltd, The Stables, Cosgrove, Milton Keynes, MK19 7JJ Tel: +44 (0) 1908 267111 Fax: +44 (0) 1908 267112 TeemTalk © 1988-2003 Neoware UK Ltd, All Rights Reserved.
The material in this user's guide is for information purposes only and is subject to change without notice. Neoware UK Ltd accepts no responsibility for any errors contained herein. Trademarks TeemTalk is a registered trademark of Neoware UK Ltd. ADDS Viewpoint A2 is a trademark of Applied Digital Data Systems Inc. D100, D200 and D410 are trademarks of Data General.
Contents Contents Introduction ....................................................... 1-1 What Is TeemTalk? ........................................................................ 1-1 About This User's Guide ............................................................... 1-2 Terms & Conventions .................................................................... 1-4 Getting Started.................................................. 2-1 Running TeemTalk.....................................................
Contents The Window Border & Corners ...................................................... 2-20 The Emulation Workspace .............................................................. 2-21 Default Font Sizes .................................................................... 2-21 The Text Cursor ............................................................................... 2-22 The Selection Cursor ....................................................................... 2-22 The Gin Cursor ................
Contents The Predefined Button Tools ......................................................... 5-2 Redefining The Toolbar................................................................. 5-5 Adding Button Bitmaps ..................................................................... 5-5 Assigning Functions To Buttons ....................................................... 5-6 Removing Button Tools .................................................................... 5-8 Saving The Button Tools ..............
Contents File Transfer ....................................................... 8-1 Introduction ................................................................................... 8-1 Protocols Supported ...................................................................... 8-1 Sending Files ................................................................................. 8-3 Receiving Files .............................................................................. 8-5 Cancelling A File Transfer ......
Contents Initialization Commands ................................ 11-1 Introduction ................................................................................. 11-1 Initialization File ......................................................................... 11-1 Windows 3.1x .................................................................................. 11-1 TeemTalk Private Profile File .................................................. 11-2 Windows 95 & NT ......................................
Contents File Transfer ................................................................................ 13-6 Slave Mode .................................................................................. 13-6 Additional DDE Functions ........................................................ 13-18 DDE Link To A Visual Basic Application ................................. 13-24 Troubleshooting ................................................ A-1 Virtual Key Names ............................................
Introduction 1 Introduction This chapter introduces TeemTalk terminal emulation software for Microsoft Windows and the contents of this User's Guide. What Is TeemTalk? TeemTalk for Windows provides precise emulation of a wide range of industry standard text and graphics terminals on any PC running Microsoft Windows. Multiple concurrent sessions with different hosts can be conducted over serial RS232 lines or local area networks (LANs) including DECnet, TCP/IP and Novell.
Introduction About This User's Guide This User's Guide describes how to use TeemTalk-05W, TeemTalk-07W and TeemTalk-11W version 4.3.1 for Windows 3.1x, 95 and NT. The information contained in the following chapters applies equally to TeemTalk-05W, TeemTalk07W and TeemTalk-11W unless indicated otherwise. The illustrations in this User's Guide that show the TeemTalk window or dialog boxes are shown in the Windows NT style. The layout for Windows 3.
Introduction Chapter 9: ICL FTF File Transfer Describes the ICL FTF file transfer utility supported by TeemTalk for Windows 3.1x in all terminal emulation modes. Chapter 10: FTP File Transfer Describes the FTP interface for file transfer across Windows Sockets based networks. Chapter 11: Initialization Commands Describes commands that can be included in the initialization file and on the command line to specify the loading configuration for TeemTalk.
Introduction Terms & Conventions This User's Guide uses the following terms and conventions. 1. References to TeemTalk in the main text of this User's Guide apply equally to TeemTalk-05W, TeemTalk-07W and TeemTalk-11W for Windows 3.1x, 95 and NT unless indicated otherwise. 2. Some sections of this User's Guide assume you are using TeemTalk-07W or TeemTalk-07W32 when describing various procedures.
Getting Started 2 Getting Started This chapter describes how to run TeemTalk and configure it for compatibility with your hardware and the application. Running TeemTalk To run TeemTalk, display the TeemTalk group window (or the window you specified when installing the software) and select the icon shown below. Mouse: Double-click the TT05W, TT07W or TT11W icon. Keyboard: Press Ctrl + Tab until the icon is selected then press Return.
Getting Started Quitting using the Control menu: Mouse: If the window is displayed, click the box or icon in the top left corner of the window to display the Control menu, then click the Close option. If the window is iconized, click the icon to display the Control menu then click the Close option. Keyboard: If the window is displayed, press Alt + Spacebar to display the Control menu. Press the down arrow key until the highlight rests over Close then press Return.
Getting Started Host Communications Creating A Communications Session When TeemTalk is loaded for the first time, a dialog box will be displayed which enables you to configure TeemTalk for a serial or network host connection. Note: If you do not wish to make a host connection at this moment, just click the Cancel button to close the dialog box. You can display the New Connection dialog box again later by clicking File in the menu bar and selecting New Connection... in the menu.
Getting Started Note: The options in this dialog box are described in the Serial Settings section in the Setup Menus chapter and only apply when the connection type is set to Serial. The status bar along the bottom of the TeemTalk window displays two LEDs. The first LED indicates whether or not you are connected to the host. It will show red when not connected and green when you are connected. The second LED indicates whether or not data is being sent to or from the host.
Getting Started The Services list box (in the New Connection dialog box) will display the devices on the network which use the currently selected protocol. Click the name of the device required or, in the case of TELAPI, enter an Internet address in the text box (for example, 128.127.126.2). Note that either the host name or IP address may be entered for TCP/IP connections. When Eicon X25 is selected, TeemTalk requires you to enter a valid X25 address as none will be listed.
Getting Started Creating A Connection Template You can save the current session configuration as a connection template. To make TeemTalk automatically attempt to make a host connection using the same settings the next time it is loaded, click the File option in the menu bar to display the File menu, then click the Save Session option. TeemTalk enables you to create multiple connection templates, any one of which can be used either when TeemTalk is loaded or while it is running.
Getting Started 5. In the Description text box, enter a unique description (up to 132 characters long) which will be used to identify the connection template for future selection. This description will also appear in the Open Session dialog box. 6. Click the OK button to save the template settings. If you specified the names of settings files that already exist, a message box will ask you to confirm whether or not you want to overwrite the existing files with the new settings.
Getting Started connection template currently in use is highlighted. The factory default connection template is Untitled. Clicking one of the descriptions then the OK button will cause TeemTalk to use the connection template associated with the chosen description. You can make TeemTalk automatically use a particular connection template when it is loaded or reset by clicking the required description, checking the Save As Default check box, then clicking the OK button.
Getting Started Selecting The Terminal Emulation When you load TeemTalk for the first time, the DEC VT100 emulation will be running by default. All the terminal emulations supported by TeemTalk can be accessed from the Emulation Settings dialog box. This is displayed by selecting Settings in the menu bar then Emulation... The emulations available are listed in the Emulation list box. To change the current emulation mode, select the emulation required then click the OK button.
Getting Started D. Insert/Replace character mode is set to Replace. E. Keys PF1 through PF4 generate ANSI cursor movement sequences. F. All programmed strings for keys are temporarily disabled. VT220-7 and VT220-8 modes are emulations of the DEC VT220 terminal, the difference is in their treatment of 8-bit control codes. When VT220-7 is selected, all 8-bit codes are converted to their 7-bit equivalents, whereas VT220-8 leaves 8-bit codes unchanged. If you are using VT200 applications, select VT220-7.
Getting Started Bitpad-Plus Summagraphics Bitpad-Plus (9600, 7, 1, Even) Calcomp Calcomp (16 button) (9600, 7, 1, Even) Mouse Mouse (Uses the communication settings specified in the Serial Settings dialog box) Click the button next to the Tablet Type required then specify the Serial Port Device to which the Gin device is attached. You can save these settings so that TeemTalk will automatically assert them when loaded or reset by clicking the Save Session option in the File menu.
Getting Started The TeemTalk Display The TeemTalk window incorporates several special facilities in addition to the standard facilities supported by Microsoft Windows. The illustration below shows the various elements of the window which are described in the following sections.
Getting Started The Minimize & Maximize Buttons These buttons are used by the mouse to shrink the window to an icon or increase the window to the maximum size possible while still displaying the number of lines and columns specified in setup, the default setting being 80 columns by 32 lines. (The equivalent keyboard functions are enabled via the Control menu).
Getting Started When you display a menu and move the cursor over the menu options, the status bar at the bottom of the window will change to display a brief description of the option at the cursor position. Refer to the Setup Menus chapter for a complete discussion on selecting and using the options in these menus. To close a menu: Mouse: Click anywhere outside the menu. Keyboard: Press the Alt key. Resizing The Window The menu bar also includes two commands for resizing the window.
Getting Started To resize the window: Mouse: Click the pointer over the << or >> commands. Keyboard: Hold down the Alt key and press the key bearing the underscored character in one of the menu titles, for example, Alt + F. Press the right arrow key to move the highlight over << or >> and press Return. The Toolbar The toolbar and associated floating button palette provide a quick way of actioning commands or displaying setup dialog boxes by just clicking a button.
Getting Started The Scroll Bar The scroll bar enables you to display alphanumeric data that is above or below the view of the dialog area. The dialog area is a 'window' into the dialog buffer which is used to store alphanumeric data. The dialog area may fill the entire emulation workspace or consist of only two lines. The scroll bar represents the entire buffer.
Getting Started The soft buttons can be removed from the display by unchecking the Visible check box in the Soft Buttons dialog box. The soft buttons can be detached as a separate window by deselecting the Attached option in the Soft Buttons dialog box. If you close the Soft Buttons window, you can display it again by selecting the Soft Buttons option in the Settings menu, checking the Visible check box, then clicking OK.
Getting Started If the left mouse button is clicked when the zoom cursor is displayed but no zoom rectangles, an overview of the entire 4096x4096 display memory will be displayed. The zoom function can be exited without changing the window contents by clicking the right mouse button. After an increase or decrease in zoom, the view of the image prior to the last redraw can be restored by clicking the RstView button.
Getting Started Dithered fill patterns are numbered 50 to 174, left to right, top to bottom, as follows: Row 1: Row 2: Row 3: Row 4: Print 50 to 65 66 to 81 82 to 97 98 to 114 Row 5: Row 6: Row 7: Row 8: 115 to 129 130 to 145 146 to 161 162 to 174 This will display a dialog box which enables you to produce a hardcopy of data displayed on the screen in a specified format. Refer to the description of the File menu Print Screen option in the Setup Menus chapter for more information.
Getting Started Field 5: Indicates the status of the printer as follows: None signifies that the printer is not turned on or not connected, or not installed in Microsoft Windows. Not Ready signifies that the printer is not ready to receive data for printing. Ready signifies that the printer is ready to receive data for printing. Auto signifies that the emulation is in Auto Print mode in which the current cursor line is sent to the printer when a command for the cursor to move to the next line is issued.
Getting Started The Emulation Workspace The emulation workspace is the area which emulates the display of the terminal specified in setup (the VT100 terminal by default) and where work is carried out with an application. Refer to the section entitled Selecting The Terminal Emulation earlier in this chapter for details on how to change the emulation. In Tek mode, the emulation workspace effectively consists of two layers, one lying on top of the other.
Getting Started Font Index DEC VT Modes 80 Cols 132 Cols Tek 4205 & 4207 80 Cols 132 Cols 0 24 x 12 24 x 7 23 x 12 23 x 7 16 x 8 1 19 x 10 19 x 6 21 x 11 21 x 6 14 x 7 2 18 x 9 18 x 5 19 x 10 19 x 6 12 x 6 3 17 x 8 17 x 4 17 x 9 17 x 5 10 x 5 4 16 x 8 16 x 4 15 x 8 15 x 4 8x4 5 15 x 8 15 x 4 13 x 7 13 x 4 7x3 6 14 x 7 14 x 4 12 x 7 12 x 4 7x3 7 13 x 6 13 x 3 12 x 6 12 x 3 7x3 8 12 x 5 12 x 3 11 x 6 11 x 3 7x3 9 10 x 5 10 x 3 9x5 9x3 7x3 10 8x5
Getting Started The Gin Cursor The Gin (Graphics Input) cursor is a small crosshair cursor which is used to make selections and specify locations in the graphics area. The Gin cursor can be steered using the mouse or cursor keys. You can change the size of the cursor by using the following initialization file command or command line option, where size is a numeric value in the range 1 to 4096 (i.e.
Getting Started Notes 2-24
Keyboard Configuration 3 Keyboard Configuration This chapter describes how to configure TeemTalk for your particular keyboard, remap key functions and compose special characters. Introduction TeemTalk maps the keyboard to be as near as possible to the terminal being emulated. The illustrations on the following pages show how the 83/84 key AT, 101/102 key Enhanced AT and DEC LK250/450 keyboard layouts are mapped in DEC VT100, VT220, Edit and Tek modes.
3-2 F9 F8 Shift F7 Shift F9 Shift F11 Shift F13 Shift HELP With Shift Shift F6 Shift F8 Shift F10 Shift F12 Shift F14 F17 With Ctrl F20 F18 F19 DO All unmarked keys function as indicated by the legends on the keycaps. The cursor keys will function without Alt when Num Lock is OFF. Normal F14 HELP F12 F13 F10 F11 F7 F6 Shift F17 Shift F19 Ctrl + Shift Shift DO Shift F18 Shift F20 1 4 7 0 .
F2 F4 F1 F3 All unmarked keys function as indicated by the legends on the keycaps.
3-4 F7 Alt key usage: Normal key usage: F6 PF1 NUMLK 4 EURO F8 F10 F11 F12 F13 F14 HELP DO F17 (SCRL) (SCRL) (SCRL) (SCRL) PREVNEXT IOUS SELECT F20 INSERT REHERE MOVE F19 SCRLK BREAK FIND F18 0 2 5 4 1 8 . 3 6 9 ENTER _ , PF2 PF3 PF4 7 PF1 HOME NUMLK All unmarked keys function as indicated by the legends on the keycaps. Bracketed functions are generated when used in conjunction with Control.
Alt key usage: Normal key usage: ✳ BREAK 4 EURO F2 F3 F4 BACK LINE SPACE FEED ESC ✳ ✳ ✳ SCRLK BREAK 2 1 Control in Tek Mode In conjunction with 5 4 0 8 7 PREVNEXT IOUS SELECT F2 F1 INSERT REHERE MOVE FIND Except Tek Mode ✳ Keys marked ✳ have no function. All unmarked keys function as indicated by the legends on the keycaps. F1 .
3-6 Alt key usage: Normal key usage: F19 HOLD 4 EURO F7 F8 F9 F10 F11 F12 F13 F14 PREVNEXT IOUS SELECT (SCRL) (SCRL) (SCRL) (SCRL) INSERT REHERE MOVE DO FIND HELP F19 HOLD F20 1 4 7 0 2 5 8 . 3 6 9 ENTER , _ PF1 PF2 PF3 PF4 F17 F18 All unmarked keys function as indicated by the legends on the keycaps. Bracketed functions are generated when used in conjunction with Control.
Alt key usage: Normal key usage: ✳ BREAK 4 EURO F2 F3 F4 BACK SPACE ESC 2 4 1 0 5 7 PREVNEXT IOUS SELECT Cursor keys used in conjunction with Control in Tek Mode 8 F1 F2 ✳ INSERT REHERE MOVE ✳ FIND Except Tek Mode LINE FEED . 3 6 9 F3 ✳ ENTER , _ F4 ✳ SCRLK BREAK Keys marked ✳ have no function. All unmarked keys function as indicated by the legends on the keycaps.
Keyboard Configuration DEC LK250 Keyboard Drivers TeemTalk for Windows 3.1x does not supply its own drivers for the LK250 keyboard, it relies on using the drivers supplied by Digital on the Pathworks PCSA distribution disk. If Pathworks has not been installed with the LK250 option then the following modifications should be made to the SYSTEM.INI file in the WINDOWS directory on the basis that the drivers and associated files are available: SYSTEM.INI:[boot] keyboard.drv=lk250.
Keyboard Configuration 2) Although the alphanumeric area of the keyboard may appear to function, the keypad, function keys and centre key cluster will not operate correctly, giving unpredictable results. Note: The LK250 keyboard for the PC is designed to operate in 2 modes. Mode 1 emulates an AT keyboard, and Mode 2 emulates a VT320 keyboard. The keyboard is switched between Mode 1 and Mode 2 using Alt + F17.
Keyboard Configuration To enable the cursor keys permanently so that the Alt key does not have to be held down when you want to use them, press the keys Alt + Num Lock together so that the Num Lock indicator is not lit. To make the cursor keys generate their numeric values again, press Alt + Num Lock. The Num Lock indicator should be lit.
Keyboard Configuration You can show how TeemTalk has mapped your keyboard within the current terminal emulation mode by setting the Keyboard Action option (between the two layouts) to Show Map, then moving the pointer over a key in the lower layout and holding down the left mouse button. The key or combination of keys which emulate the function of the key you are currently pressing will be displayed in the upper layout as if pressed in. Note: Control key functions are not shown.
Keyboard Configuration The Predefined Macros option at the bottom of this dialog box enables you to select from a list of standard functions associated with the current terminal emulation. Clicking the arrow button will display a list box in which the names of valid key functions (called virtual key names) are shown. Note: The Virtual Key Names appendix lists all the functions and associated virtual key names for each terminal emulation.
Keyboard Configuration All keyboard macros can be saved so that TeemTalk will reassert them each time it is loaded or reset by displaying the Save Session As dialog box from the File menu, selecting the Keyboard Macros option, then clicking the OK button. Entering Control Characters You can enter a control character either as the control key character equivalent or the decimal value of the ASCII character.
Keyboard Configuration For example, to program the A key so that when it is pressed it performs the same function as pressing the keys F2 then F3 then F4 enter the following characters in the relevant text box: Entering Command Lines You can enter a command line in a key definition by enclosing it within the ( and ) characters. This enables you to launch an application by just pressing a key.
Keyboard Configuration Default Key Definitions The default definition of a specific key may be reasserted by clicking the Default button in the Define Key Macro dialog box for that key. The default definition of the entire keyboard may be reasserted by clicking the Default button in the Keyboard Macros dialog box. Euro Sign TeemTalk enables you to generate the euro sign from the keyboard by pressing the keys Alt + 4 by default.
Keyboard Configuration Compose Character Sequences Compose character sequences can be used to generate codes for characters not shown on your keyboard when you are in VT220 mode. The characters that can be composed depend on the setting of the Multinational option in the Emulation Settings dialog box. When this option is not selected only characters found in the character set that corresponds to the selected keyboard nationality can be composed.
Keyboard Configuration COMPOSE CHARACTER SEQUENCES " quotation mark ¨ space ª feminine ordinal indicator a- # number sign ++ « double open angle brackets << ' apostrophe ' space ° degree sign a a or A A (Multinational) or A A or a A (National) ± plus or minus sign +- 2 superscript 2 2^ 3 superscript 3 3^ µ micro sign /u @ commercial at aa 0^ (Multinational) (National) opening bracket (( \ back slash // ] closing bracket )) ¶ paragraph sign p! ^ circumflex acce
Keyboard Configuration COMPOSE CHARACTER SEQUENCES (continued) 3-18 ¨A Û U circumflex U^ A* or A ° (degree sign) Ü U umlaut U" or ¨U A E diphthong AE Ÿ Y umlaut (DEC Multinat.
Keyboard Configuration COMPOSE CHARACTER SEQUENCES (continued) ó o acute o' ù u grave u` ô o circumflex o^ ú u acute u' õ o tilde o~ û u circumflex u^ ö o umlaut o" ü u umlaut u" or ¨u œ o e diphthong (DEC Multinat.
Keyboard Configuration Notes 3-20
Mouse Functions 4 Mouse Functions This chapter describes the special functions assigned to the mouse buttons by TeemTalk and how to redefine the buttons. Introduction TeemTalk assigns a variety of special functions to the mouse buttons. Each button can be used to action up to six functions when pressed in conjunction with modifier keys. The following table lists the functions assigned to each button and key combination by default.
Mouse Functions The following functions can be assigned: Unassigned Select Extend Selection Edit Copy Edit Paste Show Hotspots Action Hotspot Move Cursor Send CR Send Keyword Middle Button Select Rectangle Select Word Select and Copy Cursor Select You can also enter a definition of your own in the text box associated with each button and key combination. Definitions are entered in the same way as for keyboard macros and soft buttons, as described in the Setup Menus chapter.
Mouse Functions Selecting & Copying Text You can use the mouse buttons to copy and paste text. The region of the display that will be selected for copying depends on whether you use the Select, Select Rectangle, Select and Copy or Select Word function.
Mouse Functions 2-Button Mouse Emulating 3-Button You can assign the function of the middle button found on a three button mouse to any button or button and key combination. The Mouse Button Actions dialog box includes a Middle Button setting for this purpose. Show & Action Hotspots TeemTalk incorporates a user-definable hotspot facility which enables you to invoke a function by clicking the mouse cursor over a keyword displayed on the screen.
The Toolbar 5 The Toolbar This chapter describes how to use and redefine the toolbar and associated floating button palette. Using The Toolbar The toolbar and associated floating button palette provide a quick way of actioning commands or displaying setup dialog boxes by just clicking a button. TeemTalk displays a toolbar below the menu bar by default. The toolbar contains a series of buttons with graphical representations of their functions.
The Toolbar The floating button palette contains the same buttons as the toolbar. You can move and resize the palette in the same way as any other window. To convert the floating button palette back into the toolbar, click the control menu box at the top left corner of the palette window and select Attach.
The Toolbar Displays the Print Screen dialog box for producing a hardcopy of screen data in a particular format. Displays the Attributes dialog box. This enables you to specify the colours used in the dialog area and how text with attributes is displayed. Displays the Keyboard Macros dialog box. This shows the mapping of your keyboard and enables you to redefine the function of keys. Displays the Soft Buttons dialog box for redefining the buttons at the bottom of the TeemTalk window.
The Toolbar Erases the contents of the dialog area and buffer. Toggles dialog area visibility on and off. Activates the zoom/pan feature (except TeemTalk-05W and TeemTalk-05W32).
The Toolbar Redefining The Toolbar Clicking the last button in the default toolbar, or selecting Button Tools from the Settings menu will display a dialog box which enables you to redefine the toolbar. Up to 64 button tools can be defined, all of which can be displayed in the floating button palette but only one row of buttons can be displayed in the toolbar. The maximum number of buttons that can be displayed in the toolbar depends on the display resolution and the size of the window.
The Toolbar You are not restricted to the set of predefined button bitmaps displayed in the Buttons list box. You can add your own customised buttons to the bottom of the list by clicking the Add Custom... button. This will display the Load Custom Bitmap dialog box which enables you to select a bitmap file from which a button will be automatically generated. Specify the name of the bitmap file to use then click the OK button.
The Toolbar Key Combinations & Sequences You can program a button tool to perform the function of a combination or sequence of keys. For example, you can cause a button to perform the same function as pressing the keys Alt + F4 together, or pressing the keys F2 then F3 then F4. Keys are identified by their virtual key names as listed in the Virtual Key Names appendix. The name has to be enclosed by the < and > characters in the Current Tool text box. You may omit the VK_, VT_ parts (etc.
The Toolbar Initiating A Script File You can program a button to run a script file when pressed by enclosing the name of the file and any arguments within the <' (left angle bracket and single quote) and '> (single quote and right angle bracket) characters. For example, to program a button so that it will run the script file myscript.scr and assign the values value1 and value2 to two variables, you would enter the following: <'myscript.
Hotspots 6 Hotspots This chapter describes the hotspot facility which enables functions to be performed by clicking on keywords displayed on the screen. Using Hotspots TeemTalk incorporates a user-definable hotspot facility which enables you to invoke a function by clicking the mouse pointer over a keyword displayed on the screen. For example, an application may display information relating to keys you can press to perform a particular function.
Hotspots Defining Hotspots Hotspot keywords and associated functions are specified in a text file which has the same name (and is in the same directory) as the current workspace file but with the extension .hot instead of .wsp. For example, the default hotspot definitions supplied with TeemTalk-07W32 are stored in the file tt07w.hot.
Hotspots definitions file. Note that a keyword definition under a [Definitions,] heading will override the definition given to the same keyword in any other definitions group when that particular emulation is running. Each keyword definition line consists of the keyword immediately followed by an equals (=) sign, then the function that it will perform. The keyword can consist of any characters except those specified as delimiters in the Separators= line.
Hotspots together with + characters and ending with the > character. For example, to define the keyword Help so that when it is clicked it performs the same function as pressing the keys Alt + F4 together, enter the following line in the relevant Definitions command group: Help= To define a keyword so that it will perform the same function as pressing a sequence of keys one after the other, enter each virtual key name in the order required, enclosing each name with the < and > characters.
Setup Menus 7 Setup Menus This chapter describes the options available in the setup menus and dialog boxes.
Setup Menus To display a menu: Mouse: Click the title of the menu required. Keyboard: Hold down the Alt key and press the key bearing the underlined character in the menu title. For example, pressing Alt + F will display the File menu. When the menu bar is not displayed you can still display the menus by pressing the following keys: Alt + F for the File menu Alt + E for the Edit menu Alt + S for the Settings menu Alt + H for the Help menu To close a menu: Mouse: Click anywhere outside the menu.
Setup Menus To select a menu option: Mouse: Click the menu option. Keyboard: Method 1: If the option includes an underlined character, press the key bearing that character. For example, pressing X while the File menu is displayed will cause TeemTalk to shut down. Method 2: Use the up or down arrow keys to highlight the option required then hit Return. Dialog Boxes Selecting an option which is followed by an ellipsis (...) will cause a dialog box to be displayed.
Setup Menus When an option has many possible settings, these will be shown in a list box. The Baud Rate option in the Serial Settings dialog box is an example of this. To make a selection using the mouse, click the arrow button to display a drop-down list box then click on the setting required. If the list is long a scroll bar may be displayed. To make a selection using the keyboard, press the up or down arrow keys to cycle through the available settings until the one required is highlighted in the box.
Setup Menus Creating A Connection Template You can save the current session configuration as a connection template. To make TeemTalk automatically attempt to make a host connection using the same settings the next time it is loaded, display the File menu and select the Save Session option. TeemTalk enables you to create multiple connection templates, any one of which can be used either when TeemTalk is loaded or while it is running. The procedure is as follows: 1.
Setup Menus 5. In the Description text box, enter a unique description (up to 132 characters long) which will be used to identify the connection template for future selection. This description will also appear in the Open Session dialog box. 6. Click the OK button to save the template settings. If you specified the names of settings files that already exist, a message box will ask you to confirm whether or not you want to overwrite the existing files with the new settings.
Setup Menus Selecting A Connection Template The Open Session dialog box in the File menu enables you to select a connection template for TeemTalk to use. The Description list box displays the one-line descriptions of connection templates that were created using the Save Session As dialog box. The description of the connection template currently in use is highlighted. The factory default connection template is Untitled.
Setup Menus Menu Descriptions The following pages describe the options available in all the menus and associated dialog boxes. The descriptions begin by showing the menu or dialog box as it is displayed on the screen. The factory default setting is shown below each option title where applicable. File Menu Factory Default... This will make TeemTalk reassert all the original settings that it had when you first installed it.
Setup Menus Reset Terminal This will reset the current terminal emulation mode. New Connection... Factory default: Serial, Com 1 This will display a dialog box which enables you to make a serial or network host connection. The Type option specifies whether a serial or network connection is to be made. Clicking the arrow button will display a drop-down list box containing all the possible settings. The Services option specifies the port or network host node which TeemTalk is to communicate with.
Setup Menus The status line along the bottom of the window displays two LEDs. The first LED indicates whether or not you are connected to the host. It will show red when not connected and green when you are connected. The second LED indicates whether or not data is being sent to or from the host. It will show dull green when there is no activity, red when data is being sent to the host, and bright green when data is being received from the host.
Setup Menus The status line along the bottom of the window displays two LEDs. The first LED indicates whether or not you are connected to the host. It will show red when not connected and green when you are connected. The second LED indicates whether or not data is being sent to or from the host. It will show dull green when there is no activity, red when data is being sent to the host, and bright green when data is being received from the host.
Setup Menus Save Session Selecting this option will cause the current session configuration to be saved to the connection template specified in the Save Session As dialog box. Save Session As... This will display a dialog box which enables you to save the current session configuration as a connection template. TeemTalk enables you to create multiple connection templates, any one of which can be used either when TeemTalk is loaded or while it is running. The procedure is as follows: 1.
Setup Menus 4. In the Description text box, enter a unique description (up to 132 characters long) which will be used to identify the connection template for future selection. This description will also appear in the Open Session dialog box. 5. Click the OK button to save the template settings. If you specified the names of settings files that already exist, a message box will ask you to confirm whether or not you want to overwrite the existing files with the new settings. Startup Options...
Setup Menus Replay File... Factory default: *.* This option will display a dialog box which enables you to replay the contents of a file previously created by the Capture File... option. Enter the name of the file to be replayed in the Replay File Name text box, or alternatively select a file name in the list box below, specify whether the replay is directed to the emulation (default) or host, then click the OK button.
Setup Menus The currently selected printer is the TeemTalk default printer if specified, or the printer specified in the Control panel, when the dialog box is displayed for the first time after TeemTalk is loaded or reset, otherwise it is the printer that was last used. Selecting a printer other than the default printer will enable the Save New Default option. If you click the OK button when this option is selected, the currently highlighted printer will become the new default printer.
Setup Menus The Text option is selected by default and the printer resolution and scaling options are not accessible. Clicking the OK button with Text selected will cause a fast print of the screen using ASCII text codes, therefore any graphics displayed in the TeemTalk client area will not be printed. Note: The virtual key name VT_PRINT will also cause this dialog box to be displayed.
Setup Menus These options allow you to print the graphics image as displayed (Normal by default), with black and white reversed, with colour converted to monochrome, or colour converted to monochrome with black and white reversed. Once a screen print is initiated by clicking OK, another dialog box will be displayed while the screen data is being spooled out to the print manager. This enables you to terminate the print process before data is actually printed.
Setup Menus The Parameters text box enables you to specify the values of ArgV# type variables within the script file, if required. Values are separated from each other by a comma. You must ensure that the values are entered in the right order so that they are assigned to the correct variables. Refer to the Initiating A Script File section in the Creating A Script File chapter for details.
Setup Menus Telnet Options This dialog box is displayed when you click the Telnet Options button in the New Connection dialog box when any Telnet protocol is selected in the Type list box. Note that the options available and the default settings depend on the current terminal emulation. The '3270' and '5250' options are not applicable to this version of TeemTalk. Note: Many of these settings can be specified in the TeemTalk private profile file. Refer to the Initialization Commands chapter for details.
Setup Menus Force Negotiation These settings determine whether or not the Telnet Binary or EOR options are supported. Both are set to no by default. No Will not force any negotiations. It will leave it up to the host to decide what to do. DO Will force negotiation. The host will be informed that the option is supported. DONT Will force negotiation. A negotiation packet will be sent to the host telling it that the option is not supported.
Setup Menus Edit Menu Clipboard Text Clipboard Graphics Selecting one of these options will enable selected text or graphics to be copied to the clipboard when the Copy command is used. The Paste and Select All commands will also be enabled. A tick will be displayed next to the option when it is selected and the DDE commands will be disabled.
Setup Menus Copy This command becomes available (ungreyed) when data has been selected. The function of this command is determined by whether the Clipboard Text, Clipboard Graphics, DDE Row Copy or DDE Column Copy option is selected. When the Clipboard Text or Clipboard Graphics option is selected, this command will cause currently selected text or graphics to be copied to the clipboard. The data can then be inserted in a different position or another file using the Paste command.
Setup Menus current cursor position. The same block of data may be pasted repeatedly as the clipboard stores it until the Copy command is used again. Note: The same function can be performed by clicking the right mouse button on a 3-button mouse, or Shift + Left or Right Button on a 2-button mouse, or by pressing the keys Shift + Insert. Select All This will cause the window contents (not the entire buffer) to be selected. Clear Buffer This will erase the contents of the window and the scroll buffer.
Setup Menus Settings Menu The following dialog boxes can be displayed from this menu: Emulation Settings - for specifying the terminal emulation, terminal identity and displayable characters. Serial Settings - for specifying serial communication settings. Terminal Settings - for specifying terminal and keyboard settings. Dialog Settings - for specifying the text window format, buffer size and cursor movement. Gin Settings - for configuring TeemTalk for compatibility with the attached GIN device.
Setup Menus Emulation Settings This dialog box is displayed by selecting Emulation in the Settings menu. Emulation Factory default: VT100 The setting of this option determines the current terminal emulation mode. VT52 and VT100 modes enable you to run applications written for the DEC VT52 and VT100 terminals, respectively. Tek mode provides compatibility with software designed to drive the Tektronix 4100 or 4200 series terminals.
Setup Menus VT220-7 and VT220-8 modes run emulations of the DEC VT220 terminal, the difference is in their treatment of 8-bit control codes. When VT220-7 is selected, all 8-bit codes are converted to their 7-bit equivalents, whereas VT220-8 leaves 8-bit codes unchanged. If you are using VT200 applications, select VT220-7. W3220 mode provides compatibility with software designed to drive the Westward 3220 terminal.
Setup Menus Serial Settings This dialog box is displayed by selecting Serial in the Settings menu, or by clicking the Configure... button in the New Connection dialog box when the connection type is set to Serial or Interrupt 14. Note that the port for serial communications is selected via the New Connection dialog box which is displayed from the File menu. Baud Rate Factory default: 2400 This specifies the transmit and receive baud rates for the port selected for host communications.
Setup Menus In/Out - XON/XOFF on transmitted & received data Hardware - DTR/CTS hardware flow control. Data Bits Factory default: 8 This option specifies the number of data bits sent for each transmitted character. Stop Bits Factory default: 1 This specifies the number of stop bits sent for each transmitted character.
Setup Menus NCSI Settings This TeemTalk for Windows 3.1x dialog box is displayed by clicking the Configure... button in the New Connection dialog box when the connection type is set to Extended NCSI. Baud Rate Factory default: 9600 This specifies the transmit and receive baud rates in the range 50 to 115200 baud. Parity Factory default: None This option specifies the parity mode for each transmitted character. If the number of Data Bits is 8, set this option to None.
Setup Menus Data Bits Factory default: 8 This option specifies the number of data bits sent for each transmitted character. Stop Bits Factory default: 1 This specifies the number of stop bits sent for each transmitted character. Show Port Details Factory default: Unselected By default the Services list box will show the server name and general service (e.g. VAX or modem) but not the port name.
Setup Menus Terminal Settings This dialog box is displayed by selecting Terminal in the Settings menu. Keyboard Language This option enables you to specify the nationality of the keyboard being used. It is important that this is correct otherwise the characters displayed may not match the key legends. When running TeemTalk for Windows 3.1x, the factory default keyboard nationality is determined by the Keyboard Layout setting in the International dialog box within the Microsoft Windows Control Panel.
Setup Menus CR Implies LF Factory default: Unselected When selected, this will cause TeemTalk to interpret each carriage return character it receives as a carriage return and line feed pair. Ignore Deletes Factory default: Unselected The setting of this option determines whether TeemTalk ignores or actions delete characters received from the host. Application Keypad Factory default: Unselected The setting of this option determines the effect of pressing keys in the keypad on the right side of the keyboard.
Setup Menus Report Maximum Line Length Factory default: 0 The setting of this option determines the maximum number of characters per line for reports sent to the host. The numeric value must be in the range 0 through 65535. This feature is disabled if 0 is specified. Bypass Cancel Character Factory default: ^J (LF) This option sets the bypass mode cancellation character. Bypass mode is entered when TeemTalk sends a report to the host so as to prevent reports echoed by the host being actioned by TeemTalk.
Setup Menus End Of Message Characters Factory default: ^M (CR) and ^J (LF) This option is used to specify up to two ASCII characters in the decimal range 0 through 127 which are sent by TeemTalk to end a line of data transmission. To change the current definition, delete the definition displayed in the text box and type in the new one, either as the control key character equivalent or the decimal value of the ASCII character.
Setup Menus Dialog Settings This dialog box is displayed by selecting Dialog in the Settings menu. Burst Scroll Factory default: Unselected The setting of this option determines whether data is scrolled one or several lines at a time when the window becomes full. Data will scroll up several lines at a time when this is selected. Auto Wrap Factory default: Selected This option determines whether characters wrap to the next line when the right margin is reached.
Setup Menus Dialog Area Visible Factory default: Selected This option enables you to make the dialog area visible or invisible. Cursor Origin Factory default: Relative The setting of this option defines the relationship between the cursor position and the emulation workspace. When this option is set to Absolute, the cursor position is calculated using the first column and row of the emulation workspace as its origin, so allowing addressing outside the current text scrolling region.
Setup Menus window. The window size will be adjusted accordingly. Note that the number of text rows actually used for displaying dialog area text is determined by the setting of the Dialog Area Lines option. Dialog Area Lines Factory default: 32 This option defines how many lines of the dialog buffer are visible on the screen in the dialog area. The size of the text window (see Rows) and dialog buffer (see Dialog Area Buffer) determines the maximum number of lines that can be displayed.
Setup Menus Gin Settings This dialog box is displayed by selecting Gin in the Settings menu. Tablet Type Factory default: MM1201 This option specifies the graphics input device that is attached to your system and the data format that TeemTalk uses to communicate with it. TeemTalk incorporates several tablet drivers. The following list includes the baud rate, data bits, stop bits and parity settings that are automatically set for the tablet type selected.
Setup Menus Gin Tablet Characters Factory default: Z123 This option specifies the characters sent by the buttons on the mouse or tablet puck for Gin pick and locate operations. The setting must consist of four characters or no characters. For a mouse which only has three buttons, the first character is ignored and subsequent characters correspond to the left, middle and right buttons.
Setup Menus Attributes This dialog box is displayed by selecting Attributes in the Settings menu. It enables you to specify the colours used in the dialog area and how text with attributes is displayed. To change the way a screen element is displayed, select the relevant item from the Screen Element list box, for example, Bold (BD) for characters with the bold attribute.
Setup Menus Screen Element This list box enables you to select the screen element for definition. Normal Screen Bold (BD) Underline (UL ) Flashing (FL) Inverse (IV) UL+BD FL+BD FL+UL IV+FL IV+BD IV+UL FL+BD+UL IV+UL+BD IV+FL+BD IV+FL+UL IV+FL+BD+UL Attribute The list of attribute options allow you to enable or disable the actual display of attributes associated with the selected screen element.
Setup Menus Colours Cleared With Attributes Factory default: Unselected This option is not applicable to TeemTalk-05W, -07W or -11W and will therefore be unselectable. Attributes Use Normal BG Factory default: Unselected This option is not applicable to TeemTalk-05W, -07W or -11W and will therefore be unselectable. Customizing The Colour Selection You can change any of the 16 colours displayed in the Foreground and Background colour selection boxes.
Setup Menus Visual Method The full range of colours available is displayed in the large colour selection box. A target cursor is positioned over the currently selected colour. To select a new colour you can either click the mouse pointer over the colour required or drag the target cursor over it. The right hand colour of the Set Colour box will change accordingly. The lightness of the selected colour can be altered by dragging the triangular pointer up or down the vertical bar to the right.
Setup Menus Keyboard Macros This dialog box is displayed by selecting Keyboard Macros in the Settings menu. The Keyboard Macros dialog box enables you to redefine the function of most of the keys on your keyboard and shows the mapping of the keyboard for the current terminal emulation mode. Two keyboard layouts are displayed.
Setup Menus Show Map, then moving the pointer over a key in the lower layout and holding down the left mouse button. The key or key combination which emulate the function of the key you are currently pressing will be displayed in the upper layout as if pressed in. Note: Control key functions are not shown. TeemTalk provides two quick and easy ways of changing the default keyboard mapping to suit your requirements.
Setup Menus The Predefined Macros option at the bottom of this dialog box enables you to select from a list of standard functions associated with the current terminal emulation. Clicking the arrow button will display a list box in which the names of valid key functions (called virtual key names) are shown. Note: The Virtual Key Names appendix lists all the functions and associated virtual key names for each terminal emulation.
Setup Menus All keyboard macros can be saved so that TeemTalk will reassert them each time it is loaded or reset by displaying the Save Session As dialog box from the File menu, selecting the Keyboard Macros option, then clicking the OK button. Entering Control Characters You can enter a control character either as the control key character equivalent or the decimal value of the ASCII character.
Setup Menus Entering Command Lines You can enter a command line in a key definition by enclosing it within the ( and ) characters. This enables you to launch an application by just pressing a key. For example, to program the F1 key so that another instance of TeemTalk-07W is run when the key is pressed, you would enter the following in the relevant text box: (C:\TEEMTALK\TT07W.
Setup Menus Euro Sign TeemTalk enables you to generate the euro sign from the keyboard by pressing the keys Alt + 4 by default. TeemTalk also provides a cross-mapping mechanism to allow any unused character symbols or string to be cross-mapped to display the euro. This means, for instance, that a host application needing to display the euro could be adjusted to send an unused character or character string, which TeemTalk would convert to the euro symbol.
Setup Menus Soft Buttons This dialog box is displayed by selecting Soft Buttons in the Settings menu. A set of soft buttons is displayed at the bottom of the TeemTalk window by default. These can be programmed so that they perform various functions when clicked. The soft button display can be switched on or off using the Visible check box. The soft buttons can be detached as a separate window by deselecting the Attached option. There are four soft button levels. Level 1 is displayed by default.
Setup Menus All four levels can be displayed by specifying 4. Specifying 0 will cause no soft buttons to be displayed. You can assign a title to the definition set which will be displayed in the leftmost button in the second row by entering it in the Title text box. The title can consist of up to seven characters. By default the buttons on level 1 are defined with functions relating to the Tek emulation, as described in the Getting Started chapter.
Setup Menus Key Combinations & Sequences You can program a soft button to perform the function of a combination or sequence of keys. For example, you can cause a button to perform the same function as pressing the keys Alt + F4 together, or pressing the keys F2 then F3 then F4. Keys are identified by their virtual key names as listed in the Virtual Key Names appendix. The virtual key name has to be enclosed by the < and > characters in the Command text box. You may omit the VK_ and VT_ parts (etc.
Setup Menus when the button is clicked, you would enter the following in the B4 Command text box: <"tt07w"> (tt07w is the window class name for TeemTalk-07W.) Initiating A Script File You can program a soft button to run a script file when pressed by enclosing the name of the file and any arguments within the <' (left angle bracket and single quote) and '> (single quote and right angle bracket) characters. For example, to program a button so that it will run the script file myscript.
Setup Menus Mouse Button Actions This dialog box is displayed by selecting Mouse Button Action in the Settings menu. This enables you to specify the function of the left and right mouse buttons when they are pressed on their own or in conjunction with modifier keys. You can assign up to six functions to each button.
Setup Menus Delimiters are the same as for hotspots. The Move Cursor function can be used in any of the local block modes as a quick way of positioning the text cursor within a block of text. Move the mouse cursor to the position where the text cursor is required then click the mouse button (and key combination) assigned with the Move Cursor function to cause the text cursor to jump to that location. The Cursor Select function performs the same way as Move Cursor.
Setup Menus Button Tools This dialog box is displayed by selecting Button Tools in the Settings menu. This enables you to redefine the button tools displayed in the toolbar or floating button palette. Up to 64 buttons can be defined. For a complete description of how to use the toolbar and floating button palette, refer to the chapter entitled The Toolbar. A button tool is defined in two stages.
Setup Menus Specify the name of the bitmap file to use then click the OK button. The dialog box will close and you will see the new button bitmap highlighted at the bottom of the Buttons list box. If you want to delete a custom button from the Buttons list box, select the button bitmap then click the Delete Custom button. DO NOT click the Delete Current button as this will remove the currently selected button tool from the toolbar.
Setup Menus Help Menu Help Contents Selecting this option will display a help window listing the contents of help for TeemTalk. Clicking an underlined topic or pressing Tab to highlight the topic then pressing Enter will cause the window to display information on that topic. Text that has a continuous underline will cause another topic to be displayed when clicked, while text with a dotted underline will display a small temporary window with a description of the term.
File Transfer 8 File Transfer This chapter describes how to transfer files using the Kermit, XMODEM, XMODEM-1K, YMODEM Batch, ZMODEM and ASCII protocols. Introduction TeemTalk includes a file transfer utility which enables two-way file transfer between the host and your PC. A range of file transfer protocols are supported to provide compatibility with virtually any host computer. Several transfers may be run simultaneously in the background while you continue to use other Windows applications.
File Transfer YMODEM Batch YMODEM Batch is similar to XMODEM-1K, but enables several files to be transferred. It checks for errors using a cycling redundancy check only. ZMODEM ZMODEM is an advanced development of YMODEM which enables much faster multiple file transfer with enhanced error detection and aborted transfer resumption.
File Transfer Sending Files The following procedure is used to transfer files from your PC to the host. 1. Start the transfer procedure on the host computer and specify that files are to be received. 2. Display the TeemTalk File menu on your PC and select File Transfer... to display the Initiate File Transfer dialog box. 3. Select the transfer protocol you wish to use in the Transfer Protocol list box. 4.
File Transfer 7. Specify the directory which contains the file(s) for transfer in the right list box by clicking on one of the path options and clicking the Select button until the full directory path displayed above the list box is correct. The files contained in this directory will be displayed in the left list box. 8. Display the name(s) of the file(s) to send in the left list box, either by using the scroll bar or by specifying a filename type (e.g. *.exe for all files ending with .
File Transfer Receiving Files The following procedure is used to transfer files from the host to your PC. 1. Start the transfer procedure on the host computer and specify that files are to be sent. 2. Display the TeemTalk File menu on your PC and select File Transfer... The Initiate File Transfer dialog box will be displayed. 3. Select the transfer protocol you wish to use in the Transfer Protocol list box. 4.
File Transfer 6. If the kermit protocol is being used and the host kermit is in remote mode, click the Remote button in the Initiate File Transfer dialog box, then the Get button in the Remote Operations dialog box to specify the file to be received, otherwise, click the Receive button in the Initiate File Transfer dialog box. Note: The program waits for the arrival of one or more files from the host. 7. Click the Start button.
File Transfer Cancelling A File Transfer When a file transfer is in progress, the File Transfer Data window will be displayed. This will provide information on the progress of the file transfer similar to that shown below. Clicking the Cancel button will display another dialog box with four cancel options. Selecting Cancel File then clicking the YES button will cause transfer of the current file to be cancelled by sending a 'Cancel File' message.
File Transfer Setting Protocol Parameters General Parameters Clicking the General... button in the Initiate File Transfer dialog box will cause the General Parameters dialog box to be displayed. This enables you to set various parameters for any of the transfer protocols. Once the settings have been selected, the initialization file can be modified to reflect the changes under the heading [TeemTalkFTU,Kermit] by checking the Save Settings box then clicking the OK button.
File Transfer Duplicate file warning Factory default: Selected When this is selected, if an incoming file has the same name as an existing one it will be renamed to avoid overwriting it. A unique generation number will append or replace part of the old name. Send delay for first packet Factory default: 0 The setting of this option determines the length of time in seconds before the first packet is sent when sending a file. The time delay can be set to any number of seconds between 0 and 63, inclusive.
File Transfer Kermit Parameters Clicking the Kermit... button in the Initiate File Transfer dialog box will cause the Kermit Parameters dialog box to be displayed. This enables you to set parameters specific to the Kermit protocol. Once the settings have been selected, the initialization file can be modified to reflect the changes under the heading [TeemTalkFTU,Kermit] by checking the Save Settings box then clicking the OK button.
File Transfer End of line char Factory default: CTRL-M (i.e. CR) This specifies the character which terminates the packet. Quote char Factory default: # This specifies the character used to indicate that the next character is in the decimal range 0 - 31, 128 - 159, or is a delete character (127). Packet size Factory default: 80 This specifies the maximum byte size of a packet from the sequence number byte and including the checksum characters.
File Transfer ASCII Parameters Clicking the ASCII... button in the Initiate File Transfer dialog box will cause the ASCII Parameters dialog box to be displayed. This enables you to set parameters specific to the ASCII protocol. Once the settings have been selected, the initialization file can be modified to reflect the changes under the heading [TeemTalkFTU,ASCII] by checking the Save Settings box then clicking the OK button.
File Transfer Line Pacing Character Factory default: None This specifies the pacing character used to indicate that the host or PC is ready to receive the next line of data. Line Pacing Time Factory default: 0 This specifies the time in 1/10 seconds that the program will pause between each line transmission. Expand Blank Lines Factory default: Unselected The setting of this check box determines how the host interprets blank lines encountered in a data transmission.
File Transfer ZMODEM Parameters Clicking the Zmodem... button in the Initiate File Transfer dialog box will cause the ZMODEM Parameters dialog box to be displayed. This enables you to set parameters specific to the ZMODEM protocol. The Send settings inform the remote end how to treat the data that will be sent to it. The Receive settings will override any Send settings specified at the remote end.
File Transfer The Resume option enables you to send the remainder of a file if the transfer process is interrupted, for example if data blocks were missed or the connection was lost. This saves you having to retransmit the entire file again. File Transfer Action Factory default: Default This specifies what action is to be taken by the receiving end on files that are transferred. Selecting Default will use the action specified by the receiving end.
File Transfer Remote Command Factory default: Not specified This enables you to enter a command that will be sent to the remote end to initiate the file transfer. If a remote command is specified, this will be sent to the host with a terminating carriage return character before the transfer is started. Window Size Factory default: 8192 When a file transfer has been initiated, ZMODEM will send data continuously to the receiving end. If the receiving end is slower, then data will be stored on the network.
File Transfer Kermit Remote Operations When Kermit is selected as the transfer protocol, the Remote button in the Initiate File Transfer dialog box provides access to commands that enable you to perform various operations on the host. Kermit has to be operating in server mode on the host for remote commands to function. A command is initiated by selecting it in the Kermit Remote Operations dialog box then clicking the Action... button.
File Transfer Directory This enables you to specify which filenames are listed from the host's working directory. Clicking OK when nothing has been specified will cause all filenames to be displayed. Erase This enables you to specify the names of files to be deleted from the host's working directory. Help This enables you to specify the topic on which help is required. If nothing is entered then clicking OK will cause the remote commands understood by the host to be displayed.
File Transfer Local Operation Clicking the Local button in the Initiate File Transfer dialog box will display a dialog box which enables you to specify the default local directory for sending and receiving files. The current directory is displayed at the bottom of the dialog box. The Specification text box is used to specify which files in the current directory are displayed in the Files selection box. For example, to display all the files with the extension .exe, type *.
File Transfer Notes 8-20
ICL FTF File Transfer 9 ICL FTF File Transfer This chapter describes the ICL FTF file transfer utility supported by TeemTalk for Windows 3.1x in all terminal emulation modes. Configuration Requirements 1. FTF requires the DOSLANTI TSR to be loaded, but it is not necessary for the user interface, providing you do not attempt to initiate a transfer. 2. The list of hosts that can be selected from the FTF dialog box depends on entries in the private profile file OSLANSVF.INI.
ICL FTF File Transfer Sending & Receiving Files The following procedure is used to transfer files between your PC and the remote host. 1. Run the File Transfer Responder on the remote host computer. 2. Display the TeemTalk File menu on your PC and select File Transfer... to display the Initiate File Transfer dialog box. Select ICL FTF in the Transfer Protocol list box. The following dialog box will be displayed.
ICL FTF File Transfer 7. If the file to be transferred is a binary file, change the Data Type setting to Binary, otherwise leave it as Text. No translation of the data will be performed during the transfer. 8. Specify the Direction of the file transfer by selecting To Host or From Host. 9.
ICL FTF File Transfer Transfer Options This dialog box is displayed by clicking the During Transfer... button in the FTF dialog box. Text Formatting Factory default: Negotiate This specifies the method of formatting text during the file transfer. Clicking on the arrow button will display a list of all the formatting methods supported from which you can make a selection. 9-4 EOR=>, no FEs End of record implies new line action. No actions are implied by embedded characters.
ICL FTF File Transfer FEs No formatting action is specified by end of record but the formatting actions CR, LF, NL, BS, FF, NP may be represented by embedded characters. Negotiate FTF negotiates with the remote host to decide on the text formatting required. No formatting No formatting actions are implied by end of record or by emdedded characters. Maximum Record Size Factory default: 1024 This specifies the maximum record size to be found in the data being transmitted.
ICL FTF File Transfer Debug Transfer Factory default: Unselected This option should only be selected under the guidance of a Pericom representative. It causes diagnostic information to be produced which is used for troubleshooting purposes. Preserve Record Boundaries Factory default: Unselected Select this option if you want the receiving system to preserve the record boundaries in the transmitted data when it writes the file to disk. Note that the MS-DOS filestore does not support record-oriented files.
ICL FTF File Transfer Remote Host Options This dialog box is displayed by clicking the At Remote Host... button in the FTF dialog box. Remote File Operation Factory default: Make or replace This specifies what operation should be performed on the file. Click on the arrow button to display a list of operations supported, then double-click to select the mode you want to use. The modes which are available are as follows: Make The file must not exist on the remote system and will be created.
ICL FTF File Transfer Execute The file, which must be SCL or VME, will be submitted for execution. See also Special options. Print The file, which must be text, will be printed by the remote system after the transfer has completed. See also Special Options. This mode is used if you select direction To Host in the main FTF dialog box and Print in this dialog box. Read and remove The file must exist on the remote system. After being transferred to the local system, it will be deleted on the remote system.
ICL FTF File Transfer Text Storage Code Factory default: Host Default This specifies the code in which data is stored at the remote system. Usually you can leave this set to Host Default so that the remote system decides for itself what code the data is stored in. Print Factory default: Unselected When selected, this will cause the file to be printed by the remote host after it has been received. Special Options This enables you to specify any special options to be actioned by the remote system.
ICL FTF File Transfer Notes 9-10
FTP File Transfer 10 FTP File Transfer This chapter describes the FTP file transfer utility for TCP/IP connections. The Transfer Procedure The basic procedure for transferring files is described below. Following sections describe the various options available in detail. Note that FTP only operates on the Windows Sockets stack. 1. Display the File menu and select FTP. The presence of all available drives including floppy disk drives and network drives will be checked before the TTWFTP window is displayed.
FTP File Transfer The left hand list box will display the contents of the local home directory on your current drive by default. The drive selection list box above it enables you to specify a different disk drive. 2. To make a remote host connection, display the Connection dialog box either by clicking the following button in the toolbar, or by selecting Connect to Host in the Session menu. 3.
FTP File Transfer The Local and Remote Directory boxes enable you to specify the start directories (and drive name if required) that FTP will automatically attempt to locate and display in the TTWFTP window when a session is connected. The normal default directory (home) will be displayed if no directory is specified or the directory is not accessible. Click the Connect button at the top right corner of this dialog box. TeemTalk will attempt to connect to the specified host.
FTP File Transfer 4. If you want to save the session configuration for future connection, display the Configure menu and select Save Settings on Exit. This is a toggle selection which will display a tick mark when enabled. 5. Display the directory containing the file(s) to be transferred and the destination directory in the Local and Remote Directory list boxes as required. The contents of subdirectories can be displayed by by double-clicking the mouse pointer on the folder icons or names.
FTP File Transfer If the current directory contains subdirectories that you wish to transfer, check the Include Subdirectories check box. This will ensure that FTP creates the relevant subdirectories on the destination drive. Note: A new Confirm Copy Files dialog box will appear for each subdirectory when it is opened ready for transferring its contents. The dialog box will close when the relevant items in its subdirectory have been transferred.
FTP File Transfer Note that if you try to exit without disconnecting from the host, the following message box will be displayed: Clicking Yes will disconnect from the host then close the TTWFTP window.
FTP File Transfer Menu & Toolbar Options Five menus can be displayed from the menu bar, four of which are shown below. The fifth menu, Help, enables you to display the software version number. Fi le Fi e y R en et el D op C le R Cre am s em at e e Fi ot D e ire le C ha c ng tory e M od e t t os H os H m ro To tF ct ne ec nn on D is co C s The buttons on the toolbar provide a quick way of performing functions or displaying dialog boxes without having to use the menus.
FTP File Transfer Delete This will display a message box to confirm that you want to delete the currently selected file(s) or directory on the local PC or remote host. Pressing the Delete key will have the same effect. Note that directories have to be empty before they can be deleted. Clicking the Yes button will delete the named file or directory then wait for confirmation for the next if more than one file was selected.
FTP File Transfer Create Directory This will display a dialog box which enables you to create a new directory (or library on AS400) on the local PC or remote host. Remote Change Mode This will display a dialog box which enables you to change the permission settings available to you for a specified file on the remote host. Note that some FTP sites may not have remote change mode facilities, in which case this dialog box will not be available or the user will be unable to perform the request.
FTP File Transfer The Session Menu Connect to Host This will display a dialog box which enables you to enter details of the remote host and make a connection. A connection is made by entering the Host, Login, Password and (if required) Account details, specifying the operating system of the remote host, then clicking the Connect button.
FTP File Transfer host, login, password and account details when you click on it. A session name is assigned by clicking the Add button to display the following dialog box. Enter a unique name, the name of the remote host for example, then click OK to save the current host connection settings to that name. The session name will be displayed in the Sessions list box together with any others that have been defined.
FTP File Transfer Conversion option will cause all uppercase characters in the name of the file to be converted to lowercase during the transfer process. Save Settings on Exit This is a toggle function which will display a tick mark when selected. When selected, all the currently defined session names and associated settings will be saved when you exit. All FTP settings are stored in one of the following files: Windows 3.1x: TTWFTP.INI in the WINDOWS directory. Windows 95: TTW32FTP.
FTP File Transfer FTP Initialization File Entries Session settings specified in the Connection dialog box can be saved by selecting Save Settings on Exit in the Configure menu. This is a toggle function which will display a tick mark when selected. The settings are stored in one of the following files: Windows 3.1x: TTWFTP.INI in the WINDOWS directory. Windows 95: TTW32FTP.INI in the WIN95 directory. Windows NT: TTW32FTP.INI in the WINNT directory.
FTP File Transfer Disable Delete Command You can prevent the deletion of files and directories in the TTWFTP window by including the command DisableDelete=1 in a command group headed [General]. This will disable the Delete File button, the Delete option in the File menu, and the Delete key. FTP Command Line Options The command line for running the FTP executable can be extended to include the options described below. Note that the first command after the executable is ignored, so enter this as - or /.
Initialization Commands 11 Initialization Commands This chapter describes all the commands that can be included in the initialization file or on the command line. Introduction The initialization file is used to store various settings which specify how TeemTalk is initially run and displayed. Once the normal initialization specification has been defined in this file, the settings for a particular instance of TeemTalk may be overridden using command line options.
Initialization Commands The following command group example will cause TeemTalk-07W to attempt to connect to a network host called sparc1 using the LAN Manager protocol, and display two levels (i.e. 4 rows) of soft buttons. [tt07w] host=sparc1 protocol=lanman buttonlevels=2 You can specify more than one set of commands in the WIN.INI file so that each instance of TeemTalk displayed on the screen can be configured differently.
Initialization Commands [Untitled.ses] Wsp=tt07w.wsp Nv=tt07w.nv [Sessions] Default=Untitled.ses [Startup] Dialog=1 SaveAsDefault=1 Editor=notepad.exe All entries within the file are searched for on a case insensitive basis. Note: TeemTalk WIN.INI commands cannot be placed in the private profile file. Settings which should be placed in the private profile file will be clearly indicated.
Initialization Commands You can view the contents of the private profile file used by the current instance of TeemTalk by displaying the Startup Options dialog box from the File menu and clicking the Edit... button. The private profile file will already contain entries similar to the following, where commands are grouped under headings enclosed by square brackets: [Untitled.ses] Wsp=tt07w.wsp Nv=tt07w.nv [Sessions] Default=Untitled.ses [Startup] Dialog=1 SaveAsDefault=1 Editor=notepad.
Initialization Commands Command Line Option Format The command line is entered in the Microsoft Windows Program Item Properties dialog box, which is displayed by selecting File then Properties in the Program Manager window when the TeemTalk icon is selected. Options are entered after the name of your TeemTalk program and each option must be preceded by a space. An option is immediately followed by its setting if one is required, without a space in between.
Initialization Commands Command Summary ◆ indicates the command does not apply to TeemTalk-05W or TeemTalk-05W32. Network Connection Command Function Initialization File Network host name Network protocol Load Winsock on startup NetBIOS version TSR identifier (Windows 3.
Initialization Commands Command Function Window fills screen on start-up Disable copyright message Disable Control menu & min/max Disable Control menu Disable close window menu item Disable minimize button Disable maximize button Disable window frame Disable title bar Disable menu bar Disable toolbar Disable scroll bar Title to display in title bar Subtitle to display in title bar Soft button levels displayed Disable status bar Crosshair cursor size Font size displayed by default Bold font in full screen wo
Initialization Commands Network Connection Network Host Name Initialization File: host=name Command Line: hostname/protocol Default Setting: Not applicable You can make TeemTalk automatically connect to a network host node each time it is loaded or reset by specifying the host name, protocol and, if necessary, a different default TSR identifier in the initialization file or on the command line. The host= command is used to specify the name of the host.
Initialization Commands TeemTalk for Windows 95 & NT: CTERM LAT MULTILAN NETBIOS TCPIP TEEMTALKOSI WINSOCK2 Refer to the Network Connection chapter in the Networking Guide for a description of these protocols. Note that if you only specify the host name on the command line then TeemTalk will assume you are using TCP/IP.
Initialization Commands TSR Identifier WIN.INI File: Command Line: Default Setting: netid=identifier -iidentifier 5A TeemTalk for Windows 3.1x communicates with its TSR programs and the network kernel software via interrupt 63 (hex). A unique TSR identifier is used to link an instance of TeemTalk to a particular TSR. This enables two or more instances of TeemTalk to use different network protocols, and also allows other software in the system to use interrupt 63. The default TSR identifier is 5A (hex).
Initialization Commands Disable 'Closed Connection' Message Box Initialization File: exitOnClose=on exitOnClose=off exitOnClose=connect Command Line: Default Setting: TeemTalk exits immediately TeemTalk does not exit TeemTalk attempts to reconnect -e TeemTalk exits immediately -e1 TeemTalk does not exit -e2 TeemTalk attempts to reconnect Message box displayed When the host closes the connection or the connection fails, TeemTalk normally displays a message box giving you the option to reconnect, cancel o
Initialization Commands Telnet Commands Suppress Telnet Echo Option Private Profile File: TelnetEchoSuppress=Yes Command Line: Not applicable Default Setting: No This command will suppress TeemTalk generation of the Telnet echo option on connection. It must be placed under the [Sessions] heading in the TeemTalk private profile file.
Initialization Commands Session Configuration Startup Command Group To Action Initialization File: Not applicable Command Line: -nname Default Setting: Windows 3.1x: tt*w (* is either 05, 07, or 11) Windows 95 & NT: default You can specify more than one set of startup commands in the Windows 3.1x WIN.INI file or the Windows 95 or NT TT*W.INI private profile file. This enables you to configure each instance of TeemTalk differently. Windows 3.
Initialization Commands Private Profile File To Use Initialization File: Not applicable Command Line: -pffilename Default Setting: TT*W.INI (* is either 05, 07 or 11) This command line option enables you to specify a different private profile file for TeemTalk to use instead of the default. Path For Emulation Settings File WIN.INI File: Command Line: Default Setting: NVPath=directory Not applicable \TEEMTALK This command applies to TeemTalk for Windows 3.1x.
Initialization Commands Run Script File Initialization File: scriptfile=filename Command Line: -scfilename Default Setting: Not applicable TeemTalk provides a script language which can be used to automate certain activities such as logging into remote computers. These commands enable you to specify the name (and directory path if necessary) of the script file to initialize. The format of the script file is explained in the chapter Creating A Script File.
Initialization Commands specified in the ZModem Settings dialog box. Note that the transfer protocol selected in the Initiate File Transfer dialog box will be ignored. Refer to the File Transfer chapter for more information. Disable Bell Initialization File: bell=off Command Line: -be Default Setting: Enabled These commands enable you to turn off the terminal bell.
Initialization Commands Display Window Minimized When Loaded Initialization File: windowSize=minimized Command Line: -mi Default Setting: Not applicable These commands will cause the window to be displayed as an icon when TeemTalk is loaded.
Initialization Commands Disable Control Menu & Min/Maximize Buttons Initialization File: SystemMenu=none Command Line: -sy Default Setting: on These commands will remove the Control (System) menu icon and the minimize and maximize buttons from the TeemTalk window. Disable Control Menu Initialization File: SystemMenu=off Command Line: -ms Default Setting: on These commands will remove the Control (System) menu icon from the TeemTalk window.
Initialization Commands Disable Window Frame Initialization File: windowFrame=off Command Line: -fr Default Setting: on These commands will disable the window frame. Disable Title Bar Initialization File: titlebar=off Command Line: -tb Default Setting: on These commands will remove the title bar from the window.
Initialization Commands Disable Menu Bar Initialization File: menubar=off Command Line: -mb Default Setting: on These commands will remove the menu bar from the window. The File, Edit and Settings menus and the << and >> window resize commands will be unavailable. Disable Toolbar Initialization File: toolbar=off Command Line: -l Default Setting: on These commands will remove the toolbar from the window.
Initialization Commands Window Subtitle Initialization File: subTitle="subtitle" Command Line: -st"subtitle" Default Setting: Untitled These commands enable you to specify a subtitle for display in the title bar of a specific TeemTalk window. By default the subtitle is the name of the session. Soft Buttons Displayed Initialization File: buttonlevels=0-4 Command Line: -bl0-4 Default Setting: 1 A set of soft buttons is displayed at the bottom of the TeemTalk window by default.
Initialization Commands font size by using one of these commands where index is the index of the font as defined in the following tables. The size of the font for a particular index will vary depending on the terminal emulation. Specifying an index outside the range for the emulation will cause the highest valid index number for that emulation to be used. The font sizes are defined in pixels.
Initialization Commands Text Redraw Delay Initialization File: TextRedrawDelay=milliseconds Command Line: -rdmilliseconds Default Setting: 1000 These commands enable you to specify the delay period before text is redrawn after terminal inactivity. The numeric value specifies the time in milliseconds. The minimum delay period is 250 milliseconds.
Initialization Commands Disable Graphics Show Through Initialization File: hideGraphics=on Command Line: -g Default Setting: Graphics shows through alpha These commands will prevent graphics from showing through dialog area data that has a background colour index other than 0. (The commands do not apply to TeemTalk-05W or TeemTalk-05W32.
Initialization Commands Keyboard & Mouse LK450 Keyboard Initialization File: LK450keyboard=yes Command Line: -kblk450 Default Setting: Not applicable These commands enable you to specify that an LK450 keyboard is being used. Mouse Cursor Style Initialization File: Command Line: Default Setting: mouseCursor=0-10 -mc0-10 I-beam cursor These commands enable you to specify the style of the mouse cursor displayed by default in the TeemTalk window.
Initialization Commands In some cases it may be necessary to disable the copy and paste function of the mouse buttons to prevent accidental editing. This can be achieved by using one of these commands. When the editing functions are disabled, use the Edit menu options or the numeric keypad keys Shift + . (i.e. Del) to copy and Shift + 0 (i.e. Ins) to paste instead.
Initialization Commands Printing Default TeemTalk Printer Initialization File: device=printer details Command Line: Not applicable Default Setting: As specified in the Control panel This command enables you to specify a different printer which TeemTalk will use by default instead of that specified in the Control panel. Use Windows Default Printer Initialization File: UseWindowsPrinter=yes Command Line: -wp Default Setting: TeemTalk default printer used.
Initialization Commands Send Print Data To File Initialization File: printtofile=filename Command Line: -prfilename Default Setting: Not applicable These commands enable you to direct print data to a specified file instead of the printer. Disable Remote Printing Sequences Initialization File: remotePrinting=off Command Line: -rp Default Setting: Remote printing sequences enabled These commands will disable all remote printing sequences.
Creating A Script File 12 Creating A Script File This chapter describes TeemTalk's scripting language. Introduction TeemTalk provides a comprehensive script language which allows all aspects of the emulator to be controlled via user written command files. Operating in real time, the script language can be used to create customised environments, detect and act upon host events, and simulate user input. A script file can be written using any text editor.
Creating A Script File TeemTalk for Windows 95 & NT To specify the name of the script file in the TT*W.INI private profile file (where * is your version of TeemTalk, e.g.
Creating A Script File For example, to program a key or button so that it will run the script file myscript.scr and assign the values value1 to variable ArgV1 and value2 to ArgV2, you would enter the following in the key/button definition text box: <'myscript.scr(value1,value2)'> Refer to the Keyboard Macros and Soft Buttons sections in the Setup Menus chapter for information on programming keys and buttons.
Creating A Script File Script File Examples Log On Script To introduce scripting, here is an example of probably the most obvious task to automate - logging on to a host computer over a network: hrcv hold pset network protocol "protocol" nodename "nodename" connect hcmp 0,"login: " put "dave_r" hcmp 0,"password:" put "pericom_r" hcmp 0,"$ " exit The hrcv command on the first line will be necessary in most cases when checking data from the host.
Creating A Script File also sometimes necessary to ensure that the LAST character received from the host is the LAST character of the string, to ensure that the host is ready to accept what is sent by the put command. You can use the Display Controls option in the Terminal Settings dialog box to find this out. The script could now be attached to a soft button (or key, mouse button, hotspot, etc.) so that you could simply click on the relevant button to attach to a different host computer.
Creating A Script File LOGON1: LOGON2: LOGON3: LOGON4: pset emul mode tek pset emul mode w3220 pset emul mode vt2207 pset emul mode vt2208 Programming Keyboard Macros What we have now achieved using soft buttons could also be done using keyboard macros. What you will achieve is less apparent, however, because you have no visible indication like the 'name' displayed on each soft button.
Creating A Script File Similar definitions can also be applied to soft buttons to allow frequently used sequences to be accessible with one mouse click. Key combinations are also possible to define by including the complete combination within angle brackets (< and >).
Creating A Script File if (errno) goto lab1: DDE initiate "Excel", "sheet1", channel2 if (errno) goto lab2: wrt "DDE initiation with Excel succeeded_n_r" wrt "Excel Supports the following Clipboard formats:_n_r_t" dde request "Formats" RequestedInformation, channel1 dde request "Selection" RequestedSelectInfo, channel1 wrt RequestedInformation"_n_r" wrt RequestedSelectInfo"_n_r" wrt "About to open the Excel Spreadsheet Expenses.xls_n_r" dde execute '[open("h:\excel\excelcbt\expenses.
Creating A Script File Initiating A File Transfer The following script file example will attempt to initiate a file transfer and display various informative messages.
Creating A Script File IF (errno) { MSGBOX "'set file type binary' did not get 'C-Kermit>' prompt",1,reply LET success = 0 RETURN } RETURN **************************** * Setting Kermit to 'server' * **************************** lab3: LET success = 1 PUT "server_r" HCMP 60,"reconnect.
Creating A Script File } ELSE { MSGBOX "'KERMIT remote SEND' successful",1,reply } lab6: FTU CANCEL RETURN *********************************** * Take Kermit out of 'server' mode * *********************************** lab5: LET success = 1 FTU INITIATE FTU SET TRANSFER KERMIT IF (errno) { LET success = 0 MSGBOX "Could not set 'TRANSFER' mode to 'KERMIT'",1,reply GOTO lab7: } FTU SET REMOTE FINISH IF (errno) { LET success = 0 MSGBOX "Failed to set 'REMOTE' parameter to 'FINISH'",1,reply GOTO lab7: } FTU SET HO
Creating A Script File Syntax Conventions This section explains the rules for writing a script program. Program Lines The first text entry of each line must be a script command or a line label, which may be preceded by any number of spaces from the beginning of the line. The command can be entered in upper or lower case. Command parameters may be separated by a comma or/and a space. Comments You can enter comments on separate lines or on the same line as a script command.
Creating A Script File Decimal Value Of ASCII Characters In Strings You can enter the decimal value of ASCII characters within character strings. A decimal value is entered as a three digit number preceded by an underline character. Decimal values with only two digits must be preceded by a zero.
Creating A Script File Script Operators The script language supports various arithmetic operators to facilitate calculations and manipulations on numeric variables and discrete numeric values. Some of the operators are also extended to provide some useful manipulations on strings and string variables. Operators such as + and * are straight forward. Those that are not so intuitive will be described with the aid of script examples.
Creating A Script File Equivalence Testing (== !=) The == and != operators allow you to check that a variable is set to a particular value.
Creating A Script File Arithmetic Modifiers (+= -= *= /= %=) These operators all act as per their usual function (if the = was ignored), but have the effect that they substitute the resultant value back into the variable upon which they were operating. For example: var %Int = 9 Int += 1 wrt "Int = ", Int, "_n_r" exit would print the line: Int = 10 String Operators There are a limited number of operators that will successfully manipulate strings.
Creating A Script File For example: var $String while (String != "Exit") inp "Give me a string", String exit would keep requesting for input until the string equals Exit. The < and <= operators compare the decimal values of each character in the string in turn to see if the values are less than that of the equivalent characters in the string to which it is compared. In a similar way, the > and => check whether the decimal values are greater.
Creating A Script File Command Descriptions The commands that can be used in the script file are described in alphabetical order on the following pages. Conventions Character Case Each command description begins by showing the basic command followed by the command format with any parameters. The command itself is shown in uppercase though it is not case sensitive. Commands referred to within the main text, and program examples, are generally shown in lowercase.
Creating A Script File Command Summary PROGRAM COMMANDS BRF BRT ELSE EXIT GOSUB GOTO IF LAUNCH LET QUIT RAND RETURN SEED SWITCH WHILE Branch to specified label line if system flag is false. Branch to specified label line if system flag is true. Do the following if previously specified if condition not true. Exit script program but not TeemTalk. Go to subroutine at specified label line. Go to specified label line. Perform the following if specified condition is true. Launch specified application.
Creating A Script File DIALOGUE DSP INP MSGBOX PASSWORD RDPXY RDT RDTXY SUBTITLE SYSERR TCMP TITLE TOOLBAR ADD TOOLBAR DEL TOOLBAR FIX TOOLBAR FLOAT TOOLBAR HIDE TOOLBAR INS WRT Display dialog box with text box, Ok & Cancel buttons. Display and action following lines. Display prompt & place entered characters in variable. Display message box incorporating specified buttons. Display dialog box for password entry. Read characters from display buffer position & place in variable.
Creating A Script File FTU SET FTU START Set the value of the specified parameter. Start the file transfer. FTP FILE TRANSFER FTP CD FTP CONNECT FTP COPYDLG FTP DIRFIRST FTP DIRNEXT FTP DISCONNECT FTP GET FTP PUT FTP RM FTP SET FTP TOOL FTP WD Change current local/remote directory. Connect to specified host. Display message box during file transfer. Get first entry in local/remote directory. Get next entry in local/remote directory. Close connection with host. Get the specified file from the remote host.
Creating A Script File STRING OPERATIONS DECRYPT ENCRYPT FSTR LEN LOW LSTR MSTR PARSE PACK PACKTAB PUT RSTR UPP WRT Decrypt encrypted string and place in variable. Encrypt string and place in variable. Format string to specified length and alignment. Count characters and spaces in variable. Convert uppercase characters to lowercase & place string in variable. Copy number of characters from left of string & place in variable. Copy number of characters from middle of string & place in variable.
Creating A Script File Commands BREAK Syntax: BREAK
Creating A Script File CLIPBD EMPTY Syntax: CLIPBD EMPTY This command will open the clipboard, clear all the data contained in the clipboard, then close it. Refer to the Error Numbers section later in this chapter for a list of possible error numbers for this command. CLIPBD READ Syntax: CLIPBD READ This command will open the clipboard, read all the data contained in the clipboard and place it in the specified string variable, then close the clipboard.
Creating A Script File Result integer string will contain the ASCII decimal value of the first character in . integer float will contain the result of rounding the floating point number in to the nearest integer. float integer will contain the floating point number equivalent of the integer in .
Creating A Script File is the name of an integer variable (see var) into which an ID will be placed reflecting the particular channel for the initiated DDE link. A maximum of four channels may be used at any one time, each must have a different variable name. This may be omitted if only one channel is to be used (i.e. only one DDE conversation is to be initiated), and the channel ID will be set to 1.
Creating A Script File The following example will place data contained in the variable data1 into cells located at row 1 column 1 through row 2 column 3 inclusive, with no channel specified (assuming the DDE partner is an Excel spreadsheet): dde poke data1 "R1C1:R2C3" DDE REQUEST Syntax: DDE REQUEST - [] Requests that information relating to an item is assigned to a variable name, where
- is a string containing the name of the item from which information is requested.
Creating A Script File DIALOGUE Syntax: DIALOGUE
[ ] This command enables you to display a simple dialog box with a specified title, containing two buttons (Ok and Cancel) and a single line text box with a specified caption, where is the text to be displayed in the title bar of the dialog box, as specified by a string delimited by double quotes or a string variable.Creating A Script File is a previously defined string or integer variable which will store the group name (UNIX only). Note that if you require a value which follows one or more that are not required, you will still need to supply variables for them. For example, if you only wanted the time that the file was last modified, you would need to specify a variable for and as well as . Note that on a UNIX system the first entry is always ".".
Creating A Script File DSP Syntax: DSP If the integer is 1, all the program lines that follow are displayed and actioned. If the integer is 0, all following lines are actioned but not displayed. ELSE Syntax: ELSE This command is used in conjunction with the if command and informs the program to perform the command(s) on the following line(s) if a previously specified if condition was not true.
Creating A Script File ENCRYPT Syntax: ENCRYPT Encrypts a string, where is a previously defined string variable (see var) which will store the encrypted string. is a string or string variable containing the string to encrypt. is one or more characters that are used to define how the string is encrypted. These can be any characters except nulls. Each character in the string will be represented as two hexadecimal characters in the resulting encryption.
Creating A Script File FILE CLOSE Syntax: FILE CLOSE Closes the file with the specified handle where is the name of the integer variable assigned by the file open command. The Error Numbers section lists the possible error numbers for this command.
Creating A Script File (read) W (write) and C (create). If this string is omitted the program will assume that the file will have read and write operations performed on it. For example, to create the file myfile.doc and enable characters to be written to it, the following line would be entered, specifying that the integer identifying the file is to be stored in the variable called id: file open id myfile.doc "cw" The Error Numbers section lists the possible error numbers for this command.
Creating A Script File FILE RGET Syntax: FILE RGET This will get a single character from a file and assign it to a variable, where is the integer variable specified by the file open command and used to identify the file. is a previously defined variable (see var) which will be used to store the character. Note that if the variable was created in the integer format, the decimal value of the character will be assigned to it.
Creating A Script File is a previously defined string or integer variable (see var) which will store the size of the file. is a previously defined string variable which will store the mode. is a previously defined string variable which will store the time of the last modification. is a previously defined string or integer variable which will store the user name. is a previously defined string or integer variable which will store the group name.
Creating A Script File is a previously defined variable (see var) which contains the characters to be written to the file. is the number of characters to be written if the variable is in string format. If the variable is in integer format the number of characters that will be written is two, and if in floating point number format the number of characters that will be written is four. More than one variable may be specified to write successive blocks of characters to the file.
Creating A Script File FTP CONNECT Syntax: FTP CONNECT [ ] This enables you to make a host connection for FTP file transfer.
Creating A Script File FTP DIRFIRST Syntax: FTP DIRFIRST LOCAL [ ] FTP DIRFIRST REMOTE [ ] This FTP file transfer command will get the first entry in the current local or remote directory and place it in the previously defined string variables, where is a previously defined string variable (see var) which will store the name of the file.
Creating A Script File FTP DIRNEXT Syntax: FTP DIRNEXT LOCAL [ ] FTP DIRNEXT REMOTE [ ] This FTP file transfer command will get the next entry in the working directory following an ftp dirfirst command and place it in the previously defined string variables, where is a previously defined string variable (see var) which will store the name of the file.
Creating A Script File Refer to the Error Numbers section later in this chapter for a list of possible error numbers for this command. FTP GET Syntax: FTP GET [] [] This will transfer a file from the currently connected host, as initiated by the ftp connect command, where sets the transfer mode to ASCII, BINARY or TENEX. This can be omitted if the correct mode is already set.
Creating A Script File FTP RM Syntax: FTP RM LOCAL FTP RM REMOTE This FTP file transfer command will remove the specified local or remote file. Refer to the Error Numbers section later in this chapter for a list of possible error numbers for this command. FTP SET Syntax: FTP SET This sets the file transfer mode to ASCII, BINARY or TENEX. Refer to the Error Numbers section later in this chapter for a list of possible error numbers for this command.
Creating A Script File identifies a group of parameters. identifies a particular parameter, or in the case of Parameter settings a sub-group of parameters. identifies a particular parameter when the is specified as Parameter, otherwise this is omitted.
Creating A Script File For example, to specify that the Kermit protocol end of line character for outbound packets is DEL, you would enter the following: ftu set parameter kermit seol "del" where parameter is the group ID, kermit is the parameter ID, seol is the subparameter ID, and "del" is the value.
Creating A Script File FTU START Syntax: FTU START This will start a file transfer where can either be a variable or a string which usually relates to the name of the file to send or receive. The ftu set command is used prior to ftu start to specify whether you are sending or receiving a file. For example: ftu set how send ftu start "fred.doc" If how is set to remote or local, this would invoke the limited operations available.
Creating A Script File The following example will get the current protocol setting from the Windows 3.1 WIN.INI file and place it in the string variable netprot. getini "tt07w" "protocol" netprot The following example will get the current protocol setting from the Windows 95 or NT TT07W.INI file and place it in the string variable netprot. getini "startup,default" "protocol" netprot "tt07w.ini" The Error Numbers appendix lists the possible error numbers for this command.
Creating A Script File HGET Syntax: HGET [, [, ]] This gets one or more characters from the host and assigns them to the specified variable, where is the number of characters to get from the host. If omitted then one character will be returned. is the maximum number of seconds during which the operation has to take place before timing out.
Creating A Script File IF Syntax: IF Informs the program to perform the command(s) on the following line(s) if the specified condition is true. The else command may be used in conjunction with if.
Creating A Script File For example, to ask the user to enter his name and cause the name to be assigned to the variable UserID, the following line would be entered: inp "Please Enter Your Name: " UserID KACT Syntax: KACT This command will cause the script program to perform the function of a key as if a terminal operator had pressed the key on the keyboard. This can be used on its own or in conjunction with the kraw command to accept and perform an intercepted keystroke.
Creating A Script File KINTERCEPT Syntax: KINTERCEPT When enabled, this command will cause all keystrokes entered by the terminal operator to be intercepted and stored in a queue so that the script program can take action on them using the kraw and kact commands. You should disable this function before the script program is exited.
Creating A Script File KSTR Syntax: KSTR This command will treat the characters contained in the string or string variable as macros to be performed. Refer to the Macros Settings dialog box description in the Setup Menus chapter for the macro definition format. More than one macro definition can be specified in the same string or variable.
Creating A Script File LOW Syntax: LOW This command will convert all uppercase characters in a string to lowercase and place the resulting string in a variable, where is a predefined string variable (see var) which will store the converted string. is the string or variable containing the characters to be converted to lowercase.
Creating A Script File For example, to specify that the Cancel and Retry buttons are to be displayed, the integer would be 18. Only the following combinations of buttons are allowed: Ok Ok & Cancel Yes & No Yes, No & Cancel Retry & Cancel Abort, Retry & Ignore The following example will display a message box containing the message Do you wish to continue? and the buttons Yes and No, and cause the value of the button pressed by the user to be stored in the integer variable result.
Creating A Script File ONERROR Syntax: ONERROR This command will perform the specified action when it encounters an error while the script program is running, where can be one of the following: REPORT will display a message box indicating the type of error and the program line that caused it. IGNORE will ignore any errors encountered in the program. GOTO
Creating A Script File PARSE Syntax: PARSE This command enables you parse a string using a specified key (e.g. a single character or a string of characters), where is the string or variable containing the string to be parsed. are two previously defined string variables (see var) into which characters from the string will be placed.
Creating A Script File text box by the user to be stored in the string variable result when the Ok button is pressed. password "Password" "Enter your password:" result 100 100 The Error Numbers section later in this chapter lists possible error numbers. PGET Syntax: PGET This command enables you to get most terminal emulation setup parameters and the current values of some attributes, where is a previously defined variable (see var).
Creating A Script File More than one setting within the same group of parameters can be specified on the same line. For example, to set the baud rate to 9600 and the serial port device to /dev/ ttya you would enter the following: pset host baud 9600 port "/dev/ttya" In this case the group ID only has to be entered once at the beginning of the line, followed by each set of parameter IDs and values. You can also use the pset command to define key macros.
Creating A Script File RDPXY Syntax: RDPXY This causes the program to read a specified number of characters from the specified row and column position in the display buffer and assign them to a previously defined string variable. Note that the row and column position is relative to the display buffer, not the current screen display. The top row in the display buffer designated as row 0.
Creating A Script File RETURN Syntax: RETURN Terminates a gosub command, returning the program to the line following the most recently encountered gosub which has not yet been terminated. RST Syntax: RST This will reset TeemTalk and cause it to assert the last saved setup configuration.
Creating A Script File SETINI Syntax: SETINI [] This enables you set a setting in an initialization file, where is a string or string variable which specifies the heading of the command group, for example tt07w for TeemTalk-07W initialization commands in the WIN.INI file, or startup,default for TeemTalk07W32 initialization commands in the TT07W.INI file.
Creating A Script File SWITCH Syntax: (See below) This is used to compare the value of a variable with a list of possible values and perform the commands specified for the matching case. The format is as follows: SWITCH { CASE CASE [...] [DEFAULT ] } where can be a string, integer or floating point variable containing the value to be matched. { and } mark the beginning and the end of the switch sequence.
Creating A Script File TCMP Syntax: TCMP This will wait for the specified to appear on the screen at the start location specified by and , where is the number of seconds to wait for the specified string. If the string is received within the time period, the system flag is set to TRUE, otherwise the flag is set to FALSE. The program then continues with the next line.
Creating A Script File 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 12-62 Attributes dialog box Keyboard Macros dialog box Soft Buttons dialog box Mouse Button Actions dialog box >> Increase window size command << Decrease window size command Button Tools dialog box GErase command DErase command DVisib command Zoom command (except TeemTalk-05W & -05W32) Setup command Dialog Settings dialog box GIN Settings dialog b
Creating A Script File 55 56 57 58 59 60 About TeemTalk message box Copy Reverse command Copy Mono command Copy Mono Reverse command Close Session command Copy Reverse command TOOLBAR DEL Syntax: TOOLBAR DEL This will delete the tool button or space at the specified position in the toolbar, where is an integer that specifies the position in the toolbar where the button or space for deletion is located.
Creating A Script File is either a string containing the name of the bitmap file to use, or an integer which relates to the standard defined toolbar bitmaps in the order displayed in the Button Tools dialog box, the first being 0, the second 1, etc. can be a key macro string (as described in The Toolbar chapter), or an integer that relates to a standard command that is listed in the Button Tools dialog box.
Creating A Script File var !float 0.45 All future references to a variable are made by using its name without the $, % or ! variable type identifying characters. Note: You can convert the type of data (string, integer, floating point number) from one variable to another using conv. You can specify more than one variable name (and value) on the same line.
Creating A Script File wrt "Amount = " integer } While commands may be nested up to 32 times. WRT Syntax: WRT Displays string(s) delimited by double quote characters at the current cursor position. Variables (such as identity in the example below) can also be included. The following example will display User = followed by the contents of the variable identity and then perform a line feed (_n) and carriage return (_r).
Creating A Script File Error Numbers You can incorporate a special variable called errno in your script file which will be used to store a number indicating the result of a command (i.e. success or type of failure). The errno variable is an integer variable which is already defined as part of the script language, that is, you do not need to use the var command to include it in your script file. When the command is successful, the numeric value 0 will be assigned to errno.
Creating A Script File DIALOGUE 0 1 2 3 The command was successful. Invalid parameter in the command string. Cancel button pressed. Unable to create the dialog box. FILE 0 1 2 3 4 5 6 7 8 9 10 11 12 13 The command was successful. Invalid sub-command (e.g. must be file read and not file fred, etc.). Invalid variable for handle. Invalid integer for handle. File copy, delete, open, or rename command failed. File close command failed. Invalid variable for the file read or rget command.
Creating A Script File FTU 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 17 18 19 20 35 36 37 41 42 43 44 Transaction done. Unknown packet. Cancelled. Too many retries. File open error. File read error. File write error. File close error. Sending. Send initialize error. Send filename error. Send data error. Send end of file error. Send end of transmission error. Cannot initiate file transfer utility. File transfer quitted. Remote dialog open error. Send command error. Send error.
Creating A Script File MSGBOX 0 1 2 3 The command was successful. Invalid parameter in the command string. Invalid button combination specified. Unable to create the dialog box. PARSE 0 1 2 The command was successful. Invalid parameter in the command string. Item not located in the string. PASSWORD 0 1 2 3 The command was successful. Invalid parameter in the command string. Cancel button pressed. Unable to create the dialog box. TITLE 0 1 12-70 The command was successful. No title was specified.
Creating A Script File Script Error Trapping Functions The integrity of a script program can be checked by using the onerror, errorline and errorcode commands. These enable you to quickly find any syntax errors within the program.
Creating A Script File ID Message Displayed Meaning 1 Syntax error Illegal command or unrecognisable element. 2 Variable expected Script expected a predefined variable (see var). 3 Integer expected Script did not receive an integer or integer variable. 4 String expected Script did not receive a string or string variable. 5 Boolean expected Script did not receive any of the following: 0 or 1, No or Yes, False or True, OFF or ON.
Creating A Script File PSET & PGET Parameters & Values This section lists the parameters available for the PSET and PGET commands, together with the values they will accept or return. Abbreviations are allowed in many cases, the essential characters being shown in UPPER CASE, with the rest of the value in lower case. The actual value may be specified in upper or lower case, may have double quotes to delimit it as a string, or may be a predefined variable.
Creating A Script File GroupID ParamID (Windows 95/NT): NETwork PROTocol Port Number: Connect To Host: Close Host Connection: NETwork NETwork NETwork PORT CONNect CLOSE Value NCSI NETBIOS NETWLAT NETWTCP NEWT NSVT NWSAA OSLAN PATHWay PCNFS PCTCP TEEMTALKOSI TELAPI WINSOCK NONE SERIAL CTERM LAT MULTILAN NETBIOS TCPIP TEEMTALKOSI WINSOCK WINSOCK2 range 0 - 65535 immediate immediate Telnet Options Telnet Port Number: Telnet Name: Suppress Echo: Force Binary Mode: Force EOR Mode: For Break Send TM: For
Creating A Script File ISDN Settings Remote Dial Number: Remote Dial Sub Address: Controller Card Number: B1 Physical Layer: B2 Data Layer: B3 Network Layer: Local Dial Number: Local Dial Sub Address: Channel: B1 Baud Rate: B1 Data Bits: B1 Parity Bits: B1 Stop Bits: B2 Address A: B2 Address B: B2 Modulo (8/128): B2 Window Size: B2 XID: B3 Lowest Incoming Ch.: B3 Highest Incoming Ch.: B3 Lowest 2-Way Ch.: B3 Highest 2-Way Ch.: B3 Lowest Outgoing Ch.: B3 Highest Outgoing Ch.
Creating A Script File GroupID ParamID Value Print Screen Method: Use Printer Resolution: Auto Wrap: Centre Image On Paper: Graphics Scaling: Graphics Image: PRINTer PRINTer PRINTer PRINTer PRINTer PRINTer SCReen USERESolution AWRAP CENTRE SCALE GRMODE Auto Print Mode: Cancel Print: Eject Page: PRINTer PRINTer PRINTer AUTO CANCEL EJECTpage TEXT, GRaph boolean boolean boolean range 1 - 100 NORMal, SWAP, MONO, MONOSwap boolean not applicable not applicable Serial Settings GroupID ParamID Value Us
Creating A Script File NCSI Settings GroupID ParamID Value Baud Rate: NCSi BAUDrate Parity: NCSi PARity Flow Control: NCSi FLOWcontrol Data Bits: Stop Bits: Show Port Details: NCSi NCSi NCSi DATAbits STOPbits PORTdetail 50, 75, 110, 134, 150, 300, 600, 1200, 1800, 2000, 2400, 3600, 4800, 7200, 9600, 19200, 38400, 57600, 115200 None, Odd, Even, Mark, Space None, DTR, RTS DTRRts Xonxoff 5, 6, 7, 8 1, 1.
Creating A Script File GroupID ParamID Value EMULation EMULation MULTinational CTRLdisplay boolean boolean GroupID ParamID Value Keyboard Language: TERMinal KEYBoard LF Implies CR: CR Implies LF: Ignore Deletes: Application Keypad: Application Cursor Keys: Scroll Bar on Maximize: Report Max.
Creating A Script File Dialog Settings GroupID ParamID Burst Scroll: Auto Wrap: Dialog Indices Locked: Dialog Area Visible: Cursor Origin: DIALog DIALog DIALog DIALog DIALog BURSTscroll WRAPeol LOCKINDices DAVISible ORIGin Cursor Style: DIALog Columns: Resize Font: Rows: DIALog DIALog DIALog Dialog Area Lines: Dialog Area Buffer: Dialog Area Enabled: DIALog DIALog DIALog Value boolean boolean boolean boolean ABSolute RELative CURSortype UNDerline BLOCK COLumns 80, 132 NOFONTRESize boolean ROWS
Creating A Script File Attribute Settings Colour Selection GroupID ParamID Map Value Red: ATTRibutes Map Value Green: Map Value Blue: ATTRibutes ATTRibutes MAP##Red range 0 - 100 (where ## is colour index in range 00 to 15) MAP##Green range 0 - 100 MAP##Blue range 0 - 100 Value Screen Index: ATTRibutes BCKINDSCRN range 0 - 15 Preferences Inverse Colours: AutoColour: GroupID ParamID Value ATTRibutes ATTRibutes INVColour AUTOcolour boolean boolean ATTRIBUTE DISPLAY You can disable one or m
Creating A Script File Underline & Bold Index: Flashing Index: Flash & Bold Index: Flash & Underline: Flash, Under. & Bold: GroupID ParamID Value ATTRibutes ATTRibutes ATTRibutes ATTRibutes ATTRibutes FRGINDUNDBOLD FRGINDFLASH FRGINDFLBOLD FRGINDFLUNDER FRGINDFLUNDBOLD 0 - 15[char] 0 - 15[char] 0 - 15[char] 0 - 15[char] 0 - 15[char] Foreground Indices Inverse Display Normal Index: Bold Index: Underline Index: Underline & Bold: Flashing Index: Flash & Bold Index: Flash & Underline: Flash, Under.
Creating A Script File Keyboard Macros Keyboard macros may be specified using Tektronix key reference numbers or virtual key names. A variable can also be specified for the ParamID. GroupID Qualifier Delete All Macros: ParamID MACROs DELALL Value immediate The following commands use the Tektronix key reference numbers listed in the Key Reference Numbers appendix.
Creating A Script File Soft Buttons The ParamID setting SB#L# specifies the soft button number (SB#) which can be any number between 1 and 12 inclusive, and the level number (L#) which can be 1 to 4. For example, SB4L2 specifies soft button 4 on level 2. GroupID Buttons Visible: Program Button: Button Name: Action Locally: Default Setting: No.
Creating A Script File Current Operating System Settings GroupID ParamID Value Current Disk Drive: Current Directory: CURRent CURRent "string" A - ? Current Environment: CURRent DRIVE DIRectory PWD CWD ENVironment Get Current Time: Get Current Day: Get Current Date: Get Milliseconds Elapsed Since Windows Started: CURRent CURRent CURRent TIMe DAY FULLDATE "string" 255 chrs "string","string" max 255 chars. "string" HHMM "string" 3 chars "string" YYYYMMDD CURRent TICKcount integer (See note.
Creating A Script File GroupID ParamID Invisible Attribute: CURRent Flashing Attribute: Highlight (Bold/Dim) Attribute: CURRent CURRent Normal (No Attributes): Line Drawing Character Set (VT Modes) Character Colour: CURRent CURRent CURRent BLank SECurity FLashing BD BOLD HB HALFBright NORMal LD LINEdrawing FG Character Cell Colour: CURRent BG Value immediate immediate immediate immediate boolean BLAck BLUe RED GREen MAGenta CYAn YELlow WHite BLAck BLUe RED GREen MAGenta CYAn YELlow WHIte 12-85
Creating A Script File FTU SET & GET Parameters This section lists the parameters available for the script language FTU SET and FTU GET commands, together with the values they will accept or return. The actual value may be specified in upper or lower case, may have double quotes to delimit it as a string, or may be a previously defined variable. The list of parameters and values are shown under the following headings: GroupID ParamID identifies a group of parameters (default is CURRent).
Creating A Script File Kermit Parameter Settings Start Of Packet (S): Start Of Packet (R): Timeout Secs (S): Timeout Secs (R): Padding Count (S): Padding Count (R): Padding Char (S): Padding Char (R): EOL Char (Send): EOL Char (Receive): Quote Char (S): Quote Char (R): Packet Size (S): Packet Size (R): Checksum Type: Prompt For Filename: Local File Name: GroupID ParamID SubParamID Value PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMETER PARAMET
Creating A Script File GroupID ParamID SubParamID Value Transfer Action (S): PARAMETER ZMODEM SFILEACTION NONE NEWLONG CRCDIFF APPEND REPLACE NEWER LENGTH ABSENT Transfer Action (R): PARAMETER ZMODEM RFILEACTION as above Receive Existing (S): PARAMETER ZMODEM SFILEEXIST boolean Receive Existing (R): PARAMETER ZMODEM RFILEEXIST boolean Change .
Dynamic Data Exchange 13 Dynamic Data Exchange This chapter describes the support of dynamic data exchange (DDE) by TeemTalk. Introduction With the adoption of a standard user interface within the Microsoft Windows environment, personal computer users are becoming accustomed to the formalised methods by which keystrokes and mouse actions have a common effect, making it easier for users to become familiar with and switch between a whole range of unrelated but important applications.
Dynamic Data Exchange ● Creating compound documents, such as a word-processing document that includes a chart produced by a graphics program. Using DDE, the chart will change when the source data is changed, while the rest of the document remains the same. ● Performing data queries between applications, such as a spreadsheet querying a database application for accounts past due.
Dynamic Data Exchange DDE Terminology In order to achieve a degree of understanding of the concepts of DDE, it is important to have a grasp of some of the terminology used to describe the protocol. Two applications co-operating in a DDE link are considered to be engaged in a DDE conversation. The application that initiates the conversation is the client application; and the responding application is the DDE server application.
Dynamic Data Exchange Using The Edit Menu DDE Functions The most apparent DDE support provided by TeemTalk are the two entries in the Edit menu, DDE Row Copy and DDE Column Copy. These two functions do not directly invoke a DDE link to another application. Instead, they ensure all the information that Microsoft Excel™ would require to establish a DDE link with TeemTalk is copied to the clipboard.
Dynamic Data Exchange =szAppName|szTopicName!szItemName Therefore the Topic for the particular instance of TeemTalk under question is given between the | and the ! characters. The last piece of information required to establish a permanent data link is the item name itself. TeemTalk treats the item name as a direct reference to a position on the display area.
Dynamic Data Exchange File Transfer TeemTalk for Windows 3.1 (not Windows 95 or NT) supports DDE links with its file transfer executable, TTFLER.EXE, distributed with the standard TeemTalk package. Without getting too deep into the internal windows messages that are transmitted, the link between TeemTalk and TTFLER can briefly be summarised as follows. All data communications between the two applications are Cold links.
Dynamic Data Exchange Data Transmission Over A Slave DDE Link Once initiated, TeemTalk enters Slave mode, diverting all input from the keyboard, for example to the Client application, and permitting data to be sent to it from the Client. Data coming from TeemTalk will be sent in the form of a DDE POKE message. A suitable way of accepting this is outlined below. DDEWndProc(HWND hWnd, unsigned message, WORD wParam, LONG lParam) { . . switch (message) { . .
Dynamic Data Exchange GlobalUnlock(hPokeData); if (bRelease) { GlobalFree(hPokeData); } PostMessage( hWndPartnerDDE, WM_DDE_ACK, hWnd, MAKELONG(0x8000, atomItem) ); return; } The important call here is PartnerSentData, which actually does the processing of the received data. The lpPokeData->Value parameter, although defined in the DDE.
Dynamic Data Exchange SendPoke( HWND hwnd, HWND hWndPartnerDDE, char *szItem, int iData, char *szValue, int iValCount ) /* /* /* /* /* /* Our Window handle */ handle for partner in DDE */ String ID for transfer */ Value to be transferred */ Data to be transferred */ Number of bytes in transfer */ { ATOM atomItem; HANDLE hPokeData; DDEPOKE FAR * lpPokeData; LPSTR pTemp; /* Allocate size of DDE data header, plus the data: a string */ /* terminated by .
Dynamic Data Exchange Reading & Setting Terminal Parameters The TeemTalk for Windows 3.1 slave mode, or TeemTalk for Windows 95 or NT session DDE topic, supports the ability to set and read the user definable setup settings. The majority of settings require an integer value, but some require strings, which are handled slightly differently. The following sample code gives an outline of how to implement this. All values to identify the changeable setup parameters are #defines.
Dynamic Data Exchange case B2400: iBaud = break; case B4800: iBaud = break; case B9600: iBaud = break; case B19200: iBaud = break; } return iBaud } 2400; 4800; 9600; 19200; Example 2 Read the currently defined Answerback string and place in given buffer.
Dynamic Data Exchange Example 3 All key values are defined using key macro identifiers as documented in the Key Reference Numbers appendix. Read the keyboard macro assigned to the Shift + F6 key sequence. Note: The highlighted characters Slave in hWndSlaveDDE are only applicable to TeemTalk for Windows 3.1. They are not to be included when using Windows 95 or NT. . . char buf(128); ReadKbdMacro(141, (LPSTR)buf, . .
Dynamic Data Exchange /* Treat Key macro request as a special case */ if (MenuID == IDM_MACROS) lSetting = MAKELONG(-DataGroup,iValue); else lSetting = MAKELONG(DataGroup,MenuID); ultoa(lSetting,buf,10); aItem = GlobalAddAtom((LPSTR)buf); if (!PostMessage( hWndPartnerDDE, WM_DDE_REQUEST, hWndSlaveDDE, MAKELONG(CF_TEXT,aItem) ) ) { GlobalDeleteAtom(atomItem); return -1; } /* Wait for DDE_DATA message return with requested data */ Xfer.Parameter = TRUE; WaitForParameter(); return Xfer.
Dynamic Data Exchange /************************************************************* FUNCTION: ClientReceivedData PURPOSE: Called upon receipt of a WM_DDE_DATA *************************************************************/ void ClientReceivedData(HWND hWndDDE, HWND hWndPartnerDDE, LONG IParam) { DDEDATA FAR * lpDDEData; BOOL bRelease; char szItemName(ITEM_NAME_MAX_SIZE+1); /*If this Data is in response to a request for data */ /*clear awaiting flags etc accordingly */ if (GetConvPendingAck(hWndDDE) == REQUE
Dynamic Data Exchange Changing Parameter Settings Example 1 Set the serial communication’s port speed to a required baud rate.
Dynamic Data Exchange Example 2 Redefine the Answerback to the given string. SetAnswerback(LPSTR szAnswer, int iAnsLen) { ChangeSetting( hWnd, hWndPartner, IDM_EMUL, ANSSTRING, iAnsLen, szAnswer, iAnsLen ); } Example 3 Set the keyboard macro assigned to the Shift + F6 key sequence to Hello World. Note: The highlighted characters Slave in hWndSlaveDDE are only applicable to TeemTalk for Windows 3.1. They are not to be included when using Windows 95 or NT. . . SetKbdMacro(141, "Hello World", 11); . .
Dynamic Data Exchange ChangeSetting( HWND hWndSlaveDDE, HWND hWndPartnerDDE, int MenuID, int DataGroup, int iValue, LPSTR szChar, int iCharCount ) { DWORD lSetting; char buf[16]; lSetting = MAKELONG(DataGroup,MenuID); Itoa(iSetting,buf,10); SendPoke(hWndSlaveDDE, hWndPartnerDDE, buf, iValue, szChar, iCharCount); } This time, the call to SendPoke assumes that all used strings are NULL terminated therefore allowing the iValue parameter to reference an integer setting, as opposed to the byte count as done pre
Dynamic Data Exchange Additional DDE Functions 13-18 TOPIC ITEM DATA DDE RESULT MESSAGE System SysItems NONE REQUEST Provides a list of items, in CF_TEXT format, that can be used with the SYSTEM DDE Topic (i.e. SysItems, Topics, etc.). System Topics NONE REQUEST Provides a list of items, in CF_TEXT format, of the DDE topics supported by teemtalk (i.e. System, Session, etc.).
Dynamic Data Exchange The first four functions in the table enable interrogation of TeemTalk. The remaining functions are described in the following sections. All functions referenced with the "Session" topic can additionally be performed using a topic name relating to the relevant TeemTalk instance, i.e. TTLK1, TTLK2, etc. as discussed in the section Using The Edit Menu DDE Functions earlier.
Dynamic Data Exchange (LONG)sizeof(DDEPOKE) + sizeof(DDEMOUSEREPORT) + 2))) return; if (!(lpPokeData = (DDEPOKE FAR*)GlobalLock(hPokeData))) { GlobalFree(hPokeData); return; } MouseReport.X = Coord.x; MouseReport.Y = Coord.y; MouseReport.
Dynamic Data Exchange are received and then all of the buffered data will be dispatched to the Client DDE application that established the link. The termination characters are CR LF by default, but this can be overridden by including the following WIN.INI command in the TeemTalk command group: SessRecvTerm=character(s) where character(s) can be CRLF (default), CR, or LF. The link is terminated upon receipt of an appropriate WM_DDE_UNADVISE message by TeemTalk.
Dynamic Data Exchange This needs to be extracted from the DDEDATA message in order to read the appropriate values. One way of doing this is shown below. / **************************************************************** FUNCTION: ClientReceiveData PURPOSE: Called when client application receives WM_DDE_DATA message.
Dynamic Data Exchange The CurPosStr function is an alternative string version of CurPos. This returns a string of two three-digit decimal values for the X and Y coordinates in the form xxx,yyy. KeyStr KeyStr is a straightforward POKE of data that is treated as a key macro to be performed. More than one macro definition can be specified in the same string.
Dynamic Data Exchange DDE Link To A Visual Basic Application The following example Visual Basic application DDEDEMO creates a DDE link to two copies of TeemTalk. The link is created when the Start button is clicked. System information can be gained by using the buttons at the bottom of the screen. You can send information to TeemTalk by entering text in the box and clicking the Send button. Various items are hardcoded into this, like the name of the TeemTalk executable and the name of the script file.
Dynamic Data Exchange DDEDEMO VERSION 2.00 Begin Form Form1 Caption = “spider network ag - TeemTalk DDE Demo “ ClientHeight = 6408 ClientLeft = 1992 ClientTop = 900 ClientWidth = 6516 Height = 6828 Left = 1944 LinkTopic = “Form1” ScaleHeight = 6408 ScaleWidth = 6516 Top = 528 Width = 6612 Begin CommandButton cls Caption = “Send DDE Info” FontBold = 0 ‘False FontItalic = 0 ‘False FontName = “MS Sans Serif” FontSize = 7.
Dynamic Data Exchange FontSize FontStrikethru FontUnderline Height Index Left TabIndex Top Width = = = = = = = = = End Begin TextBox Text1 FontBold = FontItalic = FontName = FontSize = FontStrikethru = FontUnderline = Height = Index = Left = TabIndex = Top = Width = End 7.8 0 ‘False 0 ‘False 255 0 120 27 2400 735 -1 ‘True 0 ‘False “Arial” 7.
Dynamic Data Exchange FontSize FontStrikethru FontUnderline Height Index Left TabIndex Top Width = = = = = = = = = 7.8 0 ‘False 0 ‘False 255 4 5280 24 5640 735 End Begin CommandButton formats Caption = “Formats” FontBold = 0 ‘False FontItalic = 0 ‘False FontName = “MS Sans Serif” FontSize = 7.
Dynamic Data Exchange Top Width = = 5640 735 End Begin TextBox Text2 Height = 285 Left = 1080 TabIndex = 20 Top = 6000 Width = 5295 End Begin CommandButton cls Caption = “Send DDE Info” FontBold = 0 ‘False FontItalic = 0 ‘False FontName = “MS Sans Serif” FontSize = 7.
Dynamic Data Exchange Top Width = = 5280 1095 End Begin CommandButton TTstat Caption = “Start” FontBold = 0 ‘False FontItalic = 0 ‘False FontName = “MS Sans Serif” FontSize = 7.8 FontStrikethru = 0 ‘False FontUnderline = 0 ‘False Height = 255 Index = 1 Left = 120 TabIndex = 0 Top = 5280 Width = 735 End Begin Frame Rahmen1 Caption = “Session 1” FontBold = -1 ‘True FontItalic = 0 ‘False FontName = “System” FontSize = 9.
Dynamic Data Exchange Width = 975 End End Sub cls_Click (index As Integer) text2.LinkMode = 0 If index = 0 Then text2.LinkTopic = “TT07W|ttlk1” Else text2.LinkTopic = “TT07W|ttlk2” End If text2.LinkItem = “Send” text2.LinkMode = 2 text2 = text2 + Chr(13) + Chr(10) + Chr(0) text2.LinkPoke text2 = Chr(13) text2.LinkPoke text2 = “” End Sub Sub Exit_Click (index As Integer) End End Sub Sub formats_Click (index As Integer) text2.LinkMode = 0 text2.LinkTopic = “TT07W|System” text2.LinkItem = “Formats” text2.
Dynamic Data Exchange End Sub Sub status_Click (index As Integer) text2.LinkMode = 0 text2.LinkTopic = “TT07W|System” text2.LinkItem = “Status” text2.LinkMode = 2 text2.LinkRequest End Sub Sub Sysitems_Click (index As Integer) text2.LinkMode = 0 text2.LinkTopic = “TT07W|System” text2.LinkItem = “SysItems” text2.LinkMode = 2 text2.LinkRequest End Sub Sub topics_Click (index As Integer) text2.LinkMode = 0 text2.LinkTopic = “TT07W|System” text2.LinkItem = “Topics” text2.LinkMode = 2 text2.
Dynamic Data Exchange Text1(i + 12).LinkItem = “0,” + i + “,80” Text1(i + 12).
Troubleshooting A Troubleshooting This appendix provides answers to the most commonly asked questions. Problem: When I try to run TeemTalk a message appears warning me that the language DLL or file transfer utility may not be compatible. Solution: This may occur when you have more than one version of TeemTalk installed on your system and the version you are trying to run is attempting to use a DLL or file that belongs to another version. If you continue you may get unpredictable results.
Troubleshooting 4. In the Save As File Name text box, specify the name of the workspace settings file (and the directory path if different from the default) which is to store the user preference settings selected by the Saved Items options. The default filename is tt*w.wsp, where * is 05, 07 or 11, depending on your version of TeemTalk.
Troubleshooting Problem: How do I run a 4010 program?. Solution: Display the Emulation Settings dialog box and select Tek as the emulation, then display the Dialog Settings dialog box and set the Dialog Area Enabled option to 0 (zero). Problem: The text background colour is incorrect. Solution: Select the required text colour indices in the Attributes dialog box then display the Dialog Settings dialog box and select Dialog Indices Locked. Problem: The Gin cursor is too small.
Troubleshooting 2. Some overruns are caused by SMARTDRV write caching. To disable write caching but continue read caching, specify the drive letter without a + or -. For example, SMARTDRV C enables read caching but disables write caching. Note, however, that this will slow the PC down. 3. Remove the DOS=HIGH statement from CONFIG.SYS as it causes interrupts to be delayed longer. Note that this will take up precious CONVENTIONAL memory space. 4. An ill-behaved TSR may be contributing to the problem.
Virtual Key Names B Virtual Key Names This appendix lists all the supported virtual key names which enable you to include a specific key function in a user definition.
Virtual Key Names 122 Key Keyboard Additional Keys Key Function Virtual Key Name Key Function Virtual Key Name Attn Clear Cu Sel Erase EOF Ex Sel F13 - F18 VK_ATTN VK_OEM_CLEAR VK_CUSEL VK_EREOF VK_EXSEL VK_F13 - VK_F18 F19 - F24 No Name PA1 Play Reset Zoom VK_OEM_F19 - F24 VK_NONAME VK_PA1 VK_PLAY VK_OEM_RESET VK_ZOOM DEC VT220 Virtual Key Names Key Function Virtual Key Name Key Function Virtual Key Name Back Tab Break Backspace Compose Cursor Down Cursor Left Cursor Right Cursor Up Datatalk De
Key Reference Numbers C Key Reference Numbers This appendix lists the reference numbers assigned to keys on the British keyboard and mouse buttons which are used by Tek key programming commands. The following tables of reference numbers correspond to the keys listed in the left column. The key legends shown are those found on the British versions of the keyboard layouts for the different systems compatible with TeemTalk. Note that not all of the function keys are on all of the keyboards.
Key Reference Numbers BRITISH KEYBOARD KEY REFERENCE NUMBERS C-2 KEY NORM SHIFT CTRL CT/SH ALT COMPOSE DEL DELETE DO (F10) END ESCAPE HELP (F11) HOME INSERT NEXT PAUSE BR REMOVE RETURN SPACE TAB -166 -258 127 -231 -259 27 -232 -256 -255 -260 148 -257 13 32 9 -166 -264 -34 -233 -265 -37 -234 -262 -261 -266 155 -263 -49 -52 -46 -166 -270 -35 -235 -271 -38 -236 -268 -267 -272 -22 -269 -50 -53 -47 -166 -276 -36 -237 -277 -39 -238 -274 -273 -278 -29 -275 -51 -54 -48 -166 -348 -373 -360 -349 -370 -36
Key Reference Numbers BRITISH KEYBOARD KEY REFERENCE NUMBERS KEY NORM SHIFT CTRL CT/SH ALT F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 (DO) F11 (HELP) F12 F13 F14 128 129 130 131 132 133 134 135 144 -231 -232 145 146 147 136 137 138 139 140 141 142 143 151 -233 -234 152 153 154 -2 -3 -4 -5 -6 -7 -8 -9 -18 -235 -236 -19 -20 -21 -10 -11 -12 -13 -14 -15 -16 -17 -25 -237 -238 -26 -27 -28 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 0 1 2 3 4 5 6 7 8 9 48 49 50 51 52 53 54 55 56 57 41 3
Key Reference Numbers BRITISH KEYBOARD KEY REFERENCE NUMBERS C-4 KEY NORM SHIFT CTRL CT/SH ALT A B C D E F G H I J K L M N O 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -289 -290 -291 -292 -293 -294 -295 -296 -297 -298 -299 -300 -301 -302 -303 P Q R S T U V W X Y Z 112 113 114 115 116 117 118 119 120 121 122 80 81 82 83 84 85 86 87 88 89 90 16 17 18 19 20 21 22 2
Key Reference Numbers MOUSE BUTTON REFERENCE NUMBERS Button Pressed Button Pressed -155 -157 -159 -161 -163 -165 Button Released Button Released -156 -158 -160 -162 -164 -166 Button Shift + Button Button Pressed Button Pressed -167 -169 -171 -173 -175 -177 Button Released Button Released -168 -170 -172 -174 -176 -178 Ctrl + Button Ctrl + Shift + Button Programmed strings for Button Released reference numbers are transmitted by releasing the button only when GIN has been enabled for repo
Key Reference Numbers Notes C-6
Character Sets D Character Sets This appendix shows the tables of characters that are supported by TeemTalk. Introduction The following pages show the character sets that are supported when TeemTalk is in Tek Alpha or VT220 Alpha overall mode (as explained below). The mode in which each set is valid is indicated in brackets under the heading. TeemTalk can emulate either a Tek 4100 series terminal or a DEC VT220 terminal.
Character Sets To enter a control character from the keyboard, first find the displayable character equivalent by adding 64 to the decimal value of the control character in the relevant character set table. For example, the control character CR (carriage return) has a decimal value of 13. Adding 64 makes 77 which is the decimal value of the displayable character M. When the Ctrl (control) key is held down and Shift + M is pressed (or M alone if Caps Lock is on), this will generate a CR code in local mode.
Character Sets ASCII (MULTINATIONAL 7-BIT) CHARACTER SET (Tek & VT220 Alpha Modes) COLUMN R 8 7 BITS 65 O W 4321 2 3 6 7 4 5 0 0 0 0 01 00 00 0 11 11 00 101 11 00 001 010 1 0 0 0 0000 NUL 1 0001 SOH 2 0010 STX 3 0011 ETX 4 0100 EOT 5 0101 ENQ 6 0110 ACK 7 0111 BEL 8 1000 BS 9 1001 HT 10 1010 LF 11 1011 VT 12 1100 FF 13 1101 CR 14 1110 SO 15 1111 KEY: SI ESC 1 0 20 0 DLE 16 0 10 1 21 1 DC1 17 1 XON 11 2 22 2 DC2 18 2 12 3 23 3 DC3 19 3 XOFF 13 4 24 4 DC4 20 4 14 5 25 5 NAK 21 5 15 6 26 6 SYN 22 6 16 7
Character Sets DEC ADDITIONAL (MULTINATIONAL 8-BIT) CHARACTER SET (VT220 Alpha Mode) 10 11 14 15 COLUMN 12 13 BITS R 8 1 1 1 1 76 11 10 1 10 11 11 O 00 101 11 00 001 010 1 4 3 2 15 W 0 8 IND NEL SSA ESA HTS HTJ VTS PLD PLU RI SS2 SS3 9 200 128 80 201 129 81 202 130 82 203 131 83 204 132 84 205 133 85 206 134 86 207 135 87 210 136 88 211 137 89 212 138 8A 213 139 8B 214 140 8C 215 141 8D 216 142 8E 217 143 8F KEY: DCS PU1 PU2 STS CCH MW SPA EPA CSI ST OSC PM APC ESC 220 144 90 221 145 91 222 146 92 2
Character Sets NATIONAL REPLACEMENT CHARACTERS (VT220 Alpha Mode) BINARY BIT 8 7 6 5 4 3 2 1 OCTAL DECIMAL HEXADECIMAL 0 0 1 0 0 0 1 1 43 35 23 0 1 0 0 0 0 0 0 100 64 40 0 1 0 1 1 0 1 1 133 91 5B 0 1 0 1 1 1 0 0 134 92 5C 0 1 0 1 1 1 0 1 135 93 5D 0 1 0 1 1 1 1 0 136 94 5E 0 1 0 1 1 1 1 1 137 95 5F 0 1 1 0 0 0 0 0 140 96 60 0 1 1 1 1 0 1 1 173 123 7B 0 1 1 1 1 1 0 0 174 124 7C 0 1 1 1 1 1 0 1 175 125 7D 0 1 1 1 1 1 1 0 176 126 7E ASCII # @ [ \ ] ^ _ ` { | } ~ British £ @ [ \ ]
Character Sets NATIONAL REPLACEMENT CHARACTERS (Tek Alpha Mode) BINARY BIT 8 7 6 5 4 3 2 1 OCTAL DECIMAL HEXADECIMAL 0 0 1 0 0 0 1 1 43 35 23 0 1 0 0 0 0 0 0 100 64 40 0 1 0 1 1 0 1 1 133 91 5B 0 1 0 1 1 1 0 0 134 92 5C 0 1 0 1 1 1 0 1 135 93 5D 0 1 1 0 0 0 0 0 140 96 60 0 1 1 1 1 0 1 1 173 123 7B 0 1 1 1 1 1 0 0 174 124 7C 0 1 1 1 1 1 0 1 175 125 7D 0 1 1 1 1 1 1 0 176 126 7E ASCII # @ [ \ ] ` { | } ~ British £ @ [ \ ] ` { | } - Danish Norwegian # @ Æ Ø Å ` æ ø å
Character Sets LINE DRAWING CHARACTER SET (Tek & VT220 Alpha Modes) 0 COLUMN R 8 7 BITS 65 O W 4321 00 00 0 0000 NUL 1 0001 SOH 2 0010 STX 3 0011 ETX 4 0100 EOT 5 0101 ENQ 6 0110 ACK 7 0111 BEL 8 1000 BS 9 1001 HT 10 1010 LF 11 1011 VT 12 1100 FF 13 1101 CR 14 1110 SO 15 1111 KEY: SI ESC 2 1 00 01 0 20 0 DLE 16 0 10 1 21 1 DC1 17 1 XON 11 2 22 2 DC2 18 2 12 3 23 3 DC3 19 3 XOFF 13 4 24 4 DC4 20 4 14 5 25 5 NAK 21 5 15 6 26 6 SYN 22 6 16 7 27 7 ETB 23 7 17 10 30 8 CAN 24 8 18 11 31 9 EM 25 9 19
Character Sets ADDITIONAL CHARACTER SET (Tek Alpha Mode) COLUMN R 8 7 BITS 65 O W 4321 2 3 6 7 4 5 0 0 0 0 01 00 00 0 11 11 00 101 11 00 001 010 1 0 0 0 0000 NUL 1 0001 SOH 2 0010 STX 3 0011 ETX 4 0100 EOT 5 0101 ENQ 6 0110 ACK 7 0111 BEL 8 1000 BS 9 1001 HT 10 1010 LF 11 1011 VT 12 1100 FF 13 1101 CR 14 1110 SO 15 1111 KEY: SI ESC 1 0 20 0 DLE 16 0 10 1 21 1 DC1 17 1 XON 11 2 22 2 DC2 18 2 12 3 23 3 DC3 19 3 XOFF 13 4 24 4 DC4 20 4 14 5 25 5 NAK 21 5 15 6 26 6 SYN 22 6 16 7 27 7 ETB 23 7 17 10 30
Host Command Summary E Host Command Summary This appendix lists the host and Tek Primary Setup commands that are valid in each terminal emulation mode. TeemTalk-specific commands are listed at the back. The following conventions are used in this command list: Spaces in a command are for clarity only and are not to be entered as part of the command. A space character that is part of the command will be shown as SP.
Host Command Summary E-2 TEXT ERASURE HOST Erase text to end of line Erase text to end of screen ESC K ESC J GENERAL HOST Cancel current ESC sequence & display error Sound audible tone CAN BEL MODE SELECTION HOST PRIMARY SETUP Select terminal emulation mode (Host * 0 = Tek, 1 = ANSI, 2 = Edit, 3 = VT52, 5 = VT100N, 6 = VT220N, 7 = VT220M7, 8 = VT220M8) Select numeric keypad application mode Select numeric keypad normal mode Select VT100 mode ESC % ! * CODE * ESC = ESC > ESC < PRINTING HOST
Host Command Summary ANSI VT100 Mode CHARACTER ATTRIBUTES Assign * attribute(s) to following characters Default attributes Bold on Underline on Flashing on Inverse video on Half intensity off Underline off Flashing off Inverse video off Black foreground Red foreground Green foreground Yellow foreground Blue foreground Magenta foreground Cyan foreground White foreground White foreground 0 1 4 5 7 22 24 25 27 30 31 32 33 34 35 36 37 39 ESC [ * m White background 40 Red background 41 Red background 42 Yello
Host Command Summary E-4 Enable cursor Enable cursor autowrap Index cursor (move down one line) Insert FF character & advance cursor Line feed Move cursor down * lines Move cursor down one line Move cursor left * columns Move cursor one column left Move cursor right * columns Move cursor to beginning of next line Move cursor to left margin of current line Move cursor to line (*l) column (*c) Move cursor to line (*l) column (*c) Move cursor to next tab stop Move cursor up * lines Reverse index cursor (move
Host Command Summary Reset terminal emulation Restore saved features Save features (char.
Host Command Summary ANSI VT220 Mode When TeemTalk is in VT220 7 or 8 bit mode, the following commands will be executed in addition those listed previously for ANSI VT100 mode.
Host Command Summary Tek Mode ◆ Applies to TeemTalk-11W and TeemTalk-11W32 only. ● Applies to TeemTalk-05W & -05W32, TeemTalk-07W & TeemTalk-07W32.
Host Command Summary E-8 Enter Alpha mode Enter Marker mode Enter Vector mode Exit TeemTalk to DOS Insert FF & advance cursor Line feed Lock keyboard Lock viewing keys for zoom/pan Read command file from disk Reset TeemTalk Run a program Save parameters Save parameters in non-volatile file ◆ Select 4107 or 4111 emulation Select auto carriage return Select auto line feed Select code for SYN Select continuous/intermittent bell tone Select control code action or display Select error message display level Sel
Host Command Summary Select segment for GIN cursor ◆ Select tablet area Set GIN stroke report frequency Specify GIN cursor movement Specify GIN key characters Specify GIN stroke report key characters Specify tablet type ESC I C * ESC I N * ESC I F * ESC I U * ESC I Z * ESC I H * ESC I B * GINCURSOR * TBSIZE * GINFILTERING * GINRATES * GINTABCHARS * GINSHEADERCHARS * GRAPHICS ALPHA TEXT HOST PRIMARY SETUP Select alpha text font (G0) Select alpha text font (G1) Select underline mode Specify 4014 alpha t
Host Command Summary Select font for stroke precision Select graphics text control precision Select graphics text slant angle Select size of graphics text Specify graphics text string rotation angle Specify graphics text writing direction ESC M F * ESC M Q * ESC M A * ESC M C * ESC M R * ESC M N * GTFONT * GTPRECISION * GTSLANT * GTSIZE * GTROTATION * GTPATH * HOST COMMUNICATIONS HOST PRIMARY SETUP Direct host data to specified port Ignore delete code Select bypass mode Select end of line characters S
Host Command Summary ◆ Select port hardcopy quantity ◆ Select response to full page Send print data to file Set image orientation of hardcopy Specify colour resolution of data Specify density of hardcopy Specify hardcopy repaint number Specify printer type Specify size of colour hardcopy ESC Q N * ESC K P * ESC A U * ESC Q O * ESC Q B * ESC Q U * ESC Q T * ESC Q D * ESC Q A * HCORIENT * HCDATARES * HCDENSITY * HCREPAINT * HCINTERFACE * HCSIZE * PIXEL COMMANDS HOST PRIMARY SETUP Begin pixel operations
Host Command Summary SEGMENTS HOST PRIMARY SETUP Add primitives to segment Assign pick ID nos. to graphics primitives Assign segment to class Call segment as subroutine Copy segment into current segment def. Delete pick groups from segment Delete segment Delete segment part Enable segment visibility End definition of segment End segment & start higher segment def. End segment & start lower segment def.
Host Command Summary W3220 Mode GENERAL OPERATION HOST Disable local echo Enable local echo Select bypass mode Transfer data between aux & host ports Transfer data from aux to host port ESC N ESC M ESC CAN ESC X ESC L GIN MODE HOST Define polygon & enable polygon dragging Enable line dragging Request cursor position report Select GIN cursor position Terminate dragging ESC | R D * ESC | R E ESC | R A ESC ENQ ESC | R @ ESC | R F GRAPHICS TEXT HOST Move graphics text cursor down Move graphics text c
Host Command Summary Select terminal emulation mode (Host * 0 = Tek, 1 = ANSI, 2 = Edit, 3 = VT52, 5 = VT100N, 6 = VT220N, 7 = VT220M7, 8 = VT220M8) ESC % ! * CODE * POINT PLOT MODE HOST PRIMARY SETUP Select marker type ESC | M * SURFACES & COLOURS HOST Assign colour to overlay/alternate set index Assign colour to overlay/principal set index Assign colour to overlay/principal/alt.
Host Command Summary TeemTalk Additional Commands MOUSE REPORTING IN ALPHANUMERIC APPLICATIONS Arm TeemTalk for mouse operation where *arg is of the format: bit 7 - 3 bit 2 bit 1 bit 0 ESC [ = *arg g 00110 when set enables motion events when set enables button release events when set enables button press events If all bits are cleared then any outstanding arming request is cancelled. The mouse remains armed until cancelled.
Host Command Summary Notes E-16
Index Index Symbols 80/132 Column Display Character Sets D-1 Additional (DEC) D-4 Additional (Tek) D-8 ASCII D-3 Control characters D-1 Line Drawing D-7 National (Tek Alpha) D-6 National (VT220 Alpha) D-5 National characters (DEC) D-5 National characters (Tek) D-6 7-36 A Answerback String 7-34 ASCII File Transfer 8-2 AT Keyboard Mapping DEC VT220 mode 3-2 Tek, VT100 & Edit mode Auto Wrap 3-3 Colour Selection Text attributes 7-35 B Baud Rate Selection 7-27 Block Mode Cursor positioning 4-4 Bu
Index Disable mouse editing 11-25 Disable remote printing 11-28 Disable scroll bar 11-20 Disable status bar 11-21 Disable system menu 11-18 Disable title bar 11-19 Disable toolbar 11-20 Disable window frame 11-19 Flashing for all sessions 11-22 Format 11-5 FTP include subdirectories 10-14 FTP progress bar 10-14 FTP time out 10-14 Hide script parameters 11-15 LK450 keyboard 11-25 Mouse cursor style 11-25 Network host name 11-8 Network input queue size 11-10 Network protocol 11-8 New session warning message 1
Index Scroll bar on maximized 7-32 Text attributes 7-40 Window size in rows 7-36 DVisib Button 2-17 Dynamic Data Exchange 13-1 Floating Button Palette 5-1 Adding buttons 5-5 Assigning functions 5-6 Redefining buttons 5-5 Removing buttons 5-8 Using 5-1 Flow Control E 7-27 Edit Menu 7-21 Fonts Effect of window resize Edit Mode Selecting FTF File Transfer 2-9 Editing Text 7-21 Emulation Settings 7-25 Emulation Workspace 2-21 Enhanced AT Keyboard Mapping DEC VT220 mode 3-4 Tek, VT100 & Edit mod
Index Tek mode E-7 VT220 mode E-6 VT52 mode E-1 W3220 mode E-13 Host Communications Bypass cancel character 7-33 End of message characters 7-34 End of message frequency 7-34 Getting started 2-3 NCSI settings menu 7-29 Report max.
Index Telnet EOR options 11-12 Text redraw delay 11-23 TSR identifier 11-10 Use Windows default printer 11-27 Window fills screen 11-17 Window maximized 11-17 Window minimized 11-17 Window subtitle 11-21 Window title 11-20 ZMODEM startup 11-15 Insert Mode Indicator 2-19 Operation 3-1 PowerStation mapping 3-1 Using LK450 11-25 Virtual key names B-1 Keywords 4-4 L LK250/450 Keyboard Mapping DEC VT220 mode 3-6 Tek, VT100 & Edit mode 3-7 Loading TeemTalk 2-1 K Local Echo Kermit 8-1 Local/On Line Button
Index New Connection dialog box Telnet options 7-19 TSR identifier 11-10 7-9 R RDPXY New Connection Dialog Box 7-9 RDT 12-57 RDTXY O 12-57 Reference Numbers Keyboard keys C-2 Mouse buttons C-5 On Line/Local Button 2-19 On Line/Local Setting 12-57 7-28 Overstrike Mode Indicator 2-19 P Replay File 7-14 Report Maximum line length Reset Terminal Parity Selection 7-27 Patterns Button 7-9 Resizing the Window Menu bar << & >> 2-14 Window border & corners 2-18 Pause/Resume Button 2-19 Predef
Index DIRFIRST 12-28 DIRNEXT 12-29 DSP 12-30 ELSE 12-30 ENCRYPT 12-31 ERRORCODE 12-31 ERRORLINE 12-31 EXIT 12-31 FACT 12-31 FILE CLOSE 12-32 FILE COPY 12-32 FILE DELETE 12-32 FILE OPEN 12-32 FILE READ 12-33 FILE RENAME 12-33 FILE RGET 12-34 FILE SEEK 12-34 FILE STAT 12-34 FILE WPUT 12-35 FILE WRITE 12-35 FSTR 12-36 FTP CD 12-36 FTP CONNECT 12-37 FTP COPYDLG 12-37 FTP DIRFIRST 12-38 FTP DIRNEXT 12-39 FTP DISCONNECT 12-39 FTP GET 12-40 FTP PUT 12-40 FTP RM 12-41 FTP SET 12-41 FTP TOOL 12-41 FTP WD 12-41 FTU C
Index WAIT 12-65 WHILE 12-65 WRT 12-66 Script File Arithmetic operators 12-14 Command descriptions 12-23 Command summary 12-19 Creating 12-1 Error numbers 12-65, 12-67 Examples 12-4 Initiating using Command line option 12-2 Escape sequence 12-3 File menu option 12-2 Initialization file command 12-1 Key or button definition 12-2 PPF file command 12-1 Numeric operators 12-14 PSET & PGET settings 12-73 Random number generator 12-56, 12-58 String operators 12-16 Syntax conventions 12-12 Scroll Arrows 2-16 Scrol
Index T Tek Mode Host command summary Selecting 2-9 Virtual key names B-2 Telnet Initialization commands Telnet Options VT100 Mode Host command summary Selecting 2-9 E-7 11-12 7-19 Terminal Emulation Selecting 2-9, 7-25 Terminal ID Setting Terminal Reset 7-9 Terminal Settings Text Cursor VT52 Mode Host command summary Selecting 2-9 E-6 E-1 W 7-26 Terminal Server Settings files on clients VT220 Mode Host command summary Selecting 2-9 Virtual key names B-2 E-3 2-7, 7-6 7-31 2-22 W3220 Mode
Index X XMODEM 8-1 XMODEM-1K 8-1 Y YMODEM Batch 8-2 Z ZMODEM 8-2 Zoom Button 2-17 Index-10