Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-05 08:01:43 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-05 08:01:43 +0400
commitce006ffa7f6985c2dbe6128d74ba6beda562743a (patch)
treef06848351ed62f45e8034e2d5c5eb69f36a5f87e /winsup/cygwin/fhandler_console.cc
parent147d2ab4949aec9a3b510e1ee43399a9e6261122 (diff)
* dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares.
* path.cc (mount_info::conv_to_win32_path): Set flags to binary when mount entry is not found. (mount_info::set_flags_from_win32_path): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc19
1 files changed, 3 insertions, 16 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index f7d1f37cf..cc948d3d0 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1,6 +1,6 @@
/* fhandler_console.cc
- Copyright 1996, 1997, 1998, 1999, 2000, 2001 Red Hat, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
This file is part of Cygwin.
@@ -713,14 +713,6 @@ fhandler_console::tcflush (int queue)
int
fhandler_console::output_tcsetattr (int, struct termios const *t)
{
- /* Ignore the optional_actions stuff, since all output is emitted
- instantly */
-
-#if 0
- /* Enable/disable LF -> CRLF conversions */
- set_w_binary ((t->c_oflag & ONLCR) ? 0 : 1);
-#endif
-
/* All the output bits we can ignore */
DWORD flags = ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT;
@@ -743,8 +735,10 @@ fhandler_console::input_tcsetattr (int, struct termios const *t)
oflags = 0;
DWORD flags = 0;
+#if 0
/* Enable/disable LF -> CRLF conversions */
set_r_binary ((t->c_iflag & INLCR) ? 0 : 1);
+#endif
/* There's some disparity between what we need and what's
available. We've got ECHO and ICANON, they've
@@ -819,13 +813,6 @@ fhandler_console::tcgetattr (struct termios *t)
t->c_cflag |= CS8;
-#if 0
- if (!get_r_binary ())
- t->c_iflag |= IGNCR;
- if (!get_w_binary ())
- t->c_oflag |= ONLCR;
-#endif
-
DWORD flags;
if (!GetConsoleMode (get_io_handle (), &flags))