support /etc/inputrc as a system-wide fallback default ?

2006-02-04 Thread Mike Frysinger
we've been using a patch in Gentoo for sometime which adds support for /etc/inputrc as a fallback after $INPUTRC and ~/.inputrc ... i couldnt seem to find anything in the archives where someone proposed this be added to readline, but maybe i just missed it ? -mike

Re: support /etc/inputrc as a system-wide fallback default ?

2006-02-04 Thread Mike Frysinger
On Saturday 04 February 2006 18:35, Dmitry V. Levin wrote: I believe this idea comes from Debian and is used also in other distros including ALT and Owl, see e.g. http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/bash/readline-5.1-de b-alt-inputrc.diff Yes, it looks not yet submitted.

Re: problem ? bug ?

2006-02-04 Thread Mike Frysinger
On Sunday 05 February 2006 00:41, Paul Jarc wrote: [EMAIL PROTECTED] wrote: [kaneda-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi -a is used as a binary and operator here. The expressions ! and /etc/passwd are nonempty strings, so both are considered true, and the overall result

problem ? bug ?

2006-02-04 Thread kaneda
Hello... from man bash -a file True if file exists. -e file True if file exists. and -a dosnt work good: [kaneda-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi si [kaneda-ogorasek]~$if [ -a /etc/passwd ] ; then echo si ; fi si GNU bash, version

Bug in realloc_jobs_list()

2006-02-04 Thread Jan Niehusmann
realloc_jobs_list() in bash 3.1 doesn't zero out the unused entries of the jobs[] array, so bash may segfault later when trying to dereference these entries. A reliable way to reproduce the segfault, at least on i386 linux, is % seq 0 1 | while read line; do /bin/echo $line ; done | tail -2