LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-26-2003, 02:27 AM   #1
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
funny characters in man pages


Well I know a long time ago I had some funny characters in the man pages on a redhat 8 machine. I know I had to change something in the /etc/profile.d/lang.sh file, but I can not remember what it was now. I was wondering if anyone out there knew how to get rid of all those funny characters in the man pages by changing that lang.sh file, or an easier way if possible. Thanks for the help
 
Old 06-26-2003, 02:29 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You can do:

export LANG=C

That will fix it temporarily. To fix it permanently you can add that line to your /etc/bashrc
 
Old 06-26-2003, 11:14 AM   #3
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks for the help that did it! I was wondering do you edit the bashrc file in /etc instead of your home directory so that it will work for every user?
 
Old 06-26-2003, 04:45 PM   #4
MArgRes
Member
 
Registered: Jun 2003
Distribution: Fedora Core 2
Posts: 37

Rep: Reputation: 15
Could do. Also, for anyone else who happens to read this, I still get the bad characters when I print a manpage. Anyone know how to fix that?!?

 
Old 06-27-2003, 12:34 AM   #5
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange characters in man pages _maco_ Linux - General 2 06-01-2009 05:44 PM
Weird characters in man pages - possible CHARSET problem?? benr77 Linux - General 2 06-02-2005 01:44 PM
characters disappearing in man command smips Linux - General 2 05-06-2005 04:29 AM
Apache 2.0.52 funny characters on web page mnauta Linux - Networking 1 12-03-2004 12:24 AM
man page with weird characters? falconxlc Linux - General 1 12-07-2002 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration