[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev disabling telnet (was: ... explain in INSTALLATION and configur
From: |
Klaus Weide |
Subject: |
lynx-dev disabling telnet (was: ... explain in INSTALLATION and configure?) |
Date: |
Thu, 20 Apr 2000 09:56:21 -0500 (CDT) |
On Thu, 20 Apr 2000, Frederic L . W . Meunier wrote:
> BTW, another point I'm missing. Is there a way to disable built-in
> telnet support?
One used to be able to do
#define TELNET_PATH "/bin/false"
#define TN3270_PATH "/bin/false"
#define RLOGIN_PATH "/bin/false"
in userdefs.h, but now, with configure intruding into userdefs.h, I
don't know what would be the canonical way (for Unix-like systems)
to achieve the same. (You can always change lynx_cfg.h after configure
has created it, of course.)
A comment in userdefs.h says:
#else /* Unix */
/* Standard locations are defined via the configure script. When
* helper applications are in your home directory or other nonstandard
* locations, you probably will have to preset the path to them with
* environment variables (see INSTALLATION, Section II-1d).
*/
But INSTALLATION, Section II-1d does not say what to do in order to set,
for example, TELNET_PATH. The environment variables mentioned there, CC,
CFLAGS, etc., are about something completely different.
If you want to disable telnet (and similar) at runtime, look into either
-restrictions or RULESFILE/RULE.
Klaus