On Thu, Feb 03, 2011 at 09:57:44PM +0300, Alexander Polakov wrote: > There's no such thing like LC_TYPE, LC_CTYPE is actually checked > in charset.c. >
fixed, thanks. jmc > > Index: less.1 > =================================================================== > RCS file: /cvs/src/usr.bin/less/less.1,v > retrieving revision 1.20 > diff -u -r1.20 less.1 > --- less.1 28 Oct 2010 21:32:54 -0000 1.20 > +++ less.1 3 Feb 2011 18:52:18 -0000 > @@ -1297,7 +1297,7 @@ > .Pp > If neither LESSCHARSET nor LESSCHARDEF is set, > but the string "UTF-8" is found in the > -.Ev LC_ALL , LC_TYPE > +.Ev LC_ALL , LC_CTYPE > or > .Ev LANG > environment variables, then the default character set is utf-8. > -- > Alexander Polakov | plhk.ru