On Sun, 2 Mar 2003 20:05:48 -0500, Michael Fratoni wrote
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sunday 02 March 2003 06:55 pm, Mike Vanecek wrote:
> 
> > > I got one that is even more confusing. RH 8.0, man man (for example),
> > > underlines and hypens are fine. Use Gnome-terminal to ssh to RH 7.1
> > > system. Do a man man during that session. The underlines are fine,
> > > but the end-of-line hypens display as question marks. Now where do I
> > > look?
> >
> > I tried the export Lang="en" and saw no difference.
> 
> Case is important. That should be 'export LANG="en" (or "C").

Ooops, thank you.  That did the trick:

Setup on local RH 8.0 machine where man man works on local machine
[EMAIL PROTECTED] admin]$ set | grep -i lang
LANG=en_US.UTF-8
langfile=/home/admin/.i18n
[EMAIL PROTECTED] admin]$ less langfile=/home/admin/.i18n
langfile=/home/admin/.i18n: No such file or directory


Setup on remote RH 7.1 machine via ssh where man man line continuation hyphen
does not work.
[EMAIL PROTECTED] rh_lists]$ set | grep -i lang
LANG=en_US
langfile=/home/rh_lists/.i18n
[EMAIL PROTECTED] rh_lists]$ less langfile=/home/rh_lists/.i18n
langfile=/home/rh_lists/.i18n: No such file or directory

Make change on the RH 7.1 machine
[EMAIL PROTECTED] rh_lists]$ export LANG="en"
[EMAIL PROTECTED] rh_lists]$ set | grep -i lang
LANG=en
langfile=/home/rh_lists/.i18n

Now man man on the RH 7.1 machine displays the line continuation hyphen
correctly. Great.

Surprised to see that the RH 7.1 system needed the change and not the RH 8.0
system.

The RH 8.0 /etc/sysconfig/i18n file has:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

I guess the SUPPORTED :en makes the difference locally?

The RH 7.1 /etc/sysconfig/i18n file has:

LANG="en_US"
SUPPORTED="en_US:en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"

If so, why does it not work on the RH 7.1 machine via the ssh session?

[snip]

> I can't reproduce this here. Perhaps check to see what TERM is set to?

I am using Gnome-Terminal to set up the ssh session:

[EMAIL PROTECTED] root]# cat /etc/redhat-release
Red Hat Linux release 8.0 (Psyche)
[EMAIL PROTECTED] root]# echo $TERM
xterm

[EMAIL PROTECTED] rh_lists]$ cat /etc/redhat-release
Red Hat Linux release 7.1 (Seawolf)
[EMAIL PROTECTED] rh_lists]$ echo $TERM
xterm

> 
> [EMAIL PROTECTED] mfratoni]$ cat /etc/redhat-release
> Red Hat Linux release 8.0 (Psyche)
> [EMAIL PROTECTED] mfratoni]$ echo $TERM
> xterm
> [EMAIL PROTECTED] mfratoni]$ ssh firestorm
> 
> [EMAIL PROTECTED] mfratoni]$ cat /etc/redhat-release
> Red Hat Linux release 7.1 (Seawolf)
> [EMAIL PROTECTED] mfratoni]$ echo $TERM
> xterm
> 
> On the local 8.0 machine, man pages are a mess using a KDE Konsole,
>  so I have an alias: $ which man alias man='env LANG="C" man'

Do not have the same problem with Gnome. Also, with the export LANG command,
man man works. I have put your alias in the user .bash_profile on the RH 7.1
machine so I do not have to do an export everytime I do man.

It is all magic!

Thank you for your help.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to