Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Terminal hang when bg/fg root shell on OS X
- X-seq: zsh-users 9919
- From: "James F. Hranicky" <jfh@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Terminal hang when bg/fg root shell on OS X
- Date: Mon, 13 Feb 2006 09:08:31 -0500
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <1060211195555.ZM6077@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: University of Florida CISE Department
- References: <200602101445.58658.jfh@xxxxxxxxxxxx> <1060211195555.ZM6077@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author