zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: Terminal settings and background processes
Date: Thu, 29 Jan 1998 10:30:22 +0100	[thread overview]
Message-ID: <199801290930.KAA04420@hydra.ifh.de> (raw)
In-Reply-To: "Andrew Main"'s message of "Wed, 28 Jan 1998 17:11:25 MET." <199801281711.RAA06825@taos.demon.co.uk>

Andrew Main wrote:
> Peter Stephenson wrote:
> >I'm still getting my terminal settings messed up because of background
> >processes exiting on IRIX.  Did this patch not make it into zefram3?
> >I'm not sure I ever had the definitive version since there were numerous.
> 
> There were many patches on that issue, with several conflicting branches.

I certainly appreciate this:  any from me could certainly be ignored,
since I'm pretty sure the changes I suggested were incorporated into more
sophisticated variants.

> What precisely is not working for you?

After experimenting, it looks like killing a background job causes the
problem.  It doesn't matter if the job is running or suspended, and it
doesn't matter how simple the job is --- it's not just with emacs, it
happens even with sleep:

% stty -a
...
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y;
rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;
...
% sleep 10 &
[1] 3007
% kill %1
[1] + 3007 terminated sleep 10
% stty -a
...
intr = ^C; quit = <undef>; erase = ^?; kill = ^U; eof = ^A; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = <undef>;
dsusp = <undef>; rprnt = ^R; werase = ^W; lnext = <undef>; flush = <undef>;
...

My terminal is reduced to a vt100, since the X terminal server is
down, so debugging is a little unrewarding at the moment and I haven't
looked any further yet.

-- 
Peter Stephenson <pws@ifh.de>       Tel: +39 50 911239
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy


  reply	other threads:[~1998-01-29  9:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-28 16:50 Peter Stephenson
1998-01-28 17:11 ` Andrew Main
1998-01-29  9:30   ` Peter Stephenson [this message]
1998-01-29 10:03     ` Andrew Main
1998-01-29 10:29       ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199801290930.KAA04420@hydra.ifh.de \
    --to=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).