From: david@csource.oz.au (david nugent) Subject: Re: Suspending emacs and bringing it back Date: 2 May 1992 22:50:42 GMT
rajat@watson.ibm.com (Rajat Datta) writes:
> I'm not sure how this is a bash problem. What I think is happening is
> that when a process is woken up, the terminal is not being reset fully
> for that process group. Shells that support job control start off
> each new job as a new process group with a new control terminal (at
> least that's what the BSD internals books says). I presume, when you
> suspend the current job, you are setting the control terminal back for
> the shell, and therefore the terminal is the line discipline of the
> shell.
Gosh, this sounds familiar. I'm willing to bet that this is fixed
at the same time as the gdb TIOCSPGRP ioctl warning goes away. :-)
> What I'm going to try tonight is to (finally) look at the source code
> for Linux, and see if the line discipline is being saved at suspension
> and if it's being reset when bringing the job back to the foreground.
> If not, I'll write the code to do that and see what happens.
It might pay to wait for 0.96 to see if the problem persists.
..............................................................................
david nugent Public Access Usenet "Only Nixon could go to China"
david@csource.oz.au +61-3-792-3507 - old Vulcan proverb
3:632/400@fidonet, 58:4100/1@intlnet, 199:4242/5@rainbownet, 33:300/6@admin
PO Box 260, Endeavour Hills, Victoria, Australia, 3802.