diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-13 14:47:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-13 14:47:18 +0000 |
commit | 1f3a4b849693e397d052f276ac11e1633900175d (patch) | |
tree | 6f7539e84c1eefca1296aaba5971c13f0feb6f81 /winsup | |
parent | 4c848934fea7f6da431ee6c136ce991cc55f1ceb (diff) | |
download | cygnal-1f3a4b849693e397d052f276ac11e1633900175d.tar.gz cygnal-1f3a4b849693e397d052f276ac11e1633900175d.tar.bz2 cygnal-1f3a4b849693e397d052f276ac11e1633900175d.zip |
* fhandler_tty.cc (fhandler_tty::open): Enhance comment.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 28abe9d93..aae9a4a9f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-12-13 Christopher Faylor <cgf@timesys.com> + + * fhandler_tty.cc (fhandler_tty::open): Enhance comment. + 2005-12-13 Corinna Vinschen <corinna@vinschen.de> * fhandler_tty.cc (fhandler_tty::open): Close newly created window diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 0e451b482..8b7c2d52c 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -590,8 +590,16 @@ fhandler_tty_slave::open (int flags, mode_t) station or, strangely, characters will not be displayed in any windows drawn on the current screen. We only do this if we have changed to a new windows station and if we had an existing windows station previously. + We also close the previously opened work station even though AllocConsole + is now "using" it. This doesn't seem to cause any problems. + + Things to watch out for if you make changes in this code: + + - Flashing, black consoles showing up when you start, e.g., ssh in + an xterm. + - Non-displaying of characters in rxvt or xemacs if you start a + process using setsid: bash -lc "setsid rxvt". */ - Phew. */ h = horig = GetProcessWindowStation (); if (myself->ctty == -1) { |