Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: About to release 3.0.7 ...



On Oct 18, 11:16am, Zefram wrote:
} Subject: Re: About to release 3.0.7 ...
}
} Jos Backus wrote:
} >+           if (limnam == "SBSIZE")  { msg[limnum] = "sbsize" }
} 
} This is not a good name.  zsh's resource limit names tend to be more
} verbose, so you don't need to know the system to see what is being
} limited.  I suggest the name "sktbuffersize".

It'd be more unixy to use "sockbufsize"; the common abbreviations are
"sock" and "buf" as in setbuf() and setsockopt().  I don't think I've
ever seen the abbreviation "skt" before.  Objections?

Index: Doc/Zsh/builtins.yo
===================================================================
@@ -524,7 +524,7 @@
 sitem(tt(memorylocked))(Maximum amount of memory locked in RAM.)
 sitem(tt(memoryuse))(Maximum resident set size.)
 sitem(tt(resident))(Maximum resident set size.)
-sitem(tt(sktbuffersize))(Maximum size of all socket buffers.)
+sitem(tt(sockbufsize))(Maximum size of all socket buffers.)
 sitem(tt(stacksize))(Maximum stack size for each process.)
 sitem(tt(vmemorysize))(Maximum amount of virtual memory.)
 endsitem()
Index: Src/Builtins/rlimits.awk
===================================================================
@@ -34,7 +34,7 @@
 	    if (limnam == "NPROC")   { msg[limnum] = "Nmaxproc" }
 	    if (limnam == "OFILE")   { msg[limnum] = "Ndescriptors" }
 	    if (limnam == "RSS")     { msg[limnum] = "Mresident" }
-	    if (limnam == "SBSIZE")  { msg[limnum] = "Msktbuffersize" }
+	    if (limnam == "SBSIZE")  { msg[limnum] = "Msockbufsize" }
 	    if (limnam == "STACK")   { msg[limnum] = "Mstacksize" }
 	    if (limnam == "TCACHE")  { msg[limnum] = "Ncachedthreads" }
 	    if (limnam == "VMEM")    { msg[limnum] = "Mvmemorysize" }

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author