Re: Bash readline remap ESC insert/command mode key

2012-01-21 Thread Chet Ramey
On 1/19/12 2:25 AM, Roger wrote: >> bind -m vi-command '"ii": vi-insertion-mode' >> bind -m vi-insert '"ii": vi-movement-mode' >> >> >> Or the following should work (untested here) using $HOME/.inputrc: >> >> $if mode=vi >> >>set keymap vi-command >>"ii": vi-insertion-mode >> >>set keym

Re: Cross compile crapout

2012-01-21 Thread Chet Ramey
On 1/21/12 11:13 AM, Jonathan Andrews wrote: > I found the fix here, but it would be nice if it could work its way into > the source for the next release. > > http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00039.html This is patch 18 to bash-4.2. -- ``The lyf so short, the craft so lo

Cross compile crapout

2012-01-21 Thread Jonathan Andrews
Trying to compile for an arm target I get this execute_cmd.c: In function 'execute_pipeline': execute_cmd.c:2205: error: 'job_control' undeclared (first use in this function) execute_cmd.c:2205: error: (Each undeclared identifier is reported only once execute_cmd.c:2205: error: for each function i

Re: echo '-e' doesn't work as expected, or does it?

2012-01-21 Thread Philip
Am Sat, 21 Jan 2012 12:24:03 +0100 schrieb Philip : > Hi! Short question this time.. > > $ echo '-e' > does not print -e > > $ echo '-e ' > does print -e . > > Is this the way as it ought to be? GNU bash, Version 4.1.5(1)-release (Debian > stable) > > Regards > Nevermind! Just found an older

echo '-e' doesn't work as expected, or does it?

2012-01-21 Thread Philip
Hi! Short question this time.. $ echo '-e' does not print -e $ echo '-e ' does print -e . Is this the way as it ought to be? GNU bash, Version 4.1.5(1)-release (Debian stable) Regards