zsh-users
 help / color / mirror / code / Atom feed
From: "James F. Hranicky" <jfh@cise.ufl.edu>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: Re: Terminal hang when bg/fg root shell on OS X
Date: Mon, 13 Feb 2006 09:08:31 -0500	[thread overview]
Message-ID: <200602130908.32286.jfh@cise.ufl.edu> (raw)
In-Reply-To: <1060211195555.ZM6077@candle.brasslantern.com>

On Saturday 11 February 2006 14:55, Bart Schaefer wrote:
> On Feb 10,  2:45pm, James F. Hranicky wrote:
> }
> } When I background then foreground a root shell on OS X I get
> } a terminal error:
>
> The "exec zsh" is a contributing factor here.
>
> I suspect that you're running into a combination of problems with the
> tty's controlling process having changed and with the fact that a
> process owned by a normal user (parent shell, before the "su") can't
> send a signal to a process owned by root.
>
> Either change root's shell to zsh permanently, or try using
>
> 	su -l -c zsh
>
> instead of exec'ing zsh after the fact.

I can't suspend login shells, though :->

Even running su -c zsh gives the same terminal problem. 

Fortunately, 

	sudo zsh

seems to work just fine with backgrounding and foregrounding.

Thanks,
Jim


      reply	other threads:[~2006-02-13 14:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 19:45 James F. Hranicky
2006-02-10 21:14 ` William Scott
2006-02-11 19:55 ` Bart Schaefer
2006-02-13 14:08   ` James F. Hranicky [this message]

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=200602130908.32286.jfh@cise.ufl.edu \
    --to=jfh@cise.ufl.edu \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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).