Re: weird output of characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I ran into something like this & now have a script (~/bin/man) to get around it:
	> #!/bin/ksh
	> unset LANG
	> /usr/bin/man $*

Hope this helps,

-S

Hicham Mouline wrote:
> 
> hello,
> i get weird characters in man pages. Here's an example from "man find"
> 
> OPTIONS
>        The â-Hâ, â-Lâ and â-Pâ options control 
> 
> the chars surrounding -H and -L and -P....  (i don't know the charset used by this mail agent i'm posting with...)
> 
> My env variables are :
> TERM=xterm
> SHELL=/bin/bash
> HISTSIZE=1000
> SSH_TTY=/dev/pts/0
> LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
> PAGER=/usr/bin/less
> INPUTRC=/etc/inputrc
> EDITOR=vi
> LANG=en_US.UTF-8
> PS1=[\u@\h:\w]
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
> SHLVL=1
> CVS_RSH=ssh
> LESSOPEN=|/usr/bin/lesspipe.sh %s
> G_BROKEN_FILENAMES=1
> _=/bin/env
> uname -a
> Linux ... 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> 
> bash --version
> GNU bash, version 3.1.17(1)-release (x86_64-redhat-linux-gnu)
> Copyright (C) 2005 Free Software Foundation, Inc.
> 
> less --version
> less 394
> Copyright (C) 1984-2005 Mark Nudelman
> 
> I don't have any LC* env vars, I suppose LANG replaces those.
> 
> Any clues?
> regards,
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux