This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Terminal handling with the 990809 snapshot
- To: cygwin-developers@sourceware.cygnus.com
- Subject: Re: Terminal handling with the 990809 snapshot
- From: Glenn Spell <glenn@gs.fay.nc.us>
- Date: Tue, 17 Aug 1999 14:23:52 -0400
- Organization: the aerie
- References: <19990810210956.A15706@ba.best.com>
This is an update on the problems using 'screen' with the
latest snapshots.
The problem I reported where the display does not update
properly started with a change in select.cc. If I revert
that change with the patch below, that problem goes away.
But then, the 'screen' processes don't die when 'screen'
terminates.
--- select.cc.ORIG Fri Aug 13 14:22:36 1999
+++ select.cc Tue Aug 17 04:28:16 1999
@@ -375,13 +375,6 @@ peek_pipe (select_record *s, int ignra)
int gotone = 0;
fhandler_base *fh = s->fh;
- if (fh->get_device () == FH_TTYS && myself->pgid &&
- ((fhandler_tty_slave *)fh)->get_ttyp ()->getpgid () != myself->pgid)
- {
- gotone = s->read_ready = 1;
- goto out;
- }
-
if (!ignra && fh->get_readahead_valid ())
{
select_printf ("readahead");
BASH-2.03$ ps -al
PID PPID PGID WINPID UID TTY STIME COMMAND
1000 1000 1000 4294718189 500 0 13:50:59 /BIN/SSH.EXE
1003 1003 1003 4294821861 500 1 14:18:31 /USR/BIN/BASH.EXE
1005 1003 1005 4294825057 500 1 14:18:52 /BIN/SCREEN.EXE
1006 1005 1006 4294824073 500 -1 14:18:52 /BIN/SCREEN.EXE
1007 1006 1007 4294763153 500 2 14:18:53 /USR/BIN/BASH.EXE
1008 1006 1008 4294758685 500 3 14:18:54 /USR/BIN/BASH.EXE
1009 1006 1009 4294534281 500 4 14:18:56 /USR/BIN/BASH.EXE
1010 1006 1010 4294762441 500 5 14:18:57 /USR/BIN/BASH.EXE
1011 1010 1011 4294578697 500 5 14:19:08 /USR/BIN/PS.EXE
BASH-2.03$
[screen is terminating]
BASH.EXE-2.03$ ps -al
PID PPID PGID WINPID UID TTY STIME COMMAND
1000 1000 1000 4294718189 500 0 13:50:59 /BIN/SSH.EXE
1003 1003 1003 4294821861 500 1 14:18:31 /USR/BIN/BASH.EXE
1007 1 1007 4294763153 500 2 14:18:53 /USR/BIN/BASH.EXE
1008 1 1008 4294758685 500 3 14:18:54 /USR/BIN/BASH.EXE
1009 1 1009 4294534281 500 4 14:18:56 /USR/BIN/BASH.EXE
1010 1 1010 4294762441 500 5 14:18:57 /USR/BIN/BASH.EXE
1012 1003 1012 4294745245 500 1 14:20:02 /USR/BIN/PS.EXE
BASH.EXE-2.03$
What does this mean?
-glenn
--
) Glenn Spell <glenn@gs.fay.nc.us> ) _ _____
) Fayetteville, North Carolina, U. S. A. )_ (__\____o /_/_ |
) _ _ _ _ _ _ _ _ _ _ _ _ _ _ ) >-----._/_/__]>
)- blue skies - happy trails - sweet dreams -) `0 |