Initializing help system before first use

sethostalias

sethostalias


Purpose
Define a host alias.
Synopsis
procedure sethostalias(alias:string,host:string)
Arguments
alias 
Internal identifier
host 
Corresponding host specification
Example
The first statement defines "localhost" as a separate process on the same machine and "win" for a remote access to the machine "winpc":
sethostalias("localhost","rcmd:")
sethostalias("win","xsrv:winpc")
Further information
Host aliases are used by connect to start Mosel instances. If the argument host is the empty string, the corresponding alias is removed from the list (or nothing is done if the alias was not defined before).
Related topics
Module