background image

7-16

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.

Selecting 

Graphics

 will print all the data in the TeemTalk client area, both graphics

and text, when the 

OK

 button is clicked. The hardcopy output will be an almost exact

representation of the client area. Note that a graphics print will take a lot longer than
a text print.

The 

Use Printer Resolution

 option is available when 

Graphics

 print is selected.

This will force a dot for dot print of the screen on the printer and generally produces a
small print, depending on the printer resolution. When this option is not selected
(unchecked), TeemTalk will try and print as large an image as possible on the printer's
paper. Both methods can print in landscape or portrait format, depending on the
current setup of the printer.

The 

Centre Image on Paper

 option is available when 

Graphics

 print is selected.

This will ensure that the graphics image is printed centrally on the paper.

The 

Scaling

 option is available when 

Graphics

 print is selected. This enables the

image to be scaled to suit your preference. When the 

Use Printer Resolution

 option

is selected, you can scale the image up, and when unselected you can scale the image
down. (Scaling up when 

Use Printer Resolution

 is 

not

 selected may result in loss of

some of the image.)

The 

Graphics Image

 option is available when 

Graphics

 print is selected. This

enables you to specify how the graphics image is to be printed. Clicking the arrow
button next to the text box will cause four print options to be displayed.

Summary of Contents for -05W

Page 1: ...TeemTalk 05W 07W 11W User s Guide...

Page 2: ...les Cosgrove Milton Keynes MK19 7JJ Tel 44 0 1908 267111 Fax 44 0 1908 267112 Email teem info neoware com USA Neoware Inc 3200 Horizon Drive King of Prussia PA 19406 Tel 1 610 277 8300 Fax 1 610 771 4...

Page 3: ...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 Teem...

Page 4: ...mark of NetManage Inc OSLAN is a registered trademark of ICL PathWay is a trademark of the Wollongong Group Inc PC TCP is a registered trademark of FTP Software Inc PowerStation is a trademark of KEA...

Page 5: ...tion 2 3 Making A Network Host Connection 2 4 Creating A Connection Template 2 6 Using Environment Variables To Locate Settings Files 2 7 Selecting A Connection Template 2 7 Selecting The Terminal Emu...

Page 6: ...ntrol Characters 3 13 Key Combinations Sequences 3 13 Entering Command Lines 3 14 Changing The Window Focus 3 14 Initiating A Script File 3 14 Action Locally Or Transmit To Host 3 14 Default Key Defin...

Page 7: ...Dialog Boxes 7 3 Default Settings 7 4 Creating A Connection Template 7 5 Using Environment Variables To Locate Settings Files 7 6 Selecting A Connection Template 7 7 Menu Descriptions 7 8 File Menu 7...

Page 8: ...ion 8 19 ICL FTF FileTransfer 9 1 Configuration Requirements 9 1 Sending Receiving Files 9 2 Transfer Options 9 4 Remote Host Options 9 7 FTP FileTransfer 10 1 The Transfer Procedure 10 1 Menu Toolbar...

Page 9: ...17 Keyboard Mouse 11 25 Printing 11 27 Creating A Script File 12 1 Introduction 12 1 Initiating A Script File 12 1 Assigning Values To Variables 12 3 Script File Examples 12 4 Syntax Conventions 12 1...

Page 10: ...13 24 Troubleshooting A 1 Virtual Key Names B 1 Standard Virtual Key Names B 1 DEC VT220 Virtual Key Names B 2 Tek Virtual Key Names B 2 Key Reference Numbers C 1 Character Sets D 1 Host Command Summ...

Page 11: ...ssions with different hosts can be conducted over serial RS232 lines or local area networks LANs including DECnet TCP IP and Novell TeemTalk incorporates an impressive range of additional features for...

Page 12: ...ows and the contents of this User s Guide Chapter 2 Getting Started Describes how to use TeemTalk and configure it for compatibility with your hardware and the application Chapter 3 Keyboard Configura...

Page 13: ...as logging onto remote computers Chapter 13 Dynamic Data Exchange Describes the support of dynamic data exchange DDE by TeemTalk Appendix A Troubleshooting Provides answers to the most commonly asked...

Page 14: ...isk in a filename or directory name must be substituted with the number indicating the version of your TeemTalk software unless specified otherwise For example 07 for TeemTalk 07W 4 When references to...

Page 15: ...d Press Ctrl Tab until the icon is selected then press Return The screen will display a copyright message then the TeemTalk window shown overleaf in which the DEC VT100 emulation is running by default...

Page 16: ...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...

Page 17: ...list box containing all the possible settings The Services option specifies the port or network host node which TeemTalk is to communicate with This is a text box with an associated drop down list box...

Page 18: ...ent to the host and bright green when data is being received from the host Making A Network Host Connection To connect to a network host select the protocol required in the Type list box TeemTalk for...

Page 19: ...ottom 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...

Page 20: ...to be saved by checking the boxes next to the relevant options 3 In the Settings File text box specify the name of the terminal emulation settings file and the directory path if different from the def...

Page 21: ...nstead of changing files stored on the server which would affect all clients Each client must use the same user environment variable name to specify the directory path for the TeemTalk settings file s...

Page 22: ...hen it is loaded or reset by clicking the required description checking the Save As Default check box then clicking the OK button To delete a connection template select the description then click the...

Page 23: ...nu A brief description of the emulation options follows VT52 and VT100 modes enable you to run applications written for the DEC VT52 and VT100 terminals respectively Tek mode provides compatibility wi...

Page 24: ...ith software designed to drive the Westward 3220 terminal Tablet Mouse Configuration If you are using a tablet or mouse you must specify the type of device and the port to which it is connected before...

Page 25: ...onfigure TeemTalk is by using the various dialog boxes displayed from the Settings menu Some of these are discussed in this chapter and all of them are described in detail in the Setup Menus chapter P...

Page 26: ...l Bar Scroll Arrow Emulation Workspace Selection Cursor Soft Buttons Window Border Window Corner Toolbar Menu Bar Status Bar Scroll Box Minimize Button TheTitle Bar The title bar displays the name of...

Page 27: ...will restore the window to its previous size Note You can cause the window to be minimized maximized or fill the display area when TeemTalk is first started by using an initialization file command or...

Page 28: ...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 al...

Page 29: ...lbar via the Button Tools dialog box Refer to the chapter entitled The Toolbar for a complete description The toolbar can be pulled away from the menu bar and floated on the display by positioning the...

Page 30: ...ous scrolling The scroll box allows you to quickly move through the buffer when it is dragged up or down the scroll bar by placing the pointer over it holding down the left mouse button then moving th...

Page 31: ...will erase all the text contained in the dialog area buffer DVisib This will toggle the visibility of the dialog area on and off Cancel This will halt terminal activity by resetting bypass Gin marker...

Page 32: ...umbered view the current view ViewDn Not supported by TeemTalk 05W This will save the state of the current view then make the next lower numbered view the current view RstView Not supported by TeemTal...

Page 33: ...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 brig...

Page 34: ...ect of resizing the window is determined by the Resize Font and Rows options in the Dialog Settings dialog box When Resize Font is selected default resizing the window will cause TeemTalk to search a...

Page 35: ...alphanumeric text is directed to the graphics area providing an emulation of the Tektronix 4014 terminal which does not support a separate dialog area In any other terminal emulation mode the dialog...

Page 36: ...tyle option in the Dialog Settings dialog box Refer to the Setup Menus chapter for details The Selection Cursor The selection cursor is a vertical bar which is displayed when the mouse pointer is move...

Page 37: ...ons 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 wh...

Page 38: ...2 24 Getting Started Notes...

Page 39: ...section You can remap the keyboard as required and functions that may not be represented on the keyboard can be assigned to specific keys TeemTalk for Windows 3 1x supports the Digital LK250 and LK45...

Page 40: ...OFF _ ENTER ESC BREAK FIND PREV HOME SELECT NEXT INSERT NUM LOCK SCRL LOCK All unmarked keys function as indicated by the legends on the keycaps Shift F14 Shift HELP Shift F12 Shift F13 Shift F11 DO F...

Page 41: ...3 3 Keyboard Configuration AT Keyboard Layout Tek VT100 Edit Mode Mapping All unmarked keys function as indicated by the legends on the keycaps F1 F2 F3 F4 F3 F4 F1 F2...

Page 42: ...nds on the keycaps Bracketed functions are generated when used in conjunction with Control Alt key usage Normal key usage INSERT HERE SELECT PREV IOUS RE MOVE FIND NEXT ENTER 7 8 9 4 5 6 1 2 3 HOME NU...

