Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Henry Bent
On Tue, 15 Nov 2022 at 20:02, Koichi Murase wrote: > 2022年11月16日(水) 9:36 Koichi Murase : > > > > 2022年11月16日(水) 0:18 Henry Bent : > > > There is a free Alpha emulator here: > > > http://www.migrationspecialties.com/FreeAXP.html . I haven't used > > > it extensively since I have real hardware but

Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Koichi Murase
2022年11月16日(水) 9:36 Koichi Murase : > > 2022年11月16日(水) 0:18 Henry Bent : > > There is a free Alpha emulator here: > > http://www.migrationspecialties.com/FreeAXP.html . I haven't used > > it extensively since I have real hardware but it seems to work > > reasonably well. > > Thank you for the info

Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Koichi Murase
2022年11月16日(水) 0:18 Henry Bent : > There is a free Alpha emulator here: > http://www.migrationspecialties.com/FreeAXP.html . I haven't used > it extensively since I have real hardware but it seems to work > reasonably well. Thank you for the information. I tried to install Tru64 5.1b in FreeAXP,

Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Koichi Murase
2022年11月16日(水) 0:11 Chet Ramey : > It should be possible to simulate a machine like this by manually editing > config.h after running configure. You are right. There are three more places to fix in addition to the two in the previous reply (see the attached 202211-0044.HAVE_PSELECT-in-True64-v2.pa

Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Henry Bent
On Tue, 15 Nov 2022 at 10:11, Chet Ramey wrote: > On 11/14/22 10:01 PM, Koichi Murase wrote: > > > I think someone needs to finally check the fixed version actually > > compiles in a real Tru64 machine. I attach a possible patch > > [202211-0044.HAVE_PSELECT-in-True64.patch] but haven't tested it

Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Chet Ramey
On 11/14/22 10:01 PM, Koichi Murase wrote: 2022年11月15日(火) 9:04 Henry Bent : In bash-5.2.9 if HAVE_SELECT is set but HAVE_PSELECT is not, we still need the "fd_set readfds;" at line 808 in lib/readline/input.c. Found on Tru64 5.1. This seems to be reported repeatedly for different lines in the

Re: bash-5.2.9 lib/readline/input.c fix for Tru64

2022-11-15 Thread Chet Ramey
On 11/14/22 6:56 AM, Henry Bent wrote: Also this platform doesn't have strtoimax but config.h is still setting #define HAVE_DECL_STRTOIMAX 1 #define HAVE_DECL_STRTOLL 1 #define HAVE_DECL_STRTOULL 1 #define HAVE_DECL_STRTOUMAX 1 even though later on it correctly realizes that HAVE_STRTOLL, HAVE

Re: "cannot execute binary file" error with Bash 5.2

2022-11-15 Thread Chet Ramey
On 11/14/22 2:40 PM, loic.yh...@gmail.com wrote: Bash Version: 5.2 Patch Level: 2 Release Status: release Description: I can no longer run xxx-ct-ng.config scripts produced by crosstool-ng. Those just contain a few lines of script, with appended bzip2 compressed text.

Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime

2022-11-15 Thread Alex fxmbsw7 Ratchev
i d be all for changeable glob s appearing On Tue, Nov 15, 2022, 02:40 Chet Ramey wrote: > On 10/3/22 2:56 PM, Evan Gates wrote: > > --- > > > > There is currently no good way to sort files by mtime in the shell. > > It's possible to do so with an ls that supports -t, but parsing ls is > > probl