LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   man pages and 'high bit' foreign chars (https://www.linuxquestions.org/questions/linux-software-2/man-pages-and-high-bit-foreign-chars-86325/)

leesweet 08-27-2003 01:23 PM

man pages and 'high bit' foreign chars
 
We've just installed RH 8.0 on a box that will be a mail and DNS server. We're getting strange results from 'man', where the hyphens seem to be replaced by a-caret (french character: a, with accent over it), following by two spaces.

This is in terminal mode using CRT, basic vt100 emulation, and I've not seen this on other boxes we've set up. Thought it could be an stty issue, so here are those if they will be of help:

speed 9600 baud; rows 29; columns 95; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;
min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany
-imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

Anyone got any clues on this? Anything else that could help? Thanks!

-Lee

leesweet 08-27-2003 02:02 PM

Update.... looks like a straightforward terminal emulation issue, since X works fine. But what in a telnet/vt100 emulator would convert the '-' in man pages to this sort of stuff?

lenlutz 09-29-2003 08:00 AM

yeh... looks like:

−a, −−

i was thinking COLOR,
but i cant figure out, how to turn it OFF either...
OH, how i yern for the old tty days sometimes

lenlutz 09-29-2003 08:13 AM

HERE THE Answer:

normaly LANG="LANG=en_US.UTF-8"

type:
LANG="en_US.UTF-7"
(you can put this in .bashrc

quatsch 09-29-2003 11:21 PM

or just make an alias:
alias man='env LC_ALL=en_US man'
in case you don't want to mess with the locale settings globally.


All times are GMT -5. The time now is 07:46 AM.