Page 43: ...ion All unmarked keys function as indicated by the legends on the keycaps Alt key usage Normal key usage Except Tek Mode In conjunction with Control in Tek Mode INSERT HERE SELECT PREV IOUS RE MOVE FI...

Page 44: ...by the legends on the keycaps Bracketed functions are generated when used in conjunction with Control Alt key usage Normal key usage _ INSERT HERE SELECT PREV IOUS RE MOVE FIND NEXT ENTER HOLD F19 F6...

Page 45: ...MOVE FIND NEXT ENTER F1 F3 F4 F2 7 9 8 4 6 5 1 3 2 0 Keys marked have no function All unmarked keys function as indicated by the legends on the keycaps Alt key usage Normal key usage Except Tek Mode...

Page 46: ...lat437 bin vkd250 386 decus250 dll US LK250 Keyboard Driver decuk250 dll UK LK250 Keyboard Driver decda250 dll Danish LK250 Keyboard Driver decfi250 dll Finnish LK250 Keyboard Driver decfr250 dll Fren...

Page 47: ...the keyboard nationality will revert back to that specified in the International dialog box When running TeemTalk for Windows 95 or NT the factory default keyboard nationality is determined by the sy...

Page 48: ...al emulation mode This dialog box is displayed by selecting Keyboard Macros in the Settings menu Two keyboard layouts are displayed The upper layout corresponds to the keyboard you are using which wil...

Page 49: ...ing emulated but you cannot specify that pressing the keys Alt F1 together will perform the Insert key function First set the Keyboard Action option to Map Key click the key in the lower layout showin...

Page 50: ...tton to activate the change and close the dialog box Note that you will now have two keys which emulate the same function the default mapping and the mapping you have just specified You can either lea...

Page 51: ...key to perform the function of a combination or sequence of keys For example you can cause the F1 key to perform the same function as pressing the keys Alt F4 together or pressing the keys F2 then F3...

Page 52: ...racters For example to program the F4 key so that the TeemTalk 07W window is selected when the key is pressed you would enter the following in the relevant text box tt07w tt07w is the window class nam...

Page 53: ...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 Keyboard mappi...

Page 54: ...r you wish to compose in the left hand column of the following tables The two characters shown in the right hand column are the keys that are used to create it Several alternatives may be given for ge...

Page 55: ...S or s 0 or S 0 National includes s O or S o National Multinational x o or X O x 0 or X 0 c o or C O c 0 or C 0 a or A _ 2 3 p or P 1 o _ or O _ A A A A degree sign superscript 2 superscript 3 micro s...

Page 56: ...lex O tilde O umlaut O slash U grave U acute O E diphthong DEC Multinat A or A degree sign A E in order u or U in order O E in order U U or U Y or Y s s a a a a a or a e e e e or e i i i i or i n o U...

Page 57: ...figuration COMPOSE CHARACTER SEQUENCES continued o o o o or o o o acute o circumflex o tilde o umlaut o slash o e in order o e diphthong DEC Multinat u u u u or u y or y u grave u acute u circumflex u...

Page 58: ...3 20 Keyboard Configuration Notes...

Page 59: ...Send Keyword Unassigned Normal Shift Control Control Shift Alt Double Click Left Button Select Extend Selection Action Hotspot Select Rectangle Send CR Select Word Redefining The Mouse Buttons TeemTal...

Page 60: ...scribed in the Setup Menus chapter The setting of the Highlight When Actioned option determines whether or not a visual indication is given that a function has been actioned when a hotspot is clicked...

Page 61: ...be copied hold down the Left mouse button then drag the cursor across to the end of the required text and release the mouse button To extend the selection hold down the Shift key and click the Left m...

Page 62: ...ic to the emulation For example in VT200 mode you can click on the word Help displayed on the screen and TeemTalk will execute the function associated with the Help key Refer to the Hotspots chapter f...

Page 63: ...hical representations of their functions These buttons are predefined with functions found in the setup menus and are described in the next section You can redefine all the buttons and add or remove b...

Page 64: ...se functions are listed below and described in the Setup Menus chapter Displays the New Connection dialog box for making a serial or network host connection Displays the Open Session dialog box This e...

Page 65: ...e bottom of the TeemTalk window Displays the Mouse Button Actions dialog box for assigning up to six functions to each mouse button Increases the size of the window to the next font size up while reta...

Page 66: ...5 4 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...

Page 67: ...dding Button Bitmaps Clicking the arrow button in the Current Tool box will display a list box showing all the button bitmapss in the order displayed in the toolbar together with their functions The C...

Page 68: ...d with some of the functions listed in the setup menus These enable you to quickly action a command or display a setup dialog box without having to display the menu first The Commands list box display...

Page 69: ...rtual key name in the order required enclosing each virtual key name with the and characters Each enclosed virtual key name must immediately follow the previous enclosed virtual key name with no space...

Page 70: ...display A button tool is removed by selecting it in the Current Tool list box then clicking the Delete Current button To remove the toolbar and floating button palette from the display deselect the V...

Page 71: ...ords for each mode These keywords relate to key functions specific to the emulation For example in VT200 mode you can click on the word Help displayed on the screen and TeemTalk will execute the funct...

Page 72: ...the hotspot definition file is as follows Each hotspot definition is entered on a separate line and definition lines are grouped under headings which specify the terminal emulation mode in which they...

Page 73: ...log on to a host Login hostname M Decimal values are entered as three digit numbers immediately preceded by an underscore character Values with only two digits must be preceded by a zero For example t...

Page 74: ...t when it is clicked another instance of TeemTalk 07W32 is run you would enter the following TT07W C PROGRAMFILES TEEMTALK TT07W EXE ChangingThe Window Focus You can define a keyword to change the cur...

Page 75: ...7 1 Setup Menus 7 Setup Menus This chapter describes the options available in the setup menus and dialog boxes Selecting Closing Menus The following menus can be displayed from the menu bar...

Page 76: ...e to the current mode of operation and cannot be selected An example of this is the Cancel Print option in the File menu This can only be selected after a print command has been initiated Options that...

Page 77: ...ethods for making selections within the dialog boxes Options preceded by a check box such as Auto Wrap in the example above are true or selected when the box contains a or X and false or unselected wh...

Page 78: ...hrough the options left to right top to bottom or Shift Tab to move backwards until the required option is highlighted or surrounded by a dotted rectangle or both Press the Spacebar to toggle check bo...

Page 79: ...ettings File text box specify the name of the terminal emulation settings file and the directory path if different from the default which is to store settings only affecting the terminal emulation The...

Page 80: ...s may be used to locate settings files on the client PC This means that each client may use a different setup configuration reading and saving settings locally instead of changing files stored on the...

Page 81: ...close and 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...

Page 82: ...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 in...

Page 83: ...ich TeemTalk is to communicate with This is a text box with an associated drop down list box You can either make a selection from the list box or enter a valid host name or internet address in the tex...

Page 84: ...nection chapter in the Networking Guide for a description of each protocol supported and for any additional configuration required prior to making a connection The Services list box in the New Connect...

Page 85: ...s can be disabled using initialization file commands or command line options Refer to the Initialization Commands chapter for details Open Session This enables you to select a connection template for...

Page 86: ...name of the terminal emulation settings file and the directory path if different from the default which is to store settings only affecting the terminal emulation The default filename is tt w nv where...

Page 87: ...dialog boxes Clicking the Edit button will open a text editor window in which the contents of the TeemTalk private profile file containing startup settings will be displayed This enables you to make c...

Page 88: ...ion which replaces the Replay File option while a file is being replayed File Transfer This option provides access to the file transfer utility Refer to the File Transfer chapter for details FTP This...

Page 89: ...ou want to bypass the Print Manager deselect the Use Print Manager option The FormFeed Terminator and Translate National Characters options will become available Selecting the FormFeed Terminator opti...

Page 90: ...produces a small print depending on the printer resolution When this option is not selected unchecked TeemTalk will try and print as large an image as possible on the printer s paper Both methods can...

Page 91: ...when auto print mode is on Auto print mode causes each line of data to be transmitted to the printer when the cursor moves to a new line as a result of a carriage return line feed vertical tab or for...

Page 92: ...the script file has been specified and any parameters entered click the OK button to run the script file To cancel a script file select the Cancel Script option which replaces the Run Script option wh...

Page 93: ...ese settings can be specified in the TeemTalk private profile file Refer to the Initialization Commands chapter for details Port Number This enables you to specify the Telnet port number The default T...

Page 94: ...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 tha...

Page 95: ...he data again A tick will be displayed next to the option when it is selected and the Paste command will be disabled The DDE Row Copy and DDE Column Copy options enable selected data to be copied in a...

