newlib/winsup
Egor Duda a53136cc46 * fhandler.h (class fhandler_console): Make all variables that
describe "state" of console to be members of fhandler_console.
default_color is now the color which is set when console recieves
reset command.
* fhandler_console.cc (fhandler_console::fhandler_console): Turn
mouse handling and raw keyboard mode off by default. Initialize
state information.
* fhandler.cc (fhandler_console::set_raw_win32_keyboard_mode): New
function.
* fhandler_console.cc (fhandler_console::set_default_attr): New
function. Reset console attributes to default values.
* fhandler_console.cc (fhandler_console::open): Reset attributes.
* fhandler_console.cc (fhandler_console::get_win32_attr): New function.
Calculate win32-style console attribute based on terminal attributes.
* fhandler_console.cc (fhandler_console::set_cursor_maybe): Use
member variable.
* fhandler_console.cc (fhandler_console::read): If in raw-win32
keyboard mode, encode win32 keyboard events in \033{x;y;z;t;u;wK
sequences.
* fhandler_console.cc (fhandler_console::dup): Copy all state
information to the dup()ed handle.
* fhandler_console.cc (fhandler_console::scroll_screen): Use current
fill-in	attribute.
* fhandler_console.cc (fhandler_console::clear_screen): Ditto.
* fhandler_console.cc (fhandler_console::char_command): Check if we
saw '?' symbol by member variable. Set terminal	attributes on \033[Xm
commands. \033[24m - turn off underline mode, \033[27m - turn off
reverse mode, \033[39m - restore default foreground color.
\033[49m - restore default background color. \033[2000h - turn on raw
keyboard mode, \033[2000l - turn off raw keyboard mode.
* fhandler_console.cc (fhandler_console::write): Set attribues to
default values on reset command.
2001-02-27 09:14:35 +00:00
..
cygwin * fhandler.h (class fhandler_console): Make all variables that 2001-02-27 09:14:35 +00:00
doc CYGWIN32 -> CYGWIN. 2001-02-24 23:25:30 +00:00
mingw * include/tchar.h: (__TEXT): Remove undef. 2001-02-21 19:33:42 +00:00
testsuite Add 'const' qualifiers where needed to avoid compiler warnings. 2000-09-06 14:21:53 +00:00
utils * regtool.cc (cmd_list): Add new registry display options. 2001-01-10 22:34:02 +00:00
w32api * include/w32api.h: (_W32API_VERSION): Remove. 2001-02-21 21:44:59 +00:00
CYGWIN_LICENSE import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog * Makefile.common: Revert previous change. 2001-02-22 12:37:32 +00:00
MAINTAINERS DJ is sole setup maintainer now. 2000-08-10 23:51:25 +00:00
Makefile.common * Makefile.common: Revert previous change. 2001-02-22 12:37:32 +00:00
Makefile.in * Makefile.common: Extend VERBOSE default. 2000-10-02 02:05:23 +00:00
configure * Makefile.common: Eliminate checks for libgcc.a and libstdc++.a. Use CXX for 2000-12-03 05:40:45 +00:00
configure.in * Makefile.common: Eliminate checks for libgcc.a and libstdc++.a. Use CXX for 2000-12-03 05:40:45 +00:00