Re: [ast-users] segfault in child shell--debugging steps?

2013-01-02 Thread Glenn Fowler
On Thu, 3 Jan 2013 00:25:34 -0500 Aaron Davies wrote: i've been seeing a fairly consistent segfault in ksh93u when running as a background child process of another ksh93u instance. i haven't had the time to do a full investigation yet, but it seems to be crashing inside the memory manager.

Re: [ast-users] Thank you for the grep builtin!

2013-06-06 Thread Glenn Fowler
great - any soft numbers on improvement? On Thu, 6 Jun 2013 11:23:27 +0200 Lionel Cons wrote: I'd like say Thank you for adding the grep builtin to ksh93. Today we figured out that this gave a major performance boost and helped a lot working around shoddy or broken grep implementations.

Re: [ast-users] [ast-developers] VMALLOC_OPTIONS='abort' no longer calling abort() on heap corruption?

2013-06-07 Thread Glenn Fowler
On Thu, 6 Jun 2013 12:52:14 +0200 Lionel Cons wrote: A colleague is asking: Is VMALLOC_OPTIONS='abort' no longer calling abort() on heap corruption when libast::free() is passed a pointer which does not originate from libast::malloc()/calloc()? libast version is ast-ksh.2013-05-24 thanks --

Re: [ast-users] bug: kill(1) in ksh93 doesn't check for kill(3p) and killpg(3p) errors

