Re: [Patch] Support UTF-8 scripts

2005-08-31 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > This patch adds support for UTF-8 signatures (aka BOM, byte order > mark) to binfmt_script. Files that start with EF BF FF # ! are now > recognized as

Re: [Patch] Support UTF-8 scripts

2005-08-31 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= [EMAIL PROTECTED] In newsgroup: linux.dev.kernel This patch adds support for UTF-8 signatures (aka BOM, byte order mark) to binfmt_script. Files that start with EF BF FF # ! are now recognized as scripts

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread Pete Zaitcev
On Mon, 15 Aug 2005 00:55:54 +0100, Alan Cox <[EMAIL PROTECTED]> wrote: > On Sul, 2005-08-14 at 15:59 -0400, Lee Revell wrote: > > I know the alternatives are available. That doesn't make it any less > > idiotic to use non ASCII characters as operators. I think it's a very > > slippery slope.

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread David Madore
On Sun, Aug 14, 2005 at 08:00:31PM +, Lee Revell wrote: > We write code in ASCII, dammit. http://www.madore.org/~david/weblog/2004-12.html#d.2004-12-03.0813 > :-) -- David A. Madore ([EMAIL PROTECTED], http://www.madore.org/~david/ ) - To unsubscribe from

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread Jan Engelhardt
>> > Thats great for the perl6 people. >> > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going >> > to be using « and » as operators... >> >> Is Larry smoking crack? That's one of the worst ideas I've heard in a >> long time. There's no easy way to enter those at the

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread Jan Engelhardt
Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using « and » as operators... Is Larry smoking crack? That's one of the worst ideas I've heard in a long time. There's no easy way to enter those at the keyboard! I have

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread David Madore
On Sun, Aug 14, 2005 at 08:00:31PM +, Lee Revell wrote: We write code in ASCII, dammit. URL: http://www.madore.org/~david/weblog/2004-12.html#d.2004-12-03.0813 :-) -- David A. Madore ([EMAIL PROTECTED], http://www.madore.org/~david/ ) - To unsubscribe from

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread Pete Zaitcev
On Mon, 15 Aug 2005 00:55:54 +0100, Alan Cox [EMAIL PROTECTED] wrote: On Sul, 2005-08-14 at 15:59 -0400, Lee Revell wrote: I know the alternatives are available. That doesn't make it any less idiotic to use non ASCII characters as operators. I think it's a very slippery slope. We write

Re: [Patch] Support UTF-8 scripts

2005-08-15 Thread Helge Hafting
Lee Revell wrote: On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using « and » as operators... Is Larry smoking crack? That's one of the worst ideas I've heard in

Re: [Patch] Support UTF-8 scripts

2005-08-15 Thread Helge Hafting
Lee Revell wrote: On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using « and » as operators... Is Larry smoking crack? That's one of the worst ideas I've heard in

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Alan Cox
On Sul, 2005-08-14 at 15:59 -0400, Lee Revell wrote: > I know the alternatives are available. That doesn't make it any less > idiotic to use non ASCII characters as operators. I think it's a very > slippery slope. We write code in ASCII, dammit. Its a trivial patch and there is a lot to be

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Valdis . Kletnieks
On Sun, 14 Aug 2005 17:52:36 EDT, Kyle Moffett said: > > Note that ?^ is functionally identical to !.?| differs from || in > Since when is the string "!.?|" an operator??? I think that was supposed to read: Note that ?^ is functionally identical to !. ?| differs from ?? in that ?| returns

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Martin v. Löwis
Lee Revell wrote: > For strings, of course. But there's no need for UTF-8 operators. Indeed - this is the main rationale for the patch, of course. People want to write non-ASCII in script primarily in string literals, and (perhaps even more often) in comments. Now, for comments, it wouldn't

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Kyle Moffett
On Aug 14, 2005, at 02:18:13, Jason L Tibbitts III wrote: "LR" == Lee Revell <[EMAIL PROTECTED]> writes: LR> Is Larry smoking crack? From the Perl6-Bible: http://search.cpan.org/dist/Perl6-Bible/lib/ Perl6/Bible/S03.pod: I think this confirms that the answer is yes. See the following at

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Lee Revell
On Sun, 2005-08-14 at 13:13 -0700, Stephen Pollei wrote: > Seems like lots of Europeans might want a bigger > charset, not to mention Asians, Hindus, and whomever else. For strings, of course. But there's no need for UTF-8 operators. Lee - To unsubscribe from this list: send the line

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Stephen Pollei
On 8/14/05, Lee Revell <[EMAIL PROTECTED]> wrote: > I know the alternatives are available. That doesn't make it any less > idiotic to use non ASCII characters as operators. I think it's a very > slippery slope. We write code in ASCII, dammit. Yes you and I might write 99.9% of our code in

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Wichert Akkerman
Previously Lee Revell wrote: > My point exactly, it's idiotic for Perl6 to use these as OPERATORS, the > atoms of the language, when there's not even a platform independent way > to type them in. I anyone had bothered to read the URL in one of the earlier emails you would have seen that '<<' is

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Jason L Tibbitts III
> "LR" == Lee Revell <[EMAIL PROTECTED]> writes: LR> Is Larry smoking crack? That's one of the worst ideas I've heard LR> in a long time. There's no easy way to enter those at the LR> keyboard! I know folks enjoy trashing Perl these days, but it's not justified in this case. From the

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Jason L Tibbitts III
LR == Lee Revell [EMAIL PROTECTED] writes: LR Is Larry smoking crack? That's one of the worst ideas I've heard LR in a long time. There's no easy way to enter those at the LR keyboard! I know folks enjoy trashing Perl these days, but it's not justified in this case. From the Perl6-Bible -

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Wichert Akkerman
Previously Lee Revell wrote: My point exactly, it's idiotic for Perl6 to use these as OPERATORS, the atoms of the language, when there's not even a platform independent way to type them in. I anyone had bothered to read the URL in one of the earlier emails you would have seen that '' is an

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Stephen Pollei
On 8/14/05, Lee Revell [EMAIL PROTECTED] wrote: I know the alternatives are available. That doesn't make it any less idiotic to use non ASCII characters as operators. I think it's a very slippery slope. We write code in ASCII, dammit. Yes you and I might write 99.9% of our code in good'ol

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Lee Revell
On Sun, 2005-08-14 at 13:13 -0700, Stephen Pollei wrote: Seems like lots of Europeans might want a bigger charset, not to mention Asians, Hindus, and whomever else. For strings, of course. But there's no need for UTF-8 operators. Lee - To unsubscribe from this list: send the line

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Kyle Moffett
On Aug 14, 2005, at 02:18:13, Jason L Tibbitts III wrote: LR == Lee Revell [EMAIL PROTECTED] writes: LR Is Larry smoking crack? From the Perl6-Bible: http://search.cpan.org/dist/Perl6-Bible/lib/ Perl6/Bible/S03.pod: I think this confirms that the answer is yes. See the following at the

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Martin v. Löwis
Lee Revell wrote: For strings, of course. But there's no need for UTF-8 operators. Indeed - this is the main rationale for the patch, of course. People want to write non-ASCII in script primarily in string literals, and (perhaps even more often) in comments. Now, for comments, it wouldn't

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Valdis . Kletnieks
On Sun, 14 Aug 2005 17:52:36 EDT, Kyle Moffett said: Note that ?^ is functionally identical to !.?| differs from || in Since when is the string !.?| an operator??? I think that was supposed to read: Note that ?^ is functionally identical to !. ?| differs from ?? in that ?| returns (and

Re: [Patch] Support UTF-8 scripts

2005-08-14 Thread Alan Cox
On Sul, 2005-08-14 at 15:59 -0400, Lee Revell wrote: I know the alternatives are available. That doesn't make it any less idiotic to use non ASCII characters as operators. I think it's a very slippery slope. We write code in ASCII, dammit. Its a trivial patch and there is a lot to be said

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread James Cloos
> "Alan" == Alan Cox <[EMAIL PROTECTED]> writes: Alan> The command line console mappings may not include them by Alan> default (you can obviously add them if your keyboard lacks Alan> them). The X keyboard however does include compose functionality Alan> for » and « and many other symbols

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 21:19 -0400, Kyle Moffett wrote: > And those of us who are Mac OS X oriented have patched our console and > X keycodes to match the mac way of generating symbols: > > Alt-\= « > Alt-Shift-\ = » > Alt-Shift-+ = ± > My point exactly, it's idiotic for Perl6 to use

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Kyle Moffett
On Aug 13, 2005, at 20:57:45, Alan Cox wrote: I have "setxkbmap -symbols 'en_US(pc102)+gb'" in my ~/.xsession, and « and » are available as AltGr-z and AltGr-x respectively. Most keyboards don't have an AltGr key. You must be an American. Most old the worlds keyboards have an AltGr key.

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Alan Cox
> >I have "setxkbmap -symbols 'en_US(pc102)+gb'" in my ~/.xsession, > > and « and » are available as AltGr-z and AltGr-x respectively. > > Most keyboards don't have an AltGr key. You must be an American. Most old the worlds keyboards have an AltGr key. You'll find that US keyboards have two

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Alan Cox
On Sad, 2005-08-13 at 14:42 -0400, Lee Revell wrote: > Is Larry smoking crack? That's one of the worst ideas I've heard in a > long time. There's no easy way to enter those at the keyboard! The command line console mappings may not include them by default (you can obviously add them if your

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 19:49 +0100, Hugo Mills wrote: > On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: > > On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > > > Thats great for the perl6 people. > > > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > > >

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 19:49 +0100, Hugo Mills wrote: > On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: > > On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > > > Thats great for the perl6 people. > > > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > > >

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Hugo Mills
On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: > On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > > Thats great for the perl6 people. > > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > > to be using « and » as operators... > > Is Larry smoking

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > Thats great for the perl6 people. > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > to be using « and » as operators... Is Larry smoking crack? That's one of the worst ideas I've heard in a long time. There's no

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Stephen Pollei
On 8/13/05, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > This patch adds support for UTF-8 signatures (aka BOM, byte order > mark) to binfmt_script. > With such support, creating scripts that reliably carry non-ASCII > characters is simplified. > the approach would naturally extend to Perl to

[Patch] Support UTF-8 scripts

2005-08-13 Thread Martin v. Löwis
This patch adds support for UTF-8 signatures (aka BOM, byte order mark) to binfmt_script. Files that start with EF BF FF # ! are now recognized as scripts (in addition to files starting with # !). With such support, creating scripts that reliably carry non-ASCII characters is simplified. Editors

[Patch] Support UTF-8 scripts

2005-08-13 Thread Martin v. Löwis
This patch adds support for UTF-8 signatures (aka BOM, byte order mark) to binfmt_script. Files that start with EF BF FF # ! are now recognized as scripts (in addition to files starting with # !). With such support, creating scripts that reliably carry non-ASCII characters is simplified. Editors

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Stephen Pollei
On 8/13/05, Martin v. Löwis [EMAIL PROTECTED] wrote: This patch adds support for UTF-8 signatures (aka BOM, byte order mark) to binfmt_script. With such support, creating scripts that reliably carry non-ASCII characters is simplified. the approach would naturally extend to Perl to

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using « and » as operators... Is Larry smoking crack? That's one of the worst ideas I've heard in a long time. There's no

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Hugo Mills
On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using « and » as operators... Is Larry smoking crack? That's

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 19:49 +0100, Hugo Mills wrote: On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 19:49 +0100, Hugo Mills wrote: On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: Thats great for the perl6 people. http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going to be using

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Alan Cox
On Sad, 2005-08-13 at 14:42 -0400, Lee Revell wrote: Is Larry smoking crack? That's one of the worst ideas I've heard in a long time. There's no easy way to enter those at the keyboard! The command line console mappings may not include them by default (you can obviously add them if your

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Alan Cox
I have setxkbmap -symbols 'en_US(pc102)+gb' in my ~/.xsession, and « and » are available as AltGr-z and AltGr-x respectively. Most keyboards don't have an AltGr key. You must be an American. Most old the worlds keyboards have an AltGr key. You'll find that US keyboards have two alt keys

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Kyle Moffett
On Aug 13, 2005, at 20:57:45, Alan Cox wrote: I have setxkbmap -symbols 'en_US(pc102)+gb' in my ~/.xsession, and « and » are available as AltGr-z and AltGr-x respectively. Most keyboards don't have an AltGr key. You must be an American. Most old the worlds keyboards have an AltGr key.

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 21:19 -0400, Kyle Moffett wrote: And those of us who are Mac OS X oriented have patched our console and X keycodes to match the mac way of generating symbols: Alt-\= « Alt-Shift-\ = » Alt-Shift-+ = ± My point exactly, it's idiotic for Perl6 to use these as

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread James Cloos
Alan == Alan Cox [EMAIL PROTECTED] writes: Alan The command line console mappings may not include them by Alan default (you can obviously add them if your keyboard lacks Alan them). The X keyboard however does include compose functionality Alan for » and « and many other symbols that might be