Page 96: ...Microsoft Excel DDE messages will be exchanged between TeemTalk and the application in which the commands were pasted and if acknowledged positively by both parties an automatic update will be perfor...

Page 97: ...gain 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 Th...

Page 98: ...ings 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 Attributes for assigning...

Page 99: ...chieved by selecting this option and setting the Dialog Area Enabled option in the Dialog Settings dialog box to 0 Edit mode provides compatibility with software designed to drive the DEC VT100 termin...

Page 100: ...k in response to a terminal identification request from the host when in any mode except Tek Multinational Factory default Unselected The setting of this option determines whether the national or mult...

Page 101: ...ach transmitted character If the number of Data Bits is 8 set this option to None Selecting Odd will cause an eighth bit to be added with a value of 1 if the previous 7 bits add up to an even number a...

Page 102: ...ll not be sent to or received from the host Data typed on the keyboard will be displayed on the screen or actioned if a control command is typed Local Echo Factory default Unselected The setting of th...

Page 103: ...t this option to None Selecting Odd will cause an eighth bit to be added with a value of 1 if the previous 7 bits add up to an even number and 0 if the previous 7 bits add up to an odd number Selectin...

Page 104: ...r of stop bits sent for each transmitted character Show Port Details Factorydefault Unselected By default the Services list box will show the server name and general service e g VAX or modem but not t...

Page 105: ...e TeemTalk is running and save it so that it is reassserted each time TeemTalk is loaded or reset When you exit TeemTalk the keyboard nationality will revert back to that specified in the Internationa...

Page 106: ...unctions when pressed Note On some keyboards the keypad acts as both a numeric keypad and a cursor key block depending on the setting of some modifier such as the Num Lock key This option only affects...

Page 107: ...t ASCII character LF can be entered by typing the characters and J representing the keys Ctrl J which when pressed together would generate the LF code Decimal values are entered as three digit numbers...

Page 108: ...ncy Factory default High The end of message frequency specifies how often TeemTalk inserts end of line strings into reports that it sends to the host Terminal Factory default 4207 The setting of this...

Page 109: ...n the right margin is reached When unselected on reaching the right margin the last character position will be overwritten by every new character received until a command positions the cursor at a dif...

Page 110: ...y default 80 This option enables you to specify a width of 80 or 132 columns for the dialog area Resize Font Factory default Selected This option determines the effect on displayed text when the windo...

Page 111: ...a The number of lines specified must be in the range 2 through 100 Dialog Area Enabled Factory default 1 The dialog area is a region on the screen in which text stored in the dialog area buffer can be...

Page 112: ...s The following list includes the baud rate data bits stop bits and parity settings that are automatically set for the tablet type selected MM1201 Summagraphics MM1201 9600 8 1 Odd MM1812 Summagraphic...

Page 113: ...g 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 Map...

Page 114: ...n be displayed as standard e g underlined only as a particular colour only e g green without the underline or with both attribute and a specific colour e g underlined and green The Attribute options a...

Page 115: ...s bold instead of a substitute colour Use Colours When selected the currently selected screen element will be displayed in the colours highlighted in the Foreground and Background colour palettes For...

Page 116: ...f the 16 colours displayed in the Foreground and Background colour selection boxes To do this select the colour you wish to change in one of the selection boxes then click the Set Colour button to dis...

Page 117: ...altered by dragging the triangular pointer up or down the vertical bar to the right When you have finished click OK to apply the change or Cancel to cancel it and return to the Attributes dialog box...

Page 118: ...ital s LK250 or LK450 or KEA Systems PowerStation depending on the type specified within Microsoft Windows Setup for your PC Note When an LK250 LK450 or PowerStation keyboard driver is loaded the SYST...

Page 119: ...the Insert key function First set the Keyboard Action option to Map Key click the key in the lower layout showing the legend of the function required then click the key in the upper layout which you...

Page 120: ...o activate the change and close the dialog box Note that you will now have two keys which emulate the same function the default mapping and the mapping you have just specified You can either leave the...

Page 121: ...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...

Page 122: ...can program a key 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 characte...

Page 123: ...k would convert to the euro symbol Keyboard mapping is also configurable to allow the input to the application to be similarly cross mapped The cross mapping configuration is specified in the Euro Cur...

Page 124: ...ing the Attached option There are four soft button levels Level 1 is displayed by default Each level consists of twelve programmable buttons providing a combined total of 48 programmable buttons You c...

Page 125: ...on number and name The definition can be up to 80 characters long The following sections describe various ways in which you can define the buttons When you have finished defining a particular level of...

Page 126: ...ion as pressing a sequence of keys one after the other enter each virtual key name in the order required enclosing each virtual key name with the and characters Each enclosed virtual key name must imm...

Page 127: ...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 scr value1 value2 Refe...

Page 128: ...Cursor Select Move Cursor The Select function will select all text from the start position to the finish position working left to right across the entire width of the display whereas the Select Rectan...

Page 129: ...ree button mouse 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 but...

Page 130: ...is list When you add a new button to the toolbar it is positioned to the left of the button currently selected in this list Select the current tool then close the list box by clicking the arrow button...

Page 131: ...of the functions listed in the setup menus Refer to the chapter entitled The Toolbar for details These enable you to quickly action a command or display a setup dialog box without having to display t...

Page 132: ...t 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 te...

Page 133: ...ground while you continue to use other Windows applications Protocols Supported Kermit Kermit is a packet oriented file transfer protocol which enables binary files to be transferred between 7 and 8 b...

Page 134: ...atically start a file transfer Note XMODEM YMODEM Batch and ZMODEM require a communication setting of 8 data bits 1 stop bit and no parity These settings will automatically be used for the transfer af...

Page 135: ...col you wish to use in the Transfer Protocol list box 4 If you want to change the default parameter settings for the chosen transfer protocol click the relevant Parameters button and make your selecti...

Page 136: ...ote Using the Search function will cause all filenames displayed in the list box to be automatically selected 9 Select the file to send by clicking on the filename in the left list box to highlight it...

Page 137: ...tings for the chosen transfer protocol click the relevant Parameters button and make your selections in the displayed dialog box then click the OK button The ASCII protocol requires the Discard partia...

Page 138: ...XMODEM XMODEM 1K or ASCII protocol a dialog box will be displayed in which you specify the name of the file to be received All the other protocols do not require this as the filename is provided by th...

Page 139: ...YES button will cause transfer of the current file to be cancelled by sending a Cancel File message Selecting Cancel Batch then clicking YES will cause transfer of the current file and all remaining f...

Page 140: ...cted When this option is selected if no packets have been received for a certain period of time then a retry will be attempted The protocol will be exited if the number of retries exceeds that specifi...

Page 141: ...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...

Page 142: ...ttings in this dialog box affect how outbound and inbound packets are treated These settings may need to be reflected by the remote Kermit as well Start of Packet Factory default CTRL A i e SOH This s...

Page 143: ...is useful when operating on noisy lines or transferring large packets Prompt For Filename Factory default Unselected This option enables you to specify a different file name for each received file Whe...

Page 144: ...CR Translation Factory default CR This determines how carriage return characters are interpreted When set to None all carriage returns are removed before data is transferred When set to CR carriage r...

Page 145: ...am 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 transmissi...

Page 146: ...n be modified to reflect the changes under the heading TeemTalkFTU ZMODEM by checking the Save Settings box then clicking the OK button The zmodemStartup private profile file command or zm command lin...

Page 147: ...me name in the destination directory Replace will cause the contents of the transfer file to replace that of the file with the same name in the destination directory Newer will cause files to be trans...

Page 148: ...the amount of data still waiting on the network This option enables you to overcome the problem by limiting the amount of data that is stored on the network before waiting for an acknowledgement from...

Page 149: ...on is not initially dimmed then the information is not essential for the command to function A window will display the results of commands If the results are extensive an Edit window will display them...

Page 150: ...ed If nothing is entered then clicking OK will cause the remote commands understood by the host to be displayed Space This enables you to specify the area for the host to display disk usage informatio...

Page 151: ...r example to display all the files with the extension exe type exe then click the Dir cd button To change the current directory scroll through the available directories in the Directories list box the...

Page 152: ...8 20 File Transfer Notes...

Page 153: ...cribed in the OSLAN section of the Network Connection chapter in the Networking Guide The LocalTSAP RemoteTSAP and RemoteLSAP entries for each host must be as shown in the example below nigelpc Remote...

Page 154: ...Host Name list box 4 If you need to provide Authorisation for the remote host enter the required User Name and User Password Note that the password will be echoed as a series of asterisks 5 In the Loc...

Page 155: ...le to the remote host click on the Start Transfer button If you are receiving a file from the host click on the Start Responder button Note that clicking Start Responder will also enable the remote ho...

