zsh-users
 help / color / mirror / code / Atom feed
From: William Scott <wgscott@chemistry.ucsc.edu>
To: "James F. Hranicky" <jfh@cise.ufl.edu>
Cc: zsh-users@sunsite.dk
Subject: Re: Terminal hang when bg/fg root shell on OS X
Date: Fri, 10 Feb 2006 13:14:45 -0800 (PST)	[thread overview]
Message-ID: <Pine.OSX.4.58.0602101307260.3028@vanunu.ucsc.edu> (raw)
In-Reply-To: <200602101445.58658.jfh@cise.ufl.edu>


You might want to consider this workaround, which has the additional merit
of not requiring the root account to be activated (the default on OS X and
Ubuntu Linux, for security reasons):

Just type

sudo screen zsh

You then get a root shell, and can detach it with control-d, reattach it
when you need it, and so forth.

HTH.

Bill



On Fri, 10 Feb 2006, James F. Hranicky wrote:

> When I background then foreground a root shell on OS X I get
> a terminal error:
>
> 	% 1005 : su -
> 	Password:
> 	# exec zsh
> 	# suspend
>
> 	zsh: suspended  su -
> 	% fg
> 	[1]  + continued  su -
> 	# zsh: suspended (signal)  su -
> 	% <hit return>
> 	#
> 	zsh: error on TTY read: Input/output error
>
> The terminal is hung after this. This doesn't appear to happen
> when suspending a user shell and going back to a root shell.
>
> Anyone have any ideas?
>
> ----------------------------------------------------------------------
> | Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
> | E314D CSE Building                            Phone (352) 392-1499 |
> | jfh@cise.ufl.edu                      http://www.cise.ufl.edu/~jfh |
> ----------------------------------------------------------------------
>


  reply	other threads:[~2006-02-10 21:15 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 [this message]
2006-02-11 19:55 ` Bart Schaefer
2006-02-13 14:08   ` James F. Hranicky

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=Pine.OSX.4.58.0602101307260.3028@vanunu.ucsc.edu \
    --to=wgscott@chemistry.ucsc.edu \
    --cc=jfh@cise.ufl.edu \
    --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).