mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* fhandler_tty.cc (fhandler_tty::open): Enhance comment.
This commit is contained in:
parent
4c848934fe
commit
1f3a4b8496
@ -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>
|
2005-12-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_tty.cc (fhandler_tty::open): Close newly created window
|
* fhandler_tty.cc (fhandler_tty::open): Close newly created window
|
||||||
|
@ -590,8 +590,16 @@ fhandler_tty_slave::open (int flags, mode_t)
|
|||||||
station or, strangely, characters will not be displayed in any windows
|
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
|
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.
|
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 ();
|
h = horig = GetProcessWindowStation ();
|
||||||
if (myself->ctty == -1)
|
if (myself->ctty == -1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user