zsh-users
 help / color / mirror / code / Atom feed
From: Richard Curnow <Richard.Curnow@st.com>
To: zsh-users@sunsite.auc.dk
Subject: Re: Zsh Guide chapter 5 (substitutions)
Date: Tue, 21 Aug 2001 15:21:54 +0100	[thread overview]
Message-ID: <20010821152154.A8668@popov.bri.st.com> (raw)
In-Reply-To: <20010815230024.3E7F614284@pwstephenson.fsnet.co.uk>; from pws@pwstephenson.fsnet.co.uk on Thu, Aug 16, 2001 at 12:00:18AM +0100

On page 74, 2nd para from the end,

  It seems a bit odd to signal a process to restart; why can't the operating
  system just restart it when you ask? The real answer is probably that signals
  provide an easy way for you to talk to the operating system without
  grovelling around in the dirt too much.

I think it's to provide a way for a process to save and restore state across
the suspension, by installing handlers for SIGTSTP and SIGCONT.  I can think of
a few cases I've come across where this applies :

- if the process has done anything horrible to its /dev/tty, (e.g. echo off,
  changed the per-line/per-char input (ICANON?) mode, made stdin use
  asynchronous I/O etc), which would leave an unusable environment for the user
  back at the shell prompt.

- some tools (verilog simulators etc) that use floating licenses seem to
  relinquish licenses when suspended and re-acquire them when restarted.  Very
  nice of them!

On Thu, Aug 16, 2001 at 12:00:18AM +0100, pws@pwstephenson.fsnet.co.uk wrote:
> I've uploaded a new version of A User's Guide to the Z-Shell which you
> can find at
>   http://sunsite.dk/zsh/Guide/
> 
> The main addition is chapter 5, which talks about all forms of shell
> substitutions and expansions.  Chapter 3 has been slightly edited.  I'd
> be interested in any comments on either, of course.  It's possible

-- 
Richard Curnow---by day : SuperH Core Architecture at STMicroelectronics
curnowr@bristol.st.com---------www.superh.com-------------www.st.com----
and by night >>---richard.curnow@go.to---http://go.to/richard.curnow/---


  parent reply	other threads:[~2001-08-21 14:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-15 23:00 Peter Stephenson
2001-08-16  2:31 ` Bart Schaefer
2001-08-17 16:55 ` Bart Schaefer
2001-08-20 18:26 ` Bart Schaefer
2001-08-20 18:35   ` Phil Pennock
2001-08-21 16:38   ` Bart Schaefer
2001-08-21 14:21 ` Richard Curnow [this message]
2001-08-21 15:34   ` Bart Schaefer
2001-08-22 17:10 martin.ebourne
2001-08-23  7:30 ` Borsenkow Andrej
2001-08-23  7:41   ` Borsenkow Andrej

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=20010821152154.A8668@popov.bri.st.com \
    --to=richard.curnow@st.com \
    --cc=zsh-users@sunsite.auc.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).