Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] less and utf-8

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] less and utf-8
  • Date: Sat, 25 Mar 2006 13:20:46 -0800

On Sat, Mar 25, 2006 at 12:46:54PM -0800, Andrew Stitt wrote:
> On Sat, Mar 25, 2006 at 03:55:20PM +0100, Andra?? ruskie Levstik wrote:
> > Juuso Alasuutari wrote :
> >
> > http://bugs.sourcemage.org/show_bug.cgi?id=10546 <-- this is the problem
>
> If I remove the lines in question discussed in that bug less still has
> the same problem.
>
> >
> > I had NO problem runnig less on a HISTORY file outside of sorcery in a
> > .UTF-8
> > locale
> >
>
> Me neither, and I am unable to find any substantial differences between
> the environment before/after . /etc/sorcery/config that would have any
> effect. I guess I'll have to read through the less source code to see
> why its doing this.
>

Well color me confused. I *thought* it worked fine for me outside sorcery.
But then it stopped and I got the query no matter what I did. When
I set my locale to be utf8 in a ut8 enabled terminal it wouldnt work.
Then I updated less and it started working...for a while, no matter what
I did to try and break it. In the same terminals where it didnt work before.

I dont quite get what is making less so fickle. And I dont claim to
understand how this stuff works. But for the past 5 minutes gaze from
sorcery with LC_ALL removed magically works again.

I'll go ahead and fix the bug since the LC_ALL hack someone put in is
clearly having unintended consequences.

-Andrew

--
_________________________________________________________________________
| Andrew D. Stitt | acedit at armory.com | astitt at sourcemage.org |
| irc: afrayedknot | Sorcery Team Lead | ftp://t.armory.com/ |
| 1024D/D39B096C | 76E4 728A 04EE 62B2 A09A 96D7 4D9E 239B D39B 096C |
-------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page