zsh-workers
 help / color / mirror / code / Atom feed
From: Thomas Klausner <tk@giga.or.at>
To: Peter Stephenson <Peter.Stephenson@csr.com>
Cc: zsh-workers@zsh.org
Subject: ulimit -a: -r vs -N [was Re: pkgsrc patches for zsh]
Date: Tue, 24 Jun 2014 16:37:11 +0200	[thread overview]
Message-ID: <20140624143711.GG13765@danbala.tuwien.ac.at> (raw)
In-Reply-To: <20120817121605.GD2428@danbala.tuwien.ac.at>

Hi!

A couple of days ago I noticed that 'ulimit -a' is now different (on
NetBSD-6.99.44/x86_64 with zsh-5.0.5); see in the old mail below what
it looked like before:

-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          262144
-s: stack size (kbytes)             4096
-c: core file size (blocks)         unlimited
-m: resident set size (kbytes)      32485916
-l: locked-in-memory size (kbytes)  10828638
-u: processes                       160
-n: file descriptors                128
-b: socket buffer size (bytes)      unlimited
-v: virtual memory size (kbytes)    unlimited
-N 11:                              160

It seems "-r" was replaced with "-N", and no help string is supplied.

I've also tried zsh git head and see the same issue there.

You probably know better where to look for this.

Thanks,
 Thomas

On Fri, Aug 17, 2012 at 02:16:06PM +0200, Thomas Klausner wrote:
> On Fri, Aug 17, 2012 at 12:35:35PM +0100, Peter Stephenson wrote:
> > Ah, I noticed that but didn't see it on your list from sh --- now I look
> > more closely, that's -b, so that should be added too.  We support the
> > resource, just not the option letter.  It's done as bytes, not
> > kilobytes, so I changed that, too.
> 
> Looks fine, except for a missing space in the -b line:
> # ulimit -a
> -t: cpu time (seconds)         unlimited
> -f: file size (blocks)         unlimited
> -d: data seg size (kbytes)     262144
> -s: stack size (kbytes)        4096
> -c: core file size (blocks)    unlimited
> -m: resident set size (kbytes) 12186708
> -l: locked-in-memory size (kb) 4062236
> -u: processes                  160
> -n: file descriptors           128
> -b: socket buffer size (bytes)unlimited
> -v: virtual memory size (kb)   unlimited
> -r: threads                    160
> 
> I've added all these patches to pkgsrc, thanks again.
> 
> I have a packaging issue as well.
> When grepping for "bin/zsh" on the source, there are two kinds of matches:
> 
> Functions/Example/zless:#!/bin/zsh -f
> Functions/Example/cat:#!/bin/zsh -f
> Functions/Misc/zed:#!/bin/zsh
> Functions/Misc/run-help:#!/bin/zsh
> Functions/Misc/zcalc:#!/bin/zsh -i
> Functions/Misc/checkmail:#!/bin/zsh
> Functions/Misc/sticky-note:#!/bin/zsh -fi
> Functions/Misc/zkbd:#!/bin/zsh -f
> Functions/Calendar/calendar_add:#!/bin/zsh
> Test/ztst.zsh:#!/bin/zsh -f
> Test/runtests.zsh:#!/bin/zsh -f
> 
> Util/reporter:#!/usr/local/bin/zsh
> Misc/globtests.ksh:#!/usr/local/bin/zsh -f
> Misc/globtests:#!/usr/local/bin/zsh -f
> 
> The installation directory with pkgsrc is ${PREFIX}, usually /usr/pkg,
> which is why pkgsrc replaces these to point to ${PREFIX}/bin/zsh. I
> wonder if you see it as worth your time to fix the path in these files
> to ${PREFIX}/bin/zsh (expanded, of course) during the build?
> 
>  Thomas


  parent reply	other threads:[~2014-06-24 14:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 12:04 tgoto issue in zsh-5.0.0 Thomas Klausner
2012-08-16 13:07 ` Peter Stephenson
2012-08-16 13:20   ` Thomas Klausner
2012-08-16 13:25     ` Peter Stephenson
2012-08-16 14:25       ` pkgsrc patches for zsh [was Re: tgoto issue in zsh-5.0.0] Thomas Klausner
2012-08-16 19:18         ` Peter Stephenson
2012-08-17  8:11           ` Thomas Klausner
2012-08-17  9:38             ` Peter Stephenson
2012-08-17 10:50               ` Thomas Klausner
2012-08-17 11:35                 ` Peter Stephenson
2012-08-17 12:16                   ` Thomas Klausner
2012-08-17 13:27                     ` Peter Stephenson
2014-06-24 14:37                     ` Thomas Klausner [this message]
2014-06-24 15:07                       ` ulimit -a: -r vs -N [was Re: pkgsrc patches for zsh] Peter Stephenson
2014-06-24 16:11                         ` Thomas Klausner
2014-06-24 16:26                           ` Peter Stephenson
2014-06-24 17:09                             ` Thomas Klausner
2014-06-25  8:26                               ` Peter Stephenson
2014-06-25  8:36                                 ` Thomas Klausner
2014-06-25 10:33                                   ` Peter Stephenson
2014-06-25 11:00                                     ` Thomas Klausner
2014-06-25 11:11                                       ` Peter Stephenson
2014-06-25 12:18                                         ` Thomas Klausner
2014-06-26  8:31                                         ` Daniel Shahaf
2014-06-26  9:49                                           ` Peter Stephenson

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=20140624143711.GG13765@danbala.tuwien.ac.at \
    --to=tk@giga.or.at \
    --cc=Peter.Stephenson@csr.com \
    --cc=zsh-workers@zsh.org \
    /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).