Connects to self if login shell is tcsh
Status: Beta
Brought to you by:
massel
From the Linux tcsh man page:
HOST (+) Initialized to the name of the machine on
which the shell is running, as determined by the
gethostname(2) system call.
and
REMOTEHOST (+) The host from which the user has logged
in remotely, if this is the case and the shell is able
to determine it. Set only if the shell was so
compiled; see the version shell variable.
Therefore, if the user's login shell is tcsh, the
applet always tries to connect back to the host on
which it is running, instead of the host that the user
configured it to connect to.
The attached patch changes the variable name from $HOST
to $REMOTE_HOST. To be consistent, $PORT becomes
$REMOTE_PORT. It does not patch de.gmo, which is a
generated file.
Patch to rename variables $HOST and $PORT