Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread jidanni
Instead of having bash make judgements about what people want from their personal mix of: $ locale|sed 's/.*=//;s///g;/^$/d'|sort|uniq -c 2 C 11 zh_TW.UTF-8 instead just have a passthru option they could enable, that says I hereby agree that I want to be sent raw -x output back, and if

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 12:08 am, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 April 2009 15:10:16 Special Sauce wrote: From: anton To: bug-b...@gnu.org Subject: Cursor starts inside prompt Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS:

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Ian Kelling
Mike Frysinger wrote: considering it seems to involve the prompt, you really need to post your exact prompt settings (i.e. PS1/PS2/etc...) -mike Realize that in PS vars, \[ and \] should be used around non-printable characters. This surely won't happen if you start with --norc. You've got to

Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread jidanni
locale variables have pretty clear definitions. obviously LC_COLLATE wouldnt be relevant here, but LC_MESSAGES certainly would. Assumptions, assumptions, those happen to be the two C's for me. So let me override without having to tamper with them please.

Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 03:04:15 jida...@jidanni.org wrote: locale variables have pretty clear definitions. obviously LC_COLLATE wouldnt be relevant here, but LC_MESSAGES certainly would. Assumptions, assumptions, those happen to be the two C's for me. So let me override without having

Re: Misleading syntax in manual

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Reuben Thomas on 4/6/2009 3:57 PM: The man page says: for name [ in word ] ; do list ; done which conflicts with the POSIX syntax definition, given in

Re: Misleading syntax in manual

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 4/8/2009 6:10 AM: The corresponding link in POSIX 2008 is: http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04 although the expository listing in that section is misleading. I spoke

str1 str2 does not respect locale

2009-04-08 Thread wooledg
Configuration Information [Automatically generated, do not change]: Machine: hppa2.0 OS: hpux10.20 Compiler: /net/appl/gcc-3.3/bin/gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' -DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa2.0-hp-hpux10.20' -DCONF_VENDOR='hp'

Re: str1 str2 does not respect locale

2009-04-08 Thread Chet Ramey
Configuration Information [Automatically generated, do not change]: Machine: hppa2.0 OS: hpux10.20 Compiler: /net/appl/gcc-3.3/bin/gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' -DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa2.0-hp-hpux10.20' -DCONF_VENDOR='hp'

Re: Misleading syntax in manual

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chet Ramey on 4/8/2009 6:44 AM: I prefer for name [ [in [word ...] ] ; ] do Yes, that looks nice. Meanwhile, I've raised the html render bug with the Austin group:

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 7:16 am, Greg Wooledge wool...@eeg.ccf.org wrote: On Tue, Apr 07, 2009 at 11:04:58PM -0700, Special Sauce wrote: [an...@nobby-nobbs ~]$ echo $PS1 [\[\e[28;1m\...@\h\[ \e[0m\]\w]$                     ^^^ The space after \[ is not correct.  You're sending a space to the terminal

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 7:16 am, Greg Wooledge wool...@eeg.ccf.org wrote: On Tue, Apr 07, 2009 at 11:04:58PM -0700, Special Sauce wrote: [an...@nobby-nobbs ~]$ echo $PS1 [\[\e[28;1m\...@\h\[ \e[0m\]\w]$                     ^^^ The space after \[ is not correct.  You're sending a space to the terminal

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 1:52 am, Mike Frysinger vap...@gentoo.org wrote: and what `locale` settings you're using -mike  signature.asc 1KViewDownload @Mike What do you mean by locale?

Re: str1 str2 does not respect locale

2009-04-08 Thread Stephane CHAZELAS
2009-04-8, 08:35(-04), Chet Ramey: Configuration Information [Automatically generated, do not change]: Machine: hppa2.0 OS: hpux10.20 Compiler: /net/appl/gcc-3.3/bin/gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' -DCONF_OSTYPE='hpux10.20'

Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread jidanni
Mike Frysinger vap...@gentoo.org writes: i never said you couldnt override them. i said the *default behavior* would OK, it's a deal. Now all that's left is for that Chet guy to implement it :-)

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 10:49:06 Special Sauce wrote: On Apr 8, 1:52 am, Mike Frysinger vap...@gentoo.org wrote: and what `locale` settings you're using @Mike What do you mean by locale? run `locale` and post the output -mike signature.asc Description: This is a digitally signed message

Re: str1 str2 does not respect locale

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 08:35:53 Chet Ramey wrote: Configuration Information [Automatically generated, do not change]: Machine: hppa2.0 OS: hpux10.20 Compiler: /net/appl/gcc-3.3/bin/gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' -DCONF_OSTYPE='hpux10.20'

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 4:42 pm, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 08 April 2009 10:49:06 Special Sauce wrote: On Apr 8, 1:52 am, Mike Frysinger vap...@gentoo.org wrote: and what `locale` settings you're using @Mike What do you mean by locale? run `locale` and post the output