1 <qandaentry id="less-prints-ad">
2 <question><para>Why does less (and therefore man) print <AD> instead of
3 hyphens?</para></question>
4 <answer><para>Because the LANG and LC_ALL environment variables aren't set.
6 set them in both the ~/.bash_profile and ~/.bashrc files for each user
7 or in /etc/profile, which will take care of all users,
8 by adding lines like this:
9 <screen>export LANG=en_US
13 <para>Those lines can be added to /etc/profile with the following command:
14 <screen>echo -e 'export LANG=en_US\nexport LC_ALL=POSIX' >> /etc/profile
17 <para>If you don't use US English you'll have to change the "en_US" part
18 and possibly the values of various LC_* variables as well.
19 Running the locale command lists many (all?) of the LC_* variables.