Note on usage
Function: Load local or remote files in the openFT editor
User group: FT user
Functional description
The command ftedit allows you to load local or remote files in the openFT editor.
Note for Unix systems
Please note that you require a graphics-capable terminal in order to use the ftedit command.
Note for Windows systems
The ftedit command is "Send To"-capable, i.e. you can open a text file directly in ftedit by sending it using the context menu command Send To - ftedit.exe . To be able to use the "Send To" mechanism, you must first create a shortcut to ftedit.exe in the corresponding Windows folder. It is also possible to pass shortcuts to ftedit . The Editor then loads the file referred to by the shortcut.
Format
ftedit | -h | |
Description
-h
Displays the syntax in a separate window.
-ro
Loads the file in write-protected mode. You can only read the file. This corresponds to the "View" function in the Explorer interface.
-n=line
The editor window is positioned on the specified line after the file is loaded.
-t | -b | -u
In the case of remote files, the file type to be used when the file is transferred to openFT.
-t (default value for openFT partners)
The file contains text with variable record lengths.
Records end with the linefeed character \n on Unix systems.
On Windows systems, records end with the following characters:
CRLF (X'0D0A') when sending and/or fetching a file
LF (X'0A'), only possible when sending a file
-u
The file contains variable record length binary data structured by the user. Every record starts with 2 bytes that specify the length of the record.
-b
The file contains an unstructured sequence of binary data.
-ccs=ccs
Name of the character set that is to be used on opening the file. For more information, see the manual "openFT (Unix and Windows systems) - Installation and Operation".
Default: the character set defined as the default in the local openFT system.
-tad=tad
Transfer admission in the partner system in the case of remote files.
You can specify the transfer admission
as an FTAC transfer admission if FTAC is used in the remote system,
or as a login/LOGON authorization using the syntax of the remote system (user ID, where necessary with account and/or password).
You will find further details in the section “Entering the authorization data for the partner system” .
partner
For remote files it is necessary to specify an openFT partner name.
Partner is the name of the partner system in the partner list or the address of the partner system. For details on address specifications, see section “Specifying partner addresses”.
file
Name of the file to be loaded in the openFT editor.
You can specify an absolute path or a relative path for the file name with a maximum length of 512 characters. Please note that the maximum lengths of file names are system-dependent; for example, in Unix systems it is 512 and in Windows systems a maximum of 256 characters. If the file name contains blanks, you must enclose it in double quotes (e.g. "file name").
Note for Unix systems
If the remote partner requires single quotes around the file name, unlike at the shell level you do not have to invalidate these (e.g. 'file name').