xcall MIAMEX, MX_SETPFK, pfkspec {,status)
xcall MIAMEX, MX_GETPFK, pfkspec
MX_SETPFK (MIAMEX 63) loads a private (PFK-style) function key translation module into memory. MX_GETPFK (MIAMEX 65) returns the name of the currently loaded PFK translation file, if any.
Parameters
pfkspec (Num) [in for SET, out for GET]
contains the file specification of a translation table created by FIXTRN which has a PFK extension (e.g. mydir:abcde.pfk).
status (Num) [out]
will be set to 0 on success, or 1 if the file was not found
Comments
Unlike the IFX and VUX translation tables, which are named after the terminal driver and loaded by default, a PFK-style translation table may have any name (with a PFK extension). When loaded, such a translation table will override any existing translations in the IFX file. Thus, they are handy for loading translations that are specific to a particular program or perhaps even a particular user.
Use FIXTRN <name>.pfk to create a PFK style translation table. You can also use LOAD <name>.PFK to load it into memory, and DEL to delete it. To delete it within a program, use MX_USRDEL.