Download Twin Client Reference Manual - Version 70 R44-2427A
Transcript
Advanced Options <keyname>=<macro string> where <keyname> is the terminal key’s name and <macro string> is the macro text assigned to that specific key. For example, if you wanted to send the text “vt100” followed by moving the cursor to a new line when a user presses the PF9 key, you would define the following in the macro object file: pf9=vt100\015; Multiple keyboard macros can be defined in a single macro object, however, each line of the macro object must be terminated by a semicolon. Macro: Pressing the terminal key causes: pf1=login5\015; pf2=passwd5\015; pf3=vt100\015; pf4=appname\015; PF1 sends “login” followed by CR PF2 sends “passwd” followed by CR PF3 sends “vt100” followed by CR PF4 sends “appname” followed by CR Note: \015 represents the octal value for “carriage return”. See Octal Values, below. Using Octal Values The following table lists the octal value and the associated ASCII equivalent character for special characters that may need to be incorporated into macro strings. Octal Value ASCII Octal Value ASCII 000 001 002 003 004 005 006 007 010 011 012 013 014 015 016 017 020 021 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 022 023 024 025 026 027 030 031 032 033 034 035 036 037 040 073 075 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US SP ; = Creating a Keyboard Macro Object To create a Keyboard Macro Object, complete the following steps. 4-6 PowerNet Twin Client Reference • September, 2003