Re: BUG?: (or what's going on?) test for NL == NL fails (bash-4.3.39(3)-release)

2015-08-03 Thread Greg Wooledge
On Sun, Aug 02, 2015 at 01:30:14PM -0700, Linda Walsh wrote: > isatty () { test -c /proc/self/fd/1 ; } This can be done portably with test -t 1 if you want the body of the function to do what the name implies. (Testing for a character device gives false positives if stdout is a tape drive or simi

Re: BUG?: (or what's going on?) test for NL == NL fails (bash-4.3.39(3)-release)

2015-08-03 Thread Andreas Schwab
Greg Wooledge writes: > (Testing for a character device gives false positives if stdout is a > tape drive or similar device.) Even /dev/null. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something c

Inhibit redisplay of prompt in 4.4-alpha

2015-08-03 Thread Jesper Nygårds
I am testing the following change in 4.4-alpha: ggg. The commands executed by `bind -x' now redisplay at most the final line of a multi-line prompt, and those commands may return 124 to indicate that the entire prompt should be redrawn. This is great news and means that two-line prompts

Re: Bash 4.3.30 on AIX 6.1 filename completion

2015-08-03 Thread Chet Ramey
On 8/2/15 8:50 PM, Steve Dahl wrote: > If on AIX 6.1, I mount an NFS volume exported from CentOS 6.7, Bash > (4.3.30) is unable to do tab completion within that file system. If (for > example) I search for files that I know exist, such as: > > ls -l /path/to/files/*.h > > ...no answers are re

Re: Bash 4.3.30 on AIX 6.1 filename completion

2015-08-03 Thread Andreas Schwab
Steve Dahl writes: > Is there already a version of "bash" somewhere that already supports large > file systems on AIX if its compilation is configured right? Try compiling with the flags as returned by "getconf LFS_CFLAGS". Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerp

Re: BUG?: (or what's going on?) test for NL == NL fails (bash-4.3.39(3)-release)

2015-08-03 Thread Linda Walsh
Greg Wooledge wrote: On Sun, Aug 02, 2015 at 01:30:14PM -0700, Linda Walsh wrote: isatty () { test -c /proc/self/fd/1 ; } This can be done portably with test -t 1 if you want the body of the function to do what the name implies. (Testing for a character device gives false positives if stdou