Page 156: ...ecord implies new line action No actions are implied by embedded characters EOR NL FEs End of record implies new line action The formatting actions CR LF NL BS FF NP may also be represented by embedde...

Page 157: ...eout Interval s Factory default 600 This specifies the timeout in seconds that FTF uses to decide when a transfer should be abandoned Horizontal Tab Settings Factory default Unspecified This text box...

Page 158: ...Factorydefault 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...

Page 159: ...s being sent to VME this will cause a new generation to be created if the file already exists Replace The file must already exist on the remote system and it will be replaced by the file to be transfe...

Page 160: ...his text box enables you to enter a file password if one is required before you are allowed to do a file transfer Information Message This text box enables you to enter a message that may be logged in...

Page 161: ...keyword value keyword value The relevant keywords are ALL influences the placement of new fully catalogued files PRE B Transfer records map on to physical blocks R Transfer records map on to CTM recor...

Page 162: ...9 10 ICL FTF File Transfer Notes...

Page 163: ...erring 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...

Page 164: ...ou wish to connect to on some systems you may be required to enter the Account as well Specify the type of operating system used by the remote host by selecting one of the following from the System li...

Page 165: ...nd list box otherwise the home directory is displayed by default The right hand list box will display the contents of the remote host directory which will be the home directory by default if you did n...

Page 166: ...ls ASCII is generally used for document files and Binary for executables or non volatile files Tenex is a specialist format for transfer to Tenex type machines 7 Select the file s or directories to be...

Page 167: ...files and any subdirectories from the current position in the directory tree without waiting for further confirmation then return you to the next directory up Clicking Yes will transfer all the files...

Page 168: ...6 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 windo...

Page 169: ...ay of performing functions or displaying dialog boxes without having to use the menus R e m o t e C h a n g e M o d e C r e a t e D i r e c t o r y R e n a m e F i l e D e l e t e F i l e s C o p y F...

Page 170: ...lected Clicking Yes to All will cause all selected files to be deleted without waiting for additional confirmation Clicking No will cancel the named file while allowing the next file in the selection...

Page 171: ...n 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...

Page 172: ...ically select the appropriate operating system and this setting will be suitable in most cases Note that some DOS based FTP servers cannot automatically be resolved so it is advisable to select DOS wh...

Page 173: ...ame click on the name make the relevant changes then click the Add button then OK to the same name You can delete a session name and its associated settings by selecting the name then clicking the Del...

Page 174: ...WINDOWS directory Windows 95 TTW32FTP INI in the WIN95 directory Windows NT TTW32FTP INI in the WINNT directory Refer to the FTP Initialization File Entries section later in this chapter for more inf...

Page 175: ...FTP INI in the WINNT directory The format of the entries is shown in the example below Sessions hp9700 hp9700 ses VaxStation VaxStation ses hp9700 ses Host hp9700 Login root Password 101e002e5f Accoun...

Page 176: ...ogress bar display using the b command line option as follows b0 No progress bar b1 Default progress bar updated for every byte ASCII or block binary read b2 Update time and progress bar every 0x7ffff...

Page 177: ...ptions The following sections describe how to enter commands in the initialization file and on the command line then describe all the valid initialization commands Note The default settings of functio...

Page 178: ...INI files A default private profile file is automatically created when TeemTalk is installed TeemTalk 05W TT05W INI TeemTalk 07W TT07W INI TeemTalk 11W TT11W INI You can create additional files to mee...

Page 179: ...his has the name TT W INI where is the particular version of TeemTalk installed as follows TeemTalk 05W32 TT05W INI TeemTalk 07W32 TT07W INI TeemTalk 11W32 TT11W INI You can create additional files to...

Page 180: ...ault set as specified by a command line option Each command must be entered on a separate line under this heading Note that the commands are not case sensitive The following default command group exam...

Page 181: ...er 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...

Page 182: ...ate Profile File Suppress Telnet echo option TelnetEchoSuppress yes no Telnet binary options TelnetBinary yes no Telnet EOR options TelnetEOR yes no Telnet break send TM TelnetSendBreakTM yes no Telne...

Page 183: ...ex dfindex Bold font in full screen workspace UseBoldFont on bf Flashing enabled in all sessions FlashInBackground on fb Text redraw delay TextRedrawDelay ms rdms Support multiple surfaces planeMaskin...

Page 184: ...For example to specify the host as pericom and the protocol as CTERM the command line for TeemTalk 07W32 would look like this C PROGRAM FILES TEEMTALK TT07W EXE pericom cterm Network Protocol Initiali...

Page 185: ...n additional initialization file command that has to be included Load Winsock On Startup Initialization File LoadWinsockOnStartup on Command Line lw Default Setting Off These commands will initialize...

Page 186: ...ier than the default specified in the WIN INI file to enable another instance of TeemTalk to use a different network protocol for example you need to include the i command line option immediately foll...

Page 187: ...ause TeemTalk to immediately perform the required option Disable New Session Warning Message Box Initialization File sessionWarning off Command Line os Default Setting Enabled A warning message is dis...

Page 188: ...the host It must be placed under the Sessions heading in the TeemTalk private profile file Telnet EOR Options Private Profile File TelnetEOR Yes or No Command Line Not applicable Default Setting Not...

Page 189: ...mTalk 07W commands was headed window1 in the WIN INI file the command for actioning this set of commands instead of the default tt07w set would be nwindow1 When entering groups of TeemTalk commands in...

Page 190: ...tory path using this command Path For Workspace Settings File WIN INI File WSPath directory Command Line Not applicable Default Setting TEEMTALK This command applies to TeemTalk for Windows 3 1x If yo...

Page 191: ...hown in the Set Get Parameters Values section in the Creating A Script File chapter For example the value Yes is returned with the essential character Y in uppercase while the other characters are in...

Page 192: ...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...

Page 193: ...ll window elements if enabled title bar soft buttons etc Workspace Fills Screen When Loaded Initialization File windowSize FullScreen Command Line f Default Setting Not applicable These commands will...

Page 194: ...window Disable Close Window Items Initialization File MenuCloseItem off Command Line mt Default Setting on These commands will remove the Close window option from the Control System menu and in Window...

Page 195: ...Menu Off EditMenu Off SettingsMenu Off Factory Off ClipboardText Off Emulation Off Reset Off ClipboardGraphics Off Serial Off NewConnection Off DDERowCopy Off Terminal Off OpenSession Off DDEColumnCop...

Page 196: ...nd Line sb Default Setting on These commands will remove the scroll bar from the window Window Title Initialization File title title Command Line t title Default Setting TeemTalk TT W where is 05 07 o...

Page 197: ...buttons at the same time if required All levels are accessible even if not all are displayed levels stored off screen can be scrolled into view by clicking the Level button You can specify how many s...

Page 198: ...Modes 80 Cols 132 Cols 23 x 12 21 x 11 19 x 10 17 x 9 15 x 8 13 x 7 12 x 7 12 x 6 11 x 6 9 x 5 7 x 4 6 x 3 23 x 7 21 x 6 19 x 6 17 x 5 15 x 4 13 x 4 12 x 4 12 x 3 11 x 3 9 x 3 7 x 2 6 x 2 16 x 8 14 x...

Page 199: ...PC must have a display adaptor that supports 256 colour mode and your system must be running in this mode in order for multiple surfaces to be supported The command line option can also be used to spe...

Page 200: ...size Command Line smsize Default Setting 256 kilobytes These commands specify the amount of available segment memory in 1 kilobyte blocks The minimum segment memory size that can be specified is 256...

Page 201: ...I beam cursor These commands enable you to specify the style of the mouse cursor displayed by default in the TeemTalk window The values 0 through 10 correspond to the styles shown in the table below...

Page 202: ...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...

Page 203: ...efault printer by default instead of its own default printer Use Print Manager Initialization File UsePrintManager 0 1 Command Line Not applicable Default Setting 0 This command enables you to specify...

Page 204: ...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 Comma...

Page 205: ...Script File The script file can be initiated in any of five ways using an initialization file command command line option from the File menu user defined key or button or remotely using an escape sequ...

Page 206: ...le to initiate the script file named LOGON the command line for TeemTalk 07W would read as follows C TEEMTALK TT07W EXE scLOGON UsingThe File Menu The Run Script option in the File menu displays a dia...

Page 207: ...the script file to be run For example myscript scr value1 value2 etc Each value within the parentheses must be separated by a comma with no spaces in between The script decoder stores the number of va...

Page 208: ...log box in order to connect to a remote host The hcmp command allows you to wait until specific character s are received EXACTLY from the host The number before the string specifies how many seconds t...