2013-06-17 Thread Glenn Fowler
On Mon, 17 Jun 2013 16:00:21 +0200 Cedric Blancher wrote: On 17 June 2013 15:50, Glenn Fowler g...@research.att.com wrote: On Mon, 17 Jun 2013 14:59:38 +0200 Cedric Blancher wrote: I found a bug in ksh93's kill(1) implementation: It doesn't check for errors when kill(3p) and killpg(3p

Re: [ast-users] Directory walker API which takes directory fd as input?

2013-06-17 Thread Glenn Fowler
no -- that's a good point we would probably add fts_openat(path, fd, flags, comparf) and extend the *at() semantics to allow path==0 to use fd already in hand On Mon, 17 Jun 2013 16:22:36 +0200 Lionel Cons wrote: Does libast have a directory walker API which can take a directory fd (for

Re: [ast-users] [ast-developers] SFIO sfgetd() support for C99 printf(%a) format?

2013-07-16 Thread Glenn Fowler
On Sat, 13 Jul 2013 10:48:55 +0200 Lionel Cons wrote: Does SFIO's sfgetd() have support for C99 printf(%a) format? both sfputu()/sfgetu() for integers and sfputd()/sfgetd() for floating point use sfio-specific encodings sfscanf() handles %a format via ast { strtof strtod

Re: [ast-users] [ast-developers] SFIO sfgetd() support for C99 printf(%a) format?

2013-07-16 Thread Glenn Fowler
On Tue, 16 Jul 2013 16:58:34 +0200 Lionel Cons wrote: On 16 July 2013 16:53, Glenn Fowler g...@research.att.com wrote: On Sat, 13 Jul 2013 10:48:55 +0200 Lionel Cons wrote: Does SFIO's sfgetd() have support for C99 printf(%a) format? both sfputu()/sfgetu() for integers

Re: [ast-users] [ast-developers] Matching accented é with [=e=] using AST tr

2013-07-18 Thread Glenn Fowler
this is fixed for the next alpha later today On Thu, 14 Mar 2013 14:19:58 +0100 Cedric Blancher wrote: How do I match accented e (i.e. é) using an equivalence class in AST tr? Doing that in sed is easy: ~/bin/sed -r s/[[=e=]]/X/g 8é8 ; printf \n 8X8 But in tr I am not able to get it

Re: [ast-users] Looking for MVS ssh access to test latest ast-ksh.2013-06-28 ...

2013-07-18 Thread Glenn Fowler
ibm used to offer time-limited access to z/os accounts On Wed, 10 Jul 2013 03:47:19 +0200 Roland Mainz wrote: Hi! Does anyone here have an MVS system where I could log-in via ssh to buildtest the latest ksh93 version (ast-ksh.2013-06-28) and check for any bugs ? Bye, Roland

Re: [ast-users] ksh93 openat error

2013-07-19 Thread Glenn Fowler
this patch + fixes for features/fcntl.c rolled in for the next alpha On Fri, 19 Jul 2013 20:49:54 +0200 Irek Szczesniak wrote: --001a11c28aa2dd24c204e1e1caeb Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jul 19, 2013 at 1:54 PM, Philippe Bergheaud philippe.berghe...@fr.ibm.com wrote:

Re: [ast-users] No libast in INIT package?

2013-07-22 Thread Glenn Fowler
packages come in 2 flavors: source and binary in general it is best to build from source to rule out os/compiler diffs between the ast build farm and other systems all ast source packages require the INIT package the usual procedure is to download INIT and the ast-* package you want

Re: [ast-users] No libast in INIT package?

2013-07-22 Thread Glenn Fowler
On Mon, 22 Jul 2013 11:59:10 -0400 Glenn Fowler wrote: packages come in 2 flavors: source and binary in general it is best to build from source to rule out os/compiler diffs between the ast build farm and other systems all ast source packages require the INIT package the usual procedure

Re: [ast-users] [ast-developers] Matching accented é with [=e=] using AST tr

2013-07-22 Thread Glenn Fowler
On Mon, 22 Jul 2013 12:02:15 +0200 Cedric Blancher wrote: On 18 July 2013 16:14, Glenn Fowler g...@research.att.com wrote: this is fixed for the next alpha later today Thanks... ast-ksh.20130719 fixes this. finally -- right? I'm not pleased with the speed of the fix but absent an api

Re: [ast-users] No libast in INIT package?

2013-07-22 Thread Glenn Fowler
it tries to run the included AST version of 'mkdir' which cannot run because it cannot find 'libast.so'. Which is not included in the INIT package. Yours, George Reimer -Original Message- From: Glenn Fowler [mailto:g...@research.att.com] Sent: Monday, July 22, 2013 11:59 AM To: ast

Re: [ast-users] ACL lists not preserved when copying files with ksh cp

2013-07-23 Thread Glenn Fowler
On Tue, 23 Jul 2013 19:16:43 +0200 Tina Harriott wrote: I hope this is the right place to report to. On Suse Linux nfs4 ACL lists are not preserved if I copy files with ksh's builtin cp command. To demonstrate: 1. touch aaa 2. nfs4_setfacl -a A::testuser@localdomain:RX aaa 3.

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-07-24 Thread Glenn Fowler
On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: Here's one of my little tough problems which I am unable to solve myself, even after looking at the source code of ast-ksh. The problem below requires a good understanding how floating point numbers are implemented in computers. I'm

Re: [ast-users] Demo code and contrib packages?

2013-07-24 Thread Glenn Fowler
On Wed, 24 Jul 2013 18:52:14 +0200 Tina Harriott wrote: Does ast-ksh have extension packages like demo and contrib like bash and zsh do? in ksh user extension are called builtins and have an main(argc,argv,context) api its described in the nav bar at

Re: [ast-users] ACL lists not preserved when copying files with ksh cp

2013-07-24 Thread Glenn Fowler
On Wed, 24 Jul 2013 18:52:57 +0200 Tina Harriott wrote: On 23 July 2013 20:43, Glenn Fowler g...@research.att.com wrote: On Tue, 23 Jul 2013 19:16:43 +0200 Tina Harriott wrote: I hope this is the right place to report to. On Suse Linux nfs4 ACL lists are not preserved if I copy files

Re: [ast-users] Demo code and contrib packages?

2013-07-24 Thread Glenn Fowler
On Wed, 24 Jul 2013 22:15:01 +0200 Tina Harriott wrote: On 24 July 2013 19:32, Glenn Fowler g...@research.att.com wrote: On Wed, 24 Jul 2013 18:52:14 +0200 Tina Harriott wrote: Does ast-ksh have extension packages like demo and contrib like bash and zsh do? in ksh user extension

Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-08-01 Thread Glenn Fowler
sorry for the delay on responding this will show the universe setting getconf UNIVERSE the universe is similar to gnu's POSIXLY_CORRECT and handle parts of std utilities that are undefined or implementation-dependent att and ucb are the expected values ast source for the most part

Re: [ast-users] Errors while trying to build ksh.2013-08-07 on debian testing

2013-08-12 Thread Glenn Fowler
thanks for the report this will be fixed in the next alpha On Sun, 11 Aug 2013 22:35:02 +0200 Giovanni Rapagnani wrote: This is a multi-part message in MIME format. --01090103030704000604 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello,

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-12 Thread Glenn Fowler
On Sun, 11 Aug 2013 22:57:40 +0200 Roland Mainz wrote: On Sun, Aug 11, 2013 at 6:15 PM, Cedric Blancher cedric.blanc...@gmail.com wrote: On 11 August 2013 10:43, Tina Harriott tina.harriott.m...@gmail.com wrote: On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler g...@research.att.com wrote

Re: [ast-users] Errors while trying to build ksh.2013-08-07 on debian testing

2013-08-12 Thread Glenn Fowler
On Mon, 12 Aug 2013 15:44:17 -0400 Glenn Fowler wrote: On Mon, 12 Aug 2013 21:35:53 +0200 Joshuah Hurst wrote: On Mon, Aug 12, 2013 at 9:32 PM, Glenn Fowler g...@research.att.com wrote: I'm working on this offline with Giovanni its a fault in the packaging Are you sure? /usr

Re: [ast-users] Anyone got /dev/file@ working?

2013-08-29 Thread Glenn Fowler
On Fri, 30 Aug 2013 04:03:57 +0200 Cedric Blancher wrote: On 28 August 2013 16:32, Lionel Cons lionelcons1...@gmail.com wrote: Did anyone got /dev/file@ working in ast-ksh.20130814 or is that feature broken there? This is again broken in ast-ksh.20130829: ksh -c 'redirect

Re: [ast-users] Anyone got /dev/file@ working?

2013-08-29 Thread Glenn Fowler
On Fri, 30 Aug 2013 04:33:09 +0200 Cedric Blancher wrote: On 30 August 2013 04:29, Glenn Fowler g...@research.att.com wrote: On Fri, 30 Aug 2013 04:03:57 +0200 Cedric Blancher wrote: On 28 August 2013 16:32, Lionel Cons lionelcons1...@gmail.com wrote: Did anyone got /dev/file@ working

Re: [ast-users] NaN and their payloads

2013-09-03 Thread Glenn Fowler
I'm aware of NaN payload but have not seen C code that * has MIN/MAX macros for the min/max payload value for a give FP type * sets a NaN value with a specific payload * extracts a payload from a NaN are there standard api's for this? for the casual reader, comparisons on

Re: [ast-users] [ast-developers] arithmetric function int() does not work

2013-09-03 Thread Glenn Fowler
On Tue, 3 Sep 2013 04:35:56 +0200 Tina Harriott wrote: The arithmetic function int() does not work in sh (ATT Research) 93v- 2013-08-27 I get this: ksh -c 'print -- $(( log2( int(pow(2,69) )) ))' 69 But it should print 'nan', as it does if I use explicitly an intermediate integer

Re: [ast-users] Thank you for the grep builtin!

2013-09-13 Thread Glenn Fowler
On Fri, 13 Sep 2013 17:14:03 +0200 Lionel Cons wrote: On 18 June 2013 10:20, Glenn Fowler g...@research.att.com wrote: you showed ast grep strace output but not gnu grep gnu /usr/bin/grep does read of varying chunk sizes on my redhat linux for NFS files the chunk sizes were around 32Ki

Re: [ast-users] Thank you for the grep builtin!

2013-09-13 Thread Glenn Fowler
On Fri, 13 Sep 2013 23:14:22 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote: Glenn, shared mmap() mapping do not have any impact on fork() performance, at least on VM architectures who can share pages (this is common practice since at least SystemV, and no modern Unix or Linux exists which

Re: [ast-users] Thank you for the grep builtin!

2013-09-13 Thread Glenn Fowler
areas is a concern at fork() time, but not their size. Olga On Fri, Sep 13, 2013 at 11:20 PM, Glenn Fowler g...@research.att.com wrote: On Fri, 13 Sep 2013 23:14:22 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote: Glenn, shared mmap() mapping do not have any impact on fork

Re: [ast-users] [ast-developers] 'printf foo bar; head -1 bar' - ksh93 builtin vs OSX portability?

2013-09-20 Thread Glenn Fowler
this was an interesting diversion a text file with size0 and newline!=last-char has an incomplete line the head and tail descriptions do not mention incomplete lines but head has some text that is equivalent to incomplete line counts as a line: When a file contains less than number lines, it

Re: [ast-users] Number of allocated bytes through pointer?

2013-09-27 Thread Glenn Fowler
On Fri, 27 Sep 2013 10:09:11 +0200 Simon Toedt wrote: Does libast's malloc() implementation have an api to return the number of bytes which were allocated for a pointer returned by malloc() or realloc()? it used to but not since the thread-safe-efficient retooling

Re: [ast-users] dgk gsf status

2013-10-01 Thread Glenn Fowler
will continue to work on AST software, and might actually have more time (at least in the short run) to focus on it. On Tue, Oct 1, 2013 at 2:55 PM, Glenn Fowler glenn.s.fow...@gmail.comwrote: As has been pointed out several times on the AST and UWIN lists, ATT gives very little support to OpenSouce

Re: [ast-users] If this is a bug, what ksh version must I upgrade to?

2013-10-29 Thread Glenn Fowler
its a performance problem with the underlying regex whenever (...) groups are involved it has to work harder if you only care about *any* match vs the longest of the leftmost matches then prefix the pattern with ~(-g) which means not greedy or minimal this loop shows the time deterioration x= for

Re: [ast-users] [ast-developers] Temporary project work at Google Code?

2013-10-29 Thread Glenn Fowler
thanks for the suggestion, its added to the list of possibilities today dgk and I may finally be in a place to start building again its amazing how systems (in this case gsfdgk home systems), left to their own designs, become harder to replicate as time passes in my particular case I have

Re: [ast-users] If this is a bug, what ksh version must I upgrade to?

2013-10-30 Thread Glenn Fowler
element of {.sh.match}, in this case index 2. Thanks, Dan -- *From: *Glenn Fowler glenn.s.fow...@gmail.com *To: *Dan Rickhoff dan.rickh...@comcast.net *Cc: *ast-users@lists.research.att.com *Sent: *Tuesday, October 29, 2013 7:24:26 AM *Subject: *Re: [ast-users

Re: [ast-users] [ast-developers] tr broken in astksh.20131010?

2013-11-19 Thread Glenn Fowler
baby steps for this one we (dgk gsf) need to confirm our decades old process has resurrected On Tue, Nov 19, 2013 at 7:23 AM, Cedric Blancher cedric.blanc...@gmail.comwrote: On 18 November 2013 16:58, Glenn Fowler glenn.s.fow...@gmail.com wrote: problem reproduced and cause isolated

Re: [ast-users] Severe performance regression between ksh 2010-03-05 and 2013-10-08

2013-12-01 Thread Glenn Fowler
...@gmail.comwrote: On 28 November 2013 08:58, Glenn Fowler glenn.s.fow...@gmail.com wrote: here are some points of reference showing real user sys times these were manually sampled to pinpoint jumps in performance from 206 ksh binaries from 2006-11-22 through 2013-09-10 ksh-2009-11-17 0m12.06s

Re: [ast-users] Severe performance regression between ksh 2010-03-05 and 2013-10-08

2013-12-05 Thread Glenn Fowler
edit src/lib/libast/vmalloc/vmmaddress.c and change #define VMCHKMEM0 this affects vmalloc detecting overbooked memory but will disable the MAP_FIXED codepath On Thu, Dec 5, 2013 at 4:50 PM, Irek Szczesniak iszczesn...@gmail.comwrote: On Wed, Dec 4, 2013 at 3:02 PM, Glenn Fowler

Re: [ast-users] [patch] vmalloc |mmap(MAP_ANON)| fixes for fragmentation issues (on Solaris) ... / was: Re: Severe performance regression between ksh 2010-03-05 and 2013-10-08

2013-12-09 Thread Glenn Fowler
:40 AM, Glenn Fowler glenn.s.fow...@gmail.com wrote: On Thu, Dec 5, 2013 at 4:50 PM, Irek Szczesniak iszczesn...@gmail.com wrote: On Wed, Dec 4, 2013 at 3:02 PM, Glenn Fowler glenn.s.fow...@gmail.com wrote: On Sun, Dec 1, 2013 at 4:58 PM, Lionel Cons lionelcons1...@gmail.com wrote

Re: [ast-users] vmalloc memory allocations via shared memory ? / was: Re: [patch] vmalloc |mmap(MAP_ANON)| fixes for fragmentation issues (on Solaris) ... / was: Re: Severe performance regression betw

2013-12-10 Thread Glenn Fowler
On Mon, Dec 9, 2013 at 5:17 PM, Roland Mainz roland.ma...@nrubsig.orgwrote: On Mon, Dec 9, 2013 at 10:53 PM, Roland Mainz roland.ma...@nrubsig.org wrote: On Fri, Dec 6, 2013 at 5:40 AM, Glenn Fowler glenn.s.fow...@gmail.com wrote: On Thu, Dec 5, 2013 at 4:50 PM, Irek Szczesniak iszczesn

Re: [ast-users] [ast-developers] vmalloc memory allocations via shared memory ? / was: Re: [patch] vmalloc |mmap(MAP_ANON)| fixes for fragmentation issues (on Solaris) ... / was: Re: Severe performanc

2013-12-10 Thread Glenn Fowler
i'll defer to kpv on this On Tue, Dec 10, 2013 at 4:08 AM, Lionel Cons lionelcons1...@gmail.comwrote: On 10 December 2013 09:13, Glenn Fowler glenn.s.fow...@gmail.com wrote: On Mon, Dec 9, 2013 at 5:17 PM, Roland Mainz roland.ma...@nrubsig.org wrote: On Mon, Dec 9, 2013 at 10:53 PM

[ast-users] ast beta software download update

2014-04-15 Thread Glenn Fowler
the ast beta 2014-04-15 source release has been posted to the download site gsf.cococlyde.org = download = beta the package names and md5 checksums are INIT 09fd885fdfa18cce16787b991dec55e1 ast-base 313056c51d69c49f0436aba80045bb4a ast-open

Re: [ast-users] ast beta software download update

2014-04-16 Thread Glenn Fowler
sorry for the problems -- this is what happens when 15 year old procedures change it will be fixed in about 12 hours when I get back to a terminal On Wed, Apr 16, 2014 at 3:34 AM, Dr. Werner Fink wer...@suse.de wrote: On Wed, Apr 16, 2014 at 08:07:11AM +0200, Michal Hlavinka wrote: Hi Glenn,

Re: [ast-users] ast beta software download update

2014-04-17 Thread Glenn Fowler
try again On Wed, Apr 16, 2014 at 11:51 AM, Glenn Fowler glenn.s.fow...@gmail.comwrote: sorry for the problems -- this is what happens when 15 year old procedures change it will be fixed in about 12 hours when I get back to a terminal On Wed, Apr 16, 2014 at 3:34 AM, Dr. Werner Fink wer

[ast-users] beta source download

2014-05-13 Thread Glenn Fowler
2014-05-09 beta source at gsf.cococlyde.org/download/ = beta builds with linux clang macosx clang fixes not in yet ___ ast-users mailing list ast-users@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-users

Re: [ast-users] ast-ksh failing to build on RHEL7

2014-07-26 Thread Glenn Fowler
sorry for the delay still recovering from vacation run this: --- cd /home/qbarnes/ksh-20140625/arch/linux.i386-64/src/lib/libast iffe -d2 -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O2' - run /home/qbarnes/ksh-20140625/src/lib/libast/features/socket iffe.out 21 --- and send me

Re: [ast-users] [ast-developers] new home for AST and UWIN software

2016-01-20 Thread Glenn Fowler
Thanks Lefty for all the work getting this up and running. I know dgk has some patches in the works. He may be offline for the next few weeks. On Tue, Jan 19, 2016, 4:06 PM Eleftherios Koutsofios wrote: > hi AST and UWIN users. > > as many of you noticed, the download