The Shortcut System / Creating Shortcuts using the Shortcut Wizard |
This procedure guides you through the process of creating a Direct Connection Shortcut using the Shortcut Wizard.
Shortcut Wizard page 1: Shortcut identification and Connection type
Shortcut Wizard page 2: Host information
Within the command line, you can use the following tags:
Tag | Replaced by |
---|---|
@FGL | FGLSERVER=<IP Address>:<serv num> export FGLSERVER; FGLGUI=1; export FGLGUI |
Tag | Replaced by |
---|---|
@FGLNT | set FGLSERVER=<IP Address>:<serv num>&&set FGLGUI=1 |
@FGLCSH | setenv FGLSERVER "<IP Address>:<serv num>";setenv FGLGUI 1 |
@FGLKSH | FGLSERVER="<IP Address>:<serv num>";export FGLSERVER;FGLGUI=1;export FGLGUI |
@SRVNUM | <GDC listening port - 6400 (The second part of FGLSERVER)> |
@PORT | <GDC listening port> |
@USR | <Client current user name> Note: On
Windows® operating systems, @USR uses
GetUserNameEx with "NameUserPrinicpal" as the first
argument and without the "@domain" part of the result string.
On non-Windows operating systems, @USR and @LEGACYUSR return the same string. |
@LEGACYUSR | <Client current user name> Note: On
Windows operating systems, @LEGACYUSR
uses GetUserName.
On non-Windows operating systems, @USR and @LEGACYUSR return the same string. Tip: @USR should be used in most cases. @LEGACYUSR exists to
handle issues that may arise when migrating to Genero Desktop Client 3.0 from an earlier
version.
|
@LUSR | <Client current user name, lower case version> |
@USER | <User name on the remote system> |
@IP | <IP address of the client computer> |
@COMPUTER | <Machine host name> |
@E_SRV | export FGLSERVER |
@4GLSRVVER | <GDC version> |
These tags will automatically be replaced when the command is sent to the Runtime System host.
Additional environment variables may be set when using @FGL tags ; these variables are needed to manage connection checks.
Shortcut Wizard page 3: Terminal protocol and Terminal options
The Backspace key sends Control-H option modifies the sequence sent by the backspace key in FGLTTY. By default, Control-?(127) is used but you may change it to Control-H. This will allow you, for instance, to use the backspace key in dbaccess.
If Show terminal window is checked, the window of FGLTTY, our Emulation Terminal Utility, will be visible. (Please refer to the Terminals section). This could help you check whether your command line is valid.
Shortcut Wizard page 4: Port forwarding mode
Shortcut Wizard page 5: Login form and Authentication method
To use your own login form, specify the login form file to use. The form file must be a .ui file, which is a Qt designer's file format. See Customizing your own login form. Check Always on Top to force the login form to always display on top.
In the User field, provide the username you are using to connect to the host. This can be omitted if you use the -User or -U command line option.
If Password required is checked, GDC will ask you for a password. If your configuration allows you to connect without a password, uncheck this option. If a password is still requested, review your configuration.
If any of those options save a password, it will be stored until manually cleared.
The SSH key file field: If you use an SSH connection, you can specify an ssh key file that contains the login information. The file format must use the PuTTY format and can be generated using PuTTY tools.
On Windows platforms ( all versions after Windows 2000 ) you can also use Kerberos authentication if your user and computer are registered on an ActiveDirectory that provides a Kerberos interface. Using this authentication method, you are free to Allow Ticket Forwarding; this allows the SSH server to forward the Kerberos ticket that identifies the user to other processes. You may also select a Server realm; this identifies the Kerberos domain. This field can be mandatory, depending on the ActiveDirectory / Kerberos server configuration. Ask your System administrator for further details.
Shortcut Wizard page 6: Terminal strings
You can specify whether each string should be recognized only once or every time (check only once). Also, when ignore remaining terminal strings is checked, all the following strings are ignored.
The default terminal strings should be suitable in most of the cases, but you may have to adapt them to your system. For instance, the default string to send the command is last login: which may be different on your server.
Examples:
Recognized string | Description | Action performed by GDC |
---|---|---|
password: | This is the string used by the telnet daemon to ask for the password. | Sends the password |
last login: | This is the string used by the telnet daemon to tell the user he has logged in successfully. | Sends the command |
login: | This is the string displayed by the telnet daemon when the login has failed. | Displays a message "Authentication has failed" |
Please contact your System administrator if the default values are not appropriate.
Shortcut Wizard page 7: Fgltty Configuration
Starting with Genero 2.30, these options are inherited from PuTTY. If you need more details on these options, please consult the PuTTY documentation.