Page 209: ...Level 1 as log on and cause the script logon to be invoked when the left mouse button is clicked on this soft button This is because the command which we programmed into this button included the delim...

Page 210: ...T 102 key keyboard for WordPerfect pset macro VK_F1 vt__f7 pset macro s VK_F1 vt__pf1 vt__f7 pset macro c VK_F1 vt__pf2 vt__f7 pset macro a VK_F1 vt__pf3 vt__f7 pset macro c VK_PRIOR vt__pf2 vt__f18 2...

Page 211: ...round brackets PSET MACRO VK_F1 c TeemTalk tt07w exe To change the window focus window class name include it within quotes within angle brackets PSET MACRO VK_F2 _034tt07w_034 Note The decimal value o...

Page 212: ...open the Excel Spreadsheet Expenses xls_n_r dde execute open h excel excelcbt expenses xls channel1 if errno wrt Open spreadsheet failed_n_r goto lab2 dde poke RequestedInformation R1C1 R1C6 channel2...

Page 213: ...s 1 VAR files VAR message HRCV HOLD GOSUB lab2 IF success 0 GOTO lab1 GOSUB lab3 IF success 0 GOTO lab1 DIALOGUE File Transfer Send Filename files IF errno GOTO lab1 IF files GOTO lab1 GOSUB lab4 IF s...

Page 214: ...g remote Kermit to server failed 1 reply RETURN Remote Send a filename using Kermit lab4 LET success 1 FTU INITIATE FTU SET TRANSFER KERMIT IF errno LET success 0 MSGBOX Could not set TRANSFER mode to...

Page 215: ...OX 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 HOW REMOTE IF errno LE...

Page 216: ...l consists of alphanumeric characters immediately followed by a colon but note that the label must not begin with a number otherwise it will be treated as a line number by the program For example star...

Page 217: ...ions As some ASCII control characters are used frequently within a script file for example LF line feed and CR carriage return special abbreviations may be used instead of their decimal values The lis...

Page 218: ...tion The operator takes on one of two guises depending on how it is used It is interpreted as a simple subtraction operator in a command such as Data 4 2 which would set the value stored in Data to 2...

Page 219: ...down to the nearest integral value For example var Int var Float Int Float 5 0 2 wrt Float result of 5 0 2 Float _n_r wrt Int result of 5 0 2 Int _n_r exit would print the two lines Float result of 5...

Page 220: ...will successfully manipulate strings These are as follows Copying Strings These operators will copy one string either onto the end of another or copy one string to another For example var String Hello...

Page 221: ...ativity Left to Right unary Right to Left Left to Right Left to Right Left to Right Left to Right Right to Left The above table summarises the rules for precedence and associativity of operators avail...

Page 222: ...in angle brackets For example DIALOGUE title caption variable Each parameter indicator must be substituted with the relevant information as specified by the description for the command So for the exa...

Page 223: ...ator seed SWITCH Compare value with cases perform command if matched WHILE Perform the following while specified condition is true CLIPBOARD CLIPBD APPEND Append specified string to the clipboard CLIP...

Page 224: ...ing palette TOOLBAR HIDE Remove toolbar from display TOOLBAR INS Insert button tool or space at specified position WRT Display variable or string at cursor position ERROR TRAPPING ERRORCODE Return pro...

Page 225: ...CMP Enter terminal emulation and wait for string from host HGET Get character from host and place in variable HRCV Specifies treatment of received host characters KEYBOARD CHARACTERS FUNCTIONS INP Dis...

Page 226: ...g specified item and place in variables PACK Remove redundant spaces in string PACKTAB Reduce multiple spaces tabs to a single tab PUT Send variable or string to host RSTR Copy number of characters fr...

Page 227: ...T label If the system flag is set to TRUE the program branches to the line with the specified label If the label does not exist the program continues with the next line CAPTURE Syntax CAPTURE filespec...

Page 228: ...tially contain carriage returns line feeds and tabs CLIPBD WRITE Syntax CLIPBD WRITE string This command will open the clipboard write the data contained in the string or variable to the clipboard the...

Page 229: ...sful or FALSE if failed DDE EXECUTE Syntax DDE EXECUTE instructions channel This command specifies a list of instructions that the DDE partner should perform where instructions is either a string deli...

Page 230: ...s unsuccessful channel will have a value of 0 or where indicates the number of multiple sessions that would have been started If ddelist is specified and the channel variable is then ddelist will cont...

Page 231: ...d by the dde initiate command otherwise this is omitted The following example will request that data contained in cells located at row 1 column 1 through row 2 column 3 inclusive is to be placed in th...

Page 232: ...on to the top left corner of the screen in pixels These can be integers or variables The following example will display a dialog box titled User containing a text box with the prompt Enter your name a...

Page 233: ...ing variable see var which will store the name of the file This is the only variable that must be specified the others are optional size is a previously defined string or integer variable which will s...

Page 234: ...e following line s if a previously specified if condition was not true For example if integer 3 goto routine1 else goto routine2 If more than one command line is to be associated with else insert a li...

Page 235: ...ing back to normal characters The Error Numbers section lists the possible error numbers for this command ERRORCODE Syntax ERRORCODE variable This command specifies the type of error code that will be...

Page 236: ...fied by the string or string variable filespec Refer to the Error Numbers appendix for a list of possible error numbers for this command FILE OPEN Syntax FILE OPEN variable filespec operation This com...

Page 237: ...eger for mat the decimal value of the first two characters will be assigned to it length is the number of characters to be read if the variable is in string format If the variable is in integer format...

Page 238: ...to occur where handle is the integer variable specified by the file open command and used to identify the file position defines the approximate position in the file as start current or end which may b...

Page 239: ...well as modtime You can use this command to check for the existence of a file For example to check the existence of the file myfile tmp you could specify the following file stat myfile tmp if errno 13...

Page 240: ...indicates the text alignment C centred L left aligned R right aligned new is a predefined string variable see var which will contain the formatted string orig is a string or variable containing the te...

Page 241: ...advisable to select DOS when you know the target server is based on a DOS machine VAX UCX applies to versions higher than V2 Only choose Other if none of the other selections work Any of the login pa...

Page 242: ...ore the mode modtime is a previously defined string variable which will store the time of the last modification uname is a previously defined string or integer variable which will store the user name...

Page 243: ...gname is a previously defined string or integer variable which will store the group name Note that if you require a value which follows one or more that are not required you will still need to supply...

Page 244: ...VAX system The following example will set the transfer mode to binary and transfer the file yourfile tmp ftp get binary yourfile tmp Refer to the Error Numbers section later in this chapter for a list...

Page 245: ...LOCAL variable FTP WD REMOTE variable This FTP file transfer command will get the local or remote working directory and place it in a previously defined string variable Refer to the Error Numbers sect...

Page 246: ...etting is DEL i e decimal 127 then 127 will be returned Refer to the Error Numbers section later in this chapter for a list of possible error numbers for this command FTU INITIATE Syntax FTU INITIATE...

Page 247: ...mote Operations The following is an example of how you would get a file from a remote host ftu set remote get this sets the remote option ftu set how remote this sets the transfer method ftu start my...

Page 248: ...this chapter for a list of possible error numbers for this command Note The remote finish bye and logout commands will ignore the string associated with ftu start GETINI Syntax GETINI section entry va...

Page 249: ...the line with the specified label If the label does not exist the program continues with the next line HCMP Syntax HCMP delay string1 string2 Enter the terminal emulation and wait for the first occur...

Page 250: ...hget char Gets one character from the host hget str 5 Gets five characters from the host hget str 5 10 Gets five characters from the host timeout after 10 seconds The system flag will be set to FALSE...

Page 251: ...following the last command line For example if integer 3 inc integer goto routine1 else goto routine2 The if command may be used on the same line as else for example if N 1 X 2 else if N 2 X 4 else X...

Page 252: ...ollowing characters typed from the keyboard to the host until the Enter or Return keys are pressed where integer is an actual integer or an integer variable which enables or disables the keyboard ente...

Page 253: ...sed to retrieve each keystroke in turn from the input queue so that it can either be processed accepted or rejected by the script program A string can be intercepted by placing this command in a loop...

Page 254: ...and directory path if required enclosed by double quotes or the name of a string variable containing the application name You can cause the application to run in a minimized state when launched by in...

Page 255: ...be copied where the first character in the string is 1 If this value is greater than the number of characters in the string then the destination variable will include pad ded spaces so that it matches...

Page 256: ...command will copy a number of characters from within a string and place them in a variable where variable is a predefined string variable see var which will store the copied characters string is the s...

Page 257: ...sult string This command will remove redundant spaces between ASCII characters in a string together with any spaces and tabs before and after the string and place the resulting string in a variable re...

