summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/environ.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r--winsup/cygwin/environ.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 71d15b63d..54b724286 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -77,19 +77,6 @@ set_proc_retry (const char *buf)
}
static void
-tty_is_gone (const char *buf)
-{
- if (!user_shared->warned_notty)
- {
- small_printf ("\"tty\" option detected in CYGWIN environment variable.\n"
- "CYGWIN=tty is no longer supported. Please remove it from your\n"
- "CYGWIN environment variable and use a terminal emulator like mintty,\n"
- "xterm, or rxvt.\n");
- user_shared->warned_notty = 1;
- }
-}
-
-static void
set_winsymlinks (const char *buf)
{
if (!buf || !*buf)
@@ -146,7 +133,7 @@ static struct parse_thing
{"pipe_byte", {&pipe_byte}, setbool, NULL, {{false}, {true}}},
{"proc_retry", {func: set_proc_retry}, isfunc, NULL, {{0}, {5}}},
{"reset_com", {&reset_com}, setbool, NULL, {{false}, {true}}},
- {"tty", {func: tty_is_gone}, isfunc, NULL, {{0}, {0}}},
+ {"wincmdln", {&wincmdln}, setbool, NULL, {{false}, {true}}},
{"winsymlinks", {func: set_winsymlinks}, isfunc, NULL, {{0}, {0}}},
{NULL, {0}, setdword, 0, {{0}, {0}}}
};