Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 1995 20:39:21 -0400
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        freebsd-hackers@freebsd.org
Subject:   That annoying pty problem again...
Message-ID:  <199509240039.UAA11120@lakes>

next in thread | raw e-mail | index | archive | help

I just had the "old" vs. "new" (SIGHUP?) pty problem again.

Just to refresh everone's memory, let me know if you've seen this:

	1) Start an Xterm...

	2) Start 'vi' in that xterm.

	3) Shut down the X server, forcing logoff (i.e. CNTL-ALT-BS)

	4) Restart the X server

	5) Start another xterm - which happens to get the same
	   pty as the one running 'vi'

	6) Suddenly, you'll discover that some of your keystrokes are
	   going to that (now supposedly dead) 'vi' session, which is
	   also producing output to your pty (xterm) - along with
	   the shell you have running in your xterm.

	   That is - it would appear that a SIGHUP is getting lost; or
	   the pty driver isn't sending one when the client side is cut
	   off...


	- Dave Rivers -




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509240039.UAA11120>