zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: P.Stephenson@swansea.ac.uk
Cc: zsh-workers@math.gatech.edu
Subject: Re: -M option for limit
Date: Wed, 10 Jan 1996 09:28:05 +0000 (GMT)	[thread overview]
Message-ID: <11757.199601100928@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <12538.9601100851@pyro.swan.ac.uk> from "P.Stephenson@swansea.ac.uk" at Jan 10, 96 08:51:47 am

Peter wrote:
>A.Main@dcs.warwick.ac.uk wrote:
>> I think the limit syntax would be much more consistent if it were
>> changed from "limit resource value" to "limit resource=value".  This
>> would allow arbitrary mixtures of setting and examining resource
>> limits, as is already possible with things like typeset and alias.  The
>> limit builtin is rather well-established, though, so if it's going to
>> be changed it really can't be delayed.  Any opinions?
>
>I think this would be an unnecessary incompatibility.

Actually I've come up with a good compromise.  If we simply require
limit values to start with a digit (i.e. don't allow "k" to mean "0k"),
it would be possible to unambiguously specify multiple resources on the
command line, each with an optional limit.  For example, "limit core
desc 32 vmem" would display the limits for coredumpsize and
vmemorysize, and set descriptors to 32.  bash's ulimit works much this
way, though with option flags rather than keywords.  At some point I'd
like to modify zsh's ulimit to work like bash's, and do this equivalent
to limit as well.

-zefram


      reply	other threads:[~1996-01-10  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-08 17:39 Zefram
1996-01-10  8:51 ` P.Stephenson
1996-01-10  9:28   ` Zefram [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=11757.199601100928@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=P.Stephenson@swansea.ac.uk \
    --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).