Page 258: ...ption entry x y This command enables you to display a simple dialog box for password entry where keyboard entered text is displayed as asterisks The box will have a specified title contain two buttons...

Page 259: ...the parameter ID Refer to the section entitled PGET PSET Parameters Values at the end of this chapter for a complete list of group ID s parameter ID s and values that will be returned Note that the va...

Page 260: ...hree digit decimal value of the ASCII character preceded by an underscore character Values with only two digits must be preceded by a zero For example the decimal value of CR is 13 so this would be en...

Page 261: ...elve characters from the cursor position to be assigned to the variable called name you would enter the following rdt name 12 RDTXY Syntax RDTXY variable row column count This causes the program to re...

Page 262: ...where variable is a predefined string variable see var which will store the copied characters string is the source string from which characters are to be copied number is the number of characters to...

Page 263: ...he initializa tion file This may be omitted if it is the default file WIN INI Windows 3 1 or TT07W INI Windows 95 or NT The following example will set the protocol setting in the Windows 3 1 WIN INI f...

Page 264: ...than one value on the same line by separating each value by a comma and or space If the value of the variable matches the case value then the commands on the following line s will be performed comman...

Page 265: ...e displayed in the title bar of the main window The specified title can be a string delimited by double quotes or a variable An invalid title will set the errno error number variable to 1 TOOLBAR ADD...

Page 266: ...5W 05W32 27 Def View command except TeemTalk 05W 05W32 28 Overview command except TeemTalk 05W 05W32 29 Reset command 30 Clear command 31 Help Index dialog box 32 Capture File dialog box 33 Replay Fil...

Page 267: ...ude any spaces in the count TOOLBAR FIX Syntax TOOLBAR FIX This will fix the toolbar under the menu bar TOOLBAR FLOAT Syntax TOOLBAR FLOAT This will cause the tool buttons to be displayed in a floatin...

Page 268: ...r variable containing the characters to be converted to uppercase VAR Syntax VAR name string VAR name integer VAR name floating point number Specifies one or more variable names for storing one of thr...

Page 269: ...ber 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 t...

Page 270: ...plays 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...

Page 271: ...mmand was successful 1 Invalid parameter in the command string 2 Cannot empty the clipboard possibly because someone else has opened it 3 Failed to close the clipboard CLIPBD READ 0 The command was su...

Page 272: ...mmand 9 Invalid string size for file write command 10 Write error file write or wput command 11 Invalid position type for file seek command 12 Seek error file seek command 13 Could not supply statisti...

Page 273: ...transfer quitted 18 Remote dialog open error 19 Send command error 20 Send error 35 Cancelled all transfer protocols except Kermit 36 Timed out all transfer protocols except Kermit 37 Receive error al...

Page 274: ...d 3 Unable to create the dialog box PARSE 0 The command was successful 1 Invalid parameter in the command string 2 Item not located in the string PASSWORD 0 The command was successful 1 Invalid parame...

Page 275: ...T 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 label will cause the program to go to the li...

Page 276: ...that had not been assigned to a program line or the label was invalid Refer to the description of labels in the Syntax Conventions section 10 Index out of range An index given to a string command e g...

Page 277: ...ntirely in uppercase use the su command line option or ScriptUppercase on initialization file command The list of parameters and values are shown under the following headings GroupID identifies a grou...

Page 278: ...work PORT range 0 65535 Connect To Host NETwork CONNect immediate Close Host Connection NETwork CLOSE immediate Telnet Options GroupID ParamID Value Telnet Port Number NETwork TELNETPORT range 0 65535...

Page 279: ...0 255 B2 Modulo 8 128 NETwork ISDNB2MODULO 0 or 1 B2 Window Size NETwork ISDNB2WINDOWSIZE 0 255 B2 XID NETwork ISDNB2XID 0 65535 B3 Lowest Incoming Ch NETwork ISDNB3LIC 0 65535 B3 Highest Incoming Ch...

Page 280: ...ings GroupID ParamID Value Use Serial Port HOST USE immediate Host Port HOST PORT COM1 COM4 16 bit COM1 COM8 32 bit None Baud Rate HOST BAUDrate 16 bit 50 75 110 134 150 200 300 1200 1800 2400 4800 96...

Page 281: ...ion Settings GroupID ParamID Value Save Keyboard Macros SESSion SAVEMacros boolean Save Soft Buttons SESSion SAVESoftbuttons boolean Save Attributes SESSion SAVEAttrs boolean Save Window Metrics SESSi...

Page 282: ...TERMinal AUTOLF boolean Ignore Deletes TERMinal IGNoredeletes boolean Application Keypad TERMinal APPLKEYpad boolean Application Cursor Keys TERMinal APPLCURSor boolean Scroll Bar on Maximize TERMina...

Page 283: ...DIALog COLumns 80 132 Resize Font DIALog NOFONTRESize boolean Rows DIALog ROWS range depends on font size resolution Dialog Area Lines DIALog DALines range 2 rows Dialog Area Buffer DIALog DABuffer r...

Page 284: ...e I Disable inverse attribute F Disable flashing attribute U Disable underline attribute For example to make characters with the underline and bold attributes appear on the screen with the colour assi...

Page 285: ...es FRGINDINVFLUNDBOLD 0 15 char Background Indices Normal Display GroupID ParamID Value Normal Index ATTRibutes BCKINDNORM 0 15 char Bold Index ATTRibutes BCKINDBOLD 0 15 char Underline Index ATTRibut...

Page 286: ...key name string max 80 Shifted Key MACROs Shift key name string max 80 Control Key MACROs Ctrl key name string max 80 Control Shift Key MACROs Ctrl Shift key name string max 80 Alt Key MACROs Alt key...

Page 287: ...layed BUTTons SHOWlevel 1 to 4 Top Level BUTTons LEVel 1 to 4 Level Title BUTTons L TITle string max 7 Note The Program Button qualifier COMmand is optional Mouse Button Actions The asterisk in the Pa...

Page 288: ...ParamID Value Test If Keyboard Locked CURRent KBDLock boolean Test If Screen On Hold CURRent HLDSCR boolean Screen Visible CURRent SCReen boolean Menu Bar Visible CURRent MENU boolean Scroll Bar Visi...

Page 289: ...ediate Highlight Bold Dim Attribute CURRent BD BOLD HB HALFBright immediate Normal No Attributes CURRent NORMal immediate Line Drawing Character Set CURRent LD VT Modes LINEdrawing boolean Character C...

Page 290: ...in one of the following formats if not specifically given immediate no value required 0 or 1 returned boolean 0 or 1 No or Yes True or False OFF or ON string a control character e g CR or its decimal...

Page 291: ...SMAXPKTLEN integer Packet Size R PARAMETER KERMIT RMAXPKTLEN integer Checksum Type PARAMETER KERMIT BLOCKCHECK range 1 3 Prompt For Filename PARAMETER KERMIT REQFILENAME boolean Local File Name PARAME...

Page 292: ...ring Window Size PARAMETER ZMODEM SWINDOW integer Escape Control Codes PARAMETER ZMODEM ESCCONTROLS boolean Kermit Remote Operations GroupID ParamID Value How To Transfer HOW SEND immediate RECEIVE im...

Page 293: ...epository of information that requires direct involvement of the user to initiate and complete transfer of text or graphics data Such a means of transferring information is completely manual in its op...

Page 294: ...interest PRICES The resulting DDE conversation is used to request quotes on specific stocks 2 Excel broadcasts the application and topic names to all DDE applications currently running in the system...

Page 295: ...c that is exchanged between applications Values for the data item can be passed from the server to the client or from the client to the server Once a DDE conversation has begun the client can establis...

Page 296: ...as DDE formulae and more importantly as formulae that would provide data links to TeemTalk Negotiation then goes on in the form of hidden windows messages between Excel and TeemTalk and eventually the...

Page 297: ...TeemTalk document name matches that of the DDE Topic Name Once the client receives the WM_DDE_ACK it will send a WM_DDE_ADVISE message to TeemTalk Depending upon the information provided by the clien...

Page 298: ...so all input to TeemTalk is ignored except for that sent to it via the DDE link which will then be directed on to the host This situation continues until the File Transfer Utility sends a message to T...

Page 299: ...tch message case WM_DDE_POKE ClientReceivedPoke hWnd HWND wParam lParam break ClientReceivedPoke HWND hWnd HWND hWndPartnerDDE LONG lParam HANDLE hPokeData DDEPOKE FAR lpPokeData ATOM atomItem char sz...

Page 300: ...a NULL The function returns TRUE if successful or FALSE if not Note that upon receipt of a FALSE return ClientReceivedPoke will send a negative DDE ACK message back to TeemTalk to reflect the failure...

