This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: Re: man <AD> From: Hal Burgiss <hburgiss@bellsouth.net> Date: Sun, 9 Jan 2000 11:15:52 -0500 On Sun, Jan 09, 2000 at 04:18:59PM +0100, Gustav Schaffter wrote: > I know I've seen this question asked and answered on the list, but > I'm unable to find it back in the archives. I guess I don't know how > to express the query. > > In some of my man pages, some lines ends with <AD> in reverse video. > > How can I get rid of this? LESSCHARDEF=. Somewhere in your environment. I have it in /etc/profile. === Subject: Re: man <AD> From: Gustav Schaffter <gustav@schaffter.com> Date: Sun, 09 Jan 2000 22:19:38 +0100 Hi, I now have two different working solutions. :-) Jack said: export LESSCHARSET=latin1 Hal said: [export] LESSCHARDEF=. Big thanks to both of you. As I said, both work. I just don't know which one to choose. :-) Primarily because I'm not 100% sure of the usage/meaning of the two variables. === Subject: Re: man <AD> From: Hal Burgiss <hburgiss@bellsouth.net> Date: Sun, 9 Jan 2000 17:07:22 -0500 On Sun, Jan 09, 2000 at 10:19:38PM +0100, Gustav Schaffter wrote: > Hi, > > I now have two different working solutions. :-) > > Jack said: export LESSCHARSET=latin1 > > Hal said: [export] LESSCHARDEF=. > > Big thanks to both of you. > > As I said, both work. I just don't know which one to choose. :-) > Primarily because I'm not 100% sure of the usage/meaning of the two > variables. I had tried both, and the only reason I ran across that led me to use the '.', is that it works with 'ls --color' piped thru less. As someone else pointed out, there is other ways to solve this. But both solve the <AD> thing. I think what these really do is just tell less how to handle 'unprintable' characters like escape chars. ===