Re: Bash Auto Completion Fubar
Esben Stien writes: > the next thing I will try, is to build the LFS core from another > system, cause maybe some files from my system has polluted the LFS > core build, somehow, even though this should be impossible when > looking at the LFS build procedure. Well, indeed this solved the problem. -- Esben Stien is b...@e s a http://www. s tn m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@n n
Re: Bash-4.0 Official Patch 23
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chet Ramey on 6/18/2009 6:55 PM: >BASH PATCH REPORT >= > > Bash-Release: 4.0 > Patch-ID: bash40-023 This appears to also be readline60-003. However, I noticed that although ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches/readline60-003 exists, the canonical ftp://ftp.gnu.org/pub/gnu/readline/readline-6.0-patches/* is missing. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpAzHAACgkQ84KuGfSFAYCZCwCfdV63F98i7WVnLH6k4ACg69KC rxcAoJT9u8H0mY8G6Q71ap+saqWRs5p3 =MmmD -END PGP SIGNATURE-
Re: feature request: more complete set -e
Marc Weber wrote: > Hi, > > I stumbled about another bash problem today: > > for item in $(false); > echo $item > done || { echo for failed; } > > doesn't fail. I think it's bad that there is no > set -e > > like switch which really catches all failures of this kind. This isn't really about set -e or ||; the for loop doesn't fail. Posix.2 says, in part, "[T]he list of words following in shall be expanded to generate a list of items...If there are no items, the exit status shall be zero." http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_03 Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
Re: Bash-4.0 Official Patch 23
Eric Blake wrote: > According to Chet Ramey on 6/18/2009 6:55 PM: >> BASH PATCH REPORT >> = > >> Bash-Release: 4.0 >> Patch-ID: bash40-023 > > This appears to also be readline60-003. However, I noticed that although > ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches/readline60-003 exists, > the canonical ftp://ftp.gnu.org/pub/gnu/readline/readline-6.0-patches/* is > missing. I'll resend the patch files to gnu.org, but I'm not sure how to get that directory created if the script that processes the `directive' file doesn't do it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
*** glibc detected *** -bash: free(): invalid next size (fast): 0x00000000006f6800 ***
~ $ bash --version GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc. 2.6.28-gentoo-r5 #1 SMP Mon Apr 27 11:34:10 CEST 2009 x86_64 Intel(R) Xeon(R) CPU X3360 @ 2.83GHz GenuineIntel GNU/Linux === Backtrace: = /lib/libc.so.6[0x7ff9af9afb88] /lib/libc.so.6(cfree+0x76)[0x7ff9af9b1746] -bash(rl_do_undo+0x57)[0x479711] -bash(rl_revert_line+0x13)[0x47989c] -bash(readline_internal_teardown+0x5d)[0x46abbe] -bash(readline+0x52)[0x46ae0b] -bash[0x423b87] -bash[0x41fd38] -bash[0x420ee3] -bash(yyparse+0x457)[0x4240bc] -bash(parse_command+0x57)[0x41deb5] -bash(read_command+0x54)[0x41df51] -bash(reader_loop+0x166)[0x41e15b] -bash(main+0x1251)[0x41dcb4] /lib/libc.so.6(__libc_start_main+0xe6)[0x7ff9af959486] -bash[0x41bbf9] === Memory map: 0040-004ae000 r-xp 08:01 38037 /bin/bash 006ae000-006af000 r--p 000ae000 08:01 38037 /bin/bash 006af000-006b9000 rw-p 000af000 08:01 38037 /bin/bash 006b9000-0070f000 rw-p 006b9000 00:00 0 [heap] 7ff9a800-7ff9a8021000 rw-p 7ff9a800 00:00 0 7ff9a8021000-7ff9ac00 ---p 7ff9a8021000 00:00 0 7ff9aecc4000-7ff9aecd9000 r-xp 08:01 608093 /lib64/libgcc_s.so.1 7ff9aecd9000-7ff9aeed8000 ---p 00015000 08:01 608093 /lib64/libgcc_s.so.1 7ff9aeed8000-7ff9aeed9000 r--p 00014000 08:01 608093 /lib64/libgcc_s.so.1 7ff9aeed9000-7ff9aeeda000 rw-p 00015000 08:01 608093 /lib64/libgcc_s.so.1 7ff9aeeda000-7ff9aeee4000 r-xp 08:01 322963 /lib64/libnss_files-2.8.so 7ff9aeee4000-7ff9af0e4000 ---p a000 08:01 322963 /lib64/libnss_files-2.8.so 7ff9af0e4000-7ff9af0e5000 r--p a000 08:01 322963 /lib64/libnss_files-2.8.so 7ff9af0e5000-7ff9af0e6000 rw-p b000 08:01 322963 /lib64/libnss_files-2.8.so 7ff9af0e6000-7ff9af0f r-xp 08:01 322652 /lib64/libnss_nis-2.8.so 7ff9af0f-7ff9af2ef000 ---p a000 08:01 322652 /lib64/libnss_nis-2.8.so 7ff9af2ef000-7ff9af2f r--p 9000 08:01 322652 /lib64/libnss_nis-2.8.so 7ff9af2f-7ff9af2f1000 rw-p a000 08:01 322652 /lib64/libnss_nis-2.8.so 7ff9af2f1000-7ff9af306000 r-xp 08:01 322983 /lib64/libnsl-2.8.so 7ff9af306000-7ff9af505000 ---p 00015000 08:01 322983 /lib64/libnsl-2.8.so 7ff9af505000-7ff9af506000 r--p 00014000 08:01 322983 /lib64/libnsl-2.8.so 7ff9af506000-7ff9af507000 rw-p 00015000 08:01 322983 /lib64/libnsl-2.8.so 7ff9af507000-7ff9af509000 rw-p 7ff9af507000 00:00 0 7ff9af509000-7ff9af51 r-xp 08:01 322987 /lib64/libnss_compat-2.8.so 7ff9af51-7ff9af70f000 ---p 7000 08:01 322987 /lib64/libnss_compat-2.8.so 7ff9af70f000-7ff9af71 r--p 6000 08:01 322987 /lib64/libnss_compat-2.8.so 7ff9af71-7ff9af711000 rw-p 7000 08:01 322987 /lib64/libnss_compat-2.8.so 7ff9af711000-7ff9af93b000 r--p 08:01 96004 /usr/lib64/locale/locale-archive 7ff9af93b000-7ff9afa86000 r-xp 08:01 322672 /lib64/libc-2.8.so 7ff9afa86000-7ff9afc86000 ---p 0014b000 08:01 322672 /lib64/libc-2.8.so 7ff9afc86000-7ff9afc8a000 r--p 0014b000 08:01 322672 /lib64/libc-2.8.so 7ff9afc8a000-7ff9afc8b000 rw-p 0014f000 08:01 322672 /lib64/libc-2.8.so 7ff9afc8b000-7ff9afc9 rw-p 7ff9afc8b000 00:00 0 7ff9afc9-7ff9afc92000 r-xp 08:01 321395 /lib64/libdl-2.8.so 7ff9afc92000-7ff9afe92000 ---p 2000 08:01 321395 /lib64/libdl-2.8.so 7ff9afe92000-7ff9afe93000 r--p 2000 08:01 321395 /lib64/libdl-2.8.so 7ff9afe93000-7ff9afe94000 rw-p 3000 08:01 321395 /lib64/libdl-2.8.so 7ff9afe94000-7ff9afee1000 r-xp 08:01 40488 /lib64/libncurses.so.5.6 7ff9afee1000-7ff9b00e1000 ---p 0004d000 08:01 40488 /lib64/libncurses.so.5.6 7ff9b00e1000-7ff9b00ee000 r--p 0004d000 08:01 Aborted
Re: *** glibc detected *** -bash: free(): invalid next size (fast): 0x00000000006f6800 ***
Anthony Durity wrote: > ~ $ bash --version > GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu) > Copyright (C) 2007 Free Software Foundation, Inc. > > 2.6.28-gentoo-r5 #1 SMP Mon Apr 27 11:34:10 CEST 2009 x86_64 Intel(R) > Xeon(R) CPU X3360 @ 2.83GHz GenuineIntel GNU/Linux > > === Backtrace: = > /lib/libc.so.6[0x7ff9af9afb88] > /lib/libc.so.6(cfree+0x76)[0x7ff9af9b1746] > -bash(rl_do_undo+0x57)[0x479711] > -bash(rl_revert_line+0x13)[0x47989c] > -bash(readline_internal_teardown+0x5d)[0x46abbe] > -bash(readline+0x52)[0x46ae0b] I'm going to assume that you have enabled the `revert-all-at-newline' readline variable. Can you give me an idea of what you did on the line before hitting newline? I can't reproduce the crash with the small amount of testing I just did using bash-4.0. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
how to get out of the vi editing mode
I hit something by accident and command line editing no longer works. (I think I switched to the vi mode). 1. how do I get back to the emacs mode? (aka what did I hit?!) 2. how do I disable vi mode forever and ever (short of recompiling bash myself)? thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty) http://mideasttruth.com http://palestinefacts.org http://ffii.org http://thereligionofpeace.com http://pmw.org.il http://dhimmi.com Perl: all stupidities of UNIX in one.