Page 301: ...nted by by DDEPOKE Value 1 if hPokeData GlobalAlloc GMEM_MOVEABLE GMEM_DDESHARE LONG sizeof DDEPOKE iValCount sizeof int 2 return if lpPokeData DDEPOKE FAR GlobalLock hPokeData return lpPokeData fRele...

Page 302: ...onverted using the Windows SDK function GlobalGetAtomName will result in the appropriate string It is essential that once converted to a string the Atom is deleted via a call to DeleteAtom in order to...

Page 303: ...eak return iBaud Example 2 Read the currently defined Answerback string and place in given buffer GetAnswerback LPSTR szAnswer int iAnsLen ATOM aAnswer int iStrLen aAnswer ATOM GetSetting hWnd hWndPar...

Page 304: ...NT char buf 128 ReadKbdMacro 141 LPSTR buf 127 ReadKbdMacro int iKeyMacro Key to be redefined LPSTR szKbdMacro Pointer to redefinition string int iMacroLen Max allowed Length of szMacroString ATOM aMa...

Page 305: ...Parameter TRUE WaitForParameter return Xfer Data The WaitForParameter function is not documented but basically waits in a loop monitoring the windows messages until a WM_DDE_DATA message appears that...

Page 306: ...PendingAck hWndDDE NONE KillTimer hWndDDE hWndPartnerDDE if lpDDEData DDEDATA FAR GlobalLock LOWORD lParam lpDDEData cfFormat CF_TEXT Negative ACK PostMessage hWndPartnerDDE WM_DDE_ACK hWndDDE MAKELON...

Page 307: ...t Baud int BaudID switch iBaud case 110 BaudID B110 break case 300 BaudID B300 break case 600 BaudID B600 break case 1200 BaudID B1200 break case 2400 BaudID B2400 break case 4800 BaudID B4800 break c...

Page 308: ...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 14...

Page 309: ...ard macros to be wholly defined whilst at the same time limiting the number of functions required to implement the Slave link Terminating The Slave DDE Link To terminate the link requires a WM_DDE_TER...

Page 310: ...DDE Topic i e SysItems Topics etc Provides a list of items in CF_TEXT format of the DDE topics supported by teemtalk i e System Session etc Provides a list of items in CF_TEXT format of the Clip board...

Page 311: ...lication i e host The data structure passed across a DDE link between two co operating applications is defined in the DDE H file supplied as part of the Windows SDK as follows typedef struct tagDDEPOK...

Page 312: ...e sent in a format appropriate to TeemTalk s current mode of operation For example when TeemTalk 07W is in W3220 mode the reports would be in Westward 3220 format whilst in Tek mode the reports would...

Page 313: ...appropriately Note that this is specified to accept strings of data which means that NULL characters cannot be dispatched as they are interpreted to terminate the string The entire Execute string mus...

Page 314: ...CURSINF lpDdeCursInf BOOL bRelease BOOL bAck if lpDDEData DDEDATA FAR GlobalLock LOWORD lParam lpDDEData cfFormat CF_TEXT PostMessage hwndServerDDE WM_DDE_ACK hwndClientDDE MAKELONG 0 HIWORD lParam Ne...

Page 315: ...T F4 A KeyStr must be terminated with a CR LF NULL sequence to keep in line with the CF_TEXT data format Note however that these three characters will not get dispatched through to the host KeyPress K...

Page 316: ...licked 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...

Page 317: ...FontBold 0 False FontItalic 0 False FontName MS Sans Serif FontSize 7 8 FontStrikethru 0 False FontUnderline 0 False Height 255 Index 0 Left 2760 TabIndex 29 Top 2400 Width 1575 End Begin CommandButto...

Page 318: ...th 6015 End repeat last section with the following changes Index 17 16 15 14 13 12 11 5 4 3 2 1 0 TabIndex 14 13 12 11 10 9 8 7 6 5 4 3 1 Top 4440 4200 3960 3720 3480 3240 1800 1560 1320 1080 840 600...

Page 319: ...e 0 False Height 255 Index 2 Left 4440 TabIndex 23 Top 5640 Width 735 End Begin CommandButton topics Caption Topics FontBold 0 False FontItalic 0 False FontName MS Sans Serif FontSize 7 8 FontStriketh...

Page 320: ...Height 255 Index 4 Left 2760 TabIndex 18 Top 5280 Width 1575 End Begin CommandButton ttscr Caption Run TT script FontBold 0 False FontItalic 0 False FontName MS Sans Serif FontSize 7 8 FontStrikethru...

Page 321: ...rame Rahmen1 Caption Session 1 FontBold 1 True FontItalic 0 False FontName System FontSize 9 6 FontStrikethru 0 False FontUnderline 0 False Height 2295 Left 120 TabIndex 2 Top 0 Width 6255 End Begin F...

Page 322: ...nd Sub Sub formats_Click index As Integer text2 LinkMode 0 text2 LinkTopic TT07W System text2 LinkItem Formats text2 LinkMode 2 text2 LinkRequest End Sub Sub ftp_Click index As Integer text2 LinkMode...

Page 323: ...t2 LinkTopic TT07W System text2 LinkItem Topics text2 LinkMode 2 text2 LinkRequest End Sub Sub ttscr_Click index As Integer text2 LinkMode 0 If index 0 Then text2 LinkTopic TT07W ttlk1 Else text2 Link...

Page 324: ...13 32 Dynamic Data Exchange Text1 i 12 LinkItem 0 i 80 Text1 i 12 LinkMode 1 Next i End If End Sub...

Page 325: ...attempt to make a host con nection 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...

Page 326: ...que 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 bu...

Page 327: ...ialog box Problem Characters are being lost over serial interfaces Solution The problem is a result of a data overrun in the serial I O controller on the communications board of the PC As characters a...

Page 328: ...gs you could try are listed below Check that you are using the Windows versions of EMM386 HIMEM SYS and SMARTDRV and not the DOS versions Don t run multiple disk caching programs In CONFIG SYS set FIL...

Page 329: ...LOCK Comma VK_COMMA Less Than Sign VK_OEM_102 Compose Character VK_COMPOSE Page Down VK_NEXT Control left VK_CONTROL Page Up VK_PRIOR Control right VK_RCONTROL Paste VK_PASTE Copy VK_COPY Pause VK_PAU...

Page 330: ...PF1 PF4 VT_PF1 VT_PF4 Cursor Up VT_UP Previous Page VT_PREV Datatalk VT_DATATALK Print VT_PRINT Delete VT_DELETE Remove VT_REMOVE Do F16 VT_DO Return VT_RETURN Enter VT_ENTER Scroll Down VT_PANDOWN E...

Page 331: ...are on all of the keyboards The reference numbers for control keys on other national keyboards will be the same as shown for the British keyboard Alphabetic numeric and symbolic key reference numbers...

Page 332: ...74 SPACE 32 52 53 54 N A TAB 9 46 47 48 371 Keypad 0 55 69 83 97 331 Keypad 1 56 70 84 98 332 Keypad 2 57 71 85 99 333 Keypad 3 58 72 86 100 334 Keypad 4 59 73 87 101 335 Keypad 5 60 74 88 102 336 Key...

Page 333: ...0 F11 HELP 232 234 236 238 361 F12 145 152 19 26 362 F13 146 153 20 27 363 F14 147 154 21 28 364 0 48 41 N A N A 279 1 49 33 N A N A 280 2 50 64 0 0 281 3 51 35 27 27 282 4 52 36 28 28 283 5 53 37 29...

Page 334: ...0 6 6 294 G 103 71 7 7 295 H 104 72 8 8 296 I 105 73 9 9 297 J 106 74 10 10 298 K 107 75 11 11 299 L 108 76 12 12 300 M 109 77 13 13 301 N 110 78 14 14 302 O 111 79 15 15 303 P 112 80 16 16 304 Q 113...

Page 335: ...d 161 162 163 164 165 166 Shift Button Button Pressed Button Released 167 168 169 170 171 172 Ctrl Button Button Pressed Button Released 173 174 175 176 177 178 Ctrl Shift Button Programmed strings fo...

Page 336: ...C 6 Key Reference Numbers Notes...

Page 337: ...DEC VT220 The sub modes of the two emulations are as follows Tek Sub Modes VT220 Sub Modes VT52 VT52 ANSI VT100 VT100 EDIT VT220 7 Bit TEK VT220 8 Bit Each character set consists of a series of contr...

Page 338: ...in local mode Some setup options require you to specify one or more control characters A control character can be specified by typing to represent the Ctrl key immediately followed by the displayable...

Page 339: ...48 30 61 49 31 62 50 32 63 51 33 64 52 34 65 53 35 66 54 36 67 55 37 70 56 38 71 57 39 72 58 3A 73 59 3B 74 60 3C 75 61 3D 76 62 3E 77 63 3F 100 64 40 101 65 41 102 66 42 103 67 43 104 68 44 105 69 45...

Page 340: ...244 164 A4 245 165 A5 246 166 A6 247 167 A7 250 168 A8 251 169 A9 252 170 AA 253 171 AB 254 172 AC 255 173 AD 256 174 AE 257 175 AF 260 176 B0 261 177 B1 262 178 B2 263 179 B3 264 180 B4 265 181 B5 2...

Page 341: ...0 0 1 0 1 1 1 1 1 0 1 1 0 0 0 0 0 0 1 1 1 1 0 1 1 0 1 1 1 1 1 0 0 0 1 1 1 1 1 0 1 0 1 1 1 1 1 1 0 OCTAL DECIMAL HEXADECIMAL 43 35 23 100 64 40 133 91 5B 134 92 5C 135 93 5D 136 94 5E 137 95 5F 140 96...

Page 342: ...1 0 0 0 1 1 1 1 1 0 1 0 1 1 1 1 1 1 0 OCTAL DECIMAL HEXADECIMAL 43 35 23 100 64 40 133 91 5B 134 92 5C 135 93 5D 140 96 60 173 123 7B 174 124 7C 175 125 7D 176 126 7E This table shows the characters...

Page 343: ...33 21 42 34 22 43 35 23 44 36 24 45 37 25 46 38 26 47 39 27 50 40 28 51 41 29 52 42 2A 53 43 2B 54 44 2C 55 45 2D 56 46 2E 57 47 2F 60 48 30 61 49 31 62 50 32 63 51 33 64 52 34 65 53 35 66 54 36 67 5...

Page 344: ...6 24 45 37 25 46 38 26 47 39 27 50 40 28 51 41 29 52 42 2A 53 43 2B 54 44 2C 55 45 2D 56 46 2E 57 47 2F 60 48 30 61 49 31 62 50 32 63 51 33 64 52 34 65 53 35 66 54 36 67 55 37 70 56 38 71 57 39 72 58...

Page 345: ...meters except otherwise indicated next to the command VT52 Mode CHARACTER SET SELECTION HOST PRIMARY SETUP Invoke G0 character set SI Invoke G1 character set SO Select G0 character set ESC G Select Li...

Page 346: ...ETUP Select terminal emulation mode ESC CODE Host 0 Tek 1 ANSI 2 Edit 3 VT52 5 VT100N 6 VT220N 7 VT220M7 8 VT220M8 Select numeric keypad application mode ESC Select numeric keypad normal mode ESC Sele...

Page 347: ...White foreground 37 White background 57 White foreground 39 White background 59 Deselect underline character mode ESC 1 h DAMODE Double width height top half characters ESC 3 Double width height botto...

Page 348: ...rd tabs ESC Z Tab cursor forward tabs ESC I DISPLAY HOST PRIMARY SETUP Scroll display down lines ESC T Scroll display up lines ESC S Select 80 column display mode ESC 3 l Select 132 column display mod...

Page 349: ...at ESC 8 l Disable keyboard ESC Disable keyboard input ESC 2 h Enable key autorepeat ESC 8 h Enable keyboard ESC b Enable keyboard input ESC 2 l Select cursor key application mode ESC 1 h Select curso...

Page 350: ...gn G2 labelled set to 7 bit codes for 1 character ESC N Assign G2 labelled set to 8 bit codes ESC Assign G3 labelled set to 7 bit codes ESC o Assign G3 labelled set to 7 bit codes for 1 character ESC...

Page 351: ...r colour indices ESC T D ACURSOR Specify dialog area colour indices ESC L I DAINDEX Specify index monochrome printing ESC Q I HCMAP Specify pixel colour indices ESC R P PXRASTERWRITE DIALOG AREA HOST...

Page 352: ...L Select terminal emulation mode ESC CODE Host 0 Tek 1 ANSI 2 Edit 3 VT52 5 VT100N 6 VT220N 7 VT220M7 8 VT220M8 Select text editing characters ESC K Z EDITCHARS Send print data to file ESC A U Set tab...

Page 353: ...U R RECTANGLE Finish fill pattern definition ESC M E ENDFILLP Select marker style ESC M M MARKTYPE Select panel fill pattern ESC M P FILLPATTERN Select panel filling features ESC M S PFILLMODE Select...

Page 354: ...I M REOM Specify line flow control type ESC N F FLAGGING Specify prompt mode prompt string ESC N S PROMPTSTRING Specify report termination characters ESC N T EOLSTRING P0 P1 PORT HOST PRIMARY SETUP A...

Page 355: ...SC A O PROGRAMMED STRINGS HOST PRIMARY SETUP Define key programmed string volatile LEARN Define key programmed string non vol NVLEARN Define programmed string volatile ESC K D DEFINE Define programmed...

Page 356: ...SGDETECT Select segment magnification or rotation ESC S J SGSCALE Select segment drawing mode ESC S M SGMODE Select segment edit mode ESC U H SGEDIT Select segment flashing ESC S H SGHIGHLIGHT Set seg...

Page 357: ...s 52 lines 8x15 ESC Select graphics text size 204 cols 98 lines 5x8 ESC Select graphics text size 204 cols 98 lines 5x8 ESC Select graphics text size 204 cols 98 lines 5x8 ESC Select graphics text siz...

Page 358: ...rfaces ESC W Select colour set surface visibility ESC D Select combined surface writing colour index ESC C Select overlaid surface display priority ESC P Select overlaid surface writing surface ESC O...

Page 359: ...e Button Status Column Row r Where Event Type is the event s that caused the report in the same format as the arming sequence Button Status is of the format 00110LMR where LMR indicates which button c...

Page 360: ...E 16 Host Command Summary Notes...

Page 361: ...k D 8 ASCII D 3 Controlcharacters D 1 Line Drawing D 7 National Tek Alpha D 6 National VT220 Alpha D 5 Nationalcharacters DEC D 5 Nationalcharacters Tek D 6 Colour Attributes 7 40 Colour Selection Tex...

Page 362: ...ay 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 Co...

Page 363: ...vingfiles 8 5 Sending files 8 3 ZModemparameters 8 14 FillPatterns 2 18 Floating Button Palette 5 1 Adding buttons 5 5 Assigning functions 5 6 Redefining buttons 5 5 Removing buttons 5 8 Using 5 1 Flo...

Page 364: ...l menu 11 18 Disable copyright message 11 17 Disable Exit TeemTalk box 11 11 Disable graphics show thru 11 24 Disable maximize button 11 18 Disable menu bar 11 20 Disable menu items 11 19 Disable min...

Page 365: ...e numbers C 2 Keypad mode 7 32 LK250 mapping 3 1 LK250 450 mapping DEC VT220 mode 3 6 Tek VT100 Edit mode 3 7 LK450 mapping 3 1 Macros 3 10 7 44 Mapping changing 3 10 7 44 Mapping showing 3 10 7 44 Na...

Page 366: ...le 11 28 Use Windows default printer 11 27 Private Profile File Windows 3 1x 11 2 Windows 95 NT 11 3 PSET PGET Script Settings 12 73 Q Quitting TeemTalk 2 1 R RDPXY 12 57 RDT 12 57 RDTXY 12 57 Referen...

Page 367: ...TU GET 12 41 FTU INITIATE 12 42 FTU SET 12 42 FTU START 12 44 GETINI 12 44 GOSUB 12 45 GOTO 12 45 HCMP 12 45 HGET 12 46 HRCV 12 46 IF 12 47 INC 12 47 INP 12 47 KACT 12 48 KBD 12 48 KGET 12 48 KINTERCE...

Page 368: ...ient 2 7 7 6 Settings Menu 7 24 Setup Button 2 17 Setup Menus Attributes 7 40 Button Tools 7 56 Closing 2 14 7 2 Defaultsettings 7 4 Dialogsettings 7 35 Displaying 7 1 Edit Menu 7 21 Emulationsettings...

Page 369: ...32 communications A 3 Setup problems A 1 V ViewDn Button 2 18 ViewUp Button 2 18 Virtual Key Names B 1 Standard B 1 Tek mode B 2 VT220 mode B 2 VT100 Mode Host command summary E 3 Selecting 2 9 VT220...

Page 370: ...Index 10 Index X XMODEM 8 1 XMODEM 1K 8 1 Y YMODEM Batch 8 2 Z ZMODEM 8 2 Zoom Button 2 17...

Reviews: