Re: I am not even remotely sure whether this is a bug: redefining getenv/setenv/et al.

2016-03-12 Thread Chet Ramey
On 3/10/16 3:48 PM, Peter Seebach wrote: > And I have for some time had a very strange problem, which is that > "sometimes" unsetting LD_PRELOAD doesn't work. Well, it turns out that the > issue is that bash provides its own definitions of getenv/setenv/unsetenv, > and they don't automatically mod

Re: Hard-wrapped commands are displayed incorrectly after READLINE_LINE is changed

2016-03-12 Thread Chet Ramey
On 3/11/16 6:10 AM, Lauri Ranta wrote: > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > With for example `bind -x '"\ea":READLINE_LINE='` and `PS1='$ '`, if the > width of a shell window is 20 characters so that the 30 character command > > $ aa >

Re: bash and sshd trap anomaly

2016-03-12 Thread Chet Ramey
On 3/10/16 10:07 AM, Olof Schonbeck wrote: > In a small bash script we have a trap to cleanup some files when exiting. You > run the script by ssh to the machine in question and execute the script. If > your ssh session dies the trap should trigger and clean up the files as the > script exit bu