Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 27th, 2003, 11:00 AM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Font problem with man page viewing

Hello, I was wondering what would cause this:

Every time I want to view a man page of some command, the "-" are replaced with an "a" with a caret on top. This makes the man page hard to read. I am running RHL 8, has anyone else had this problem?

Ex:

NAME
httpd â Apache hypertext transfer protocol server

SYNOPSIS
httpd [ âd serverroot ] [ âf config ] [ âC directive ] [ âc directive ]
[ âD parameter ]

httpd [ âh ] [ âl ] [ âL ] [ âv ] [ âV ] [ ât ] [ âX ]

Reply With Quote
  #2  
Old April 27th, 2003, 11:13 AM
ghatzhat ghatzhat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 361 ghatzhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 5 sec
Reputation Power: 7
Quote:
has anyone else had this problem?

yes. the exact same thing - an "a" with a caret, but i'm afraid i've made zero effort to sort it out. (other than the rudimentary find and replace between my eyes and my brain). it can't be that hard - character sets, config of the man program, config of PuTTY...?

so, seeing as Rdesign has brought it up, i hereby register my interest in the emergence of a solution...
__________________
Little more than a playground for the bugs that live beneath us...

Reply With Quote
  #3  
Old April 27th, 2003, 11:37 AM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
SSH Client

That's right. I should also mention that I'm using PuTTY for SSH. Don't want to forget to add the details...

Reply With Quote
  #4  
Old April 27th, 2003, 11:55 AM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I fixed it!

ghatzhat's post gave me an idea. I didn't think of messing with PuTTY before, I thought the problem was with the operating system...

Ok, to fix the "a" with a hat problem in PuTTY:

1. Open PuTTY and load your profile (must load the profile for this to work)

2. On the left hand window expand "Window" and select "Translation".

3. you should see a drop down menu: "Recived data assumed to be in which character set". Drop that down and select: "UTF-8".
Also, change the "Handling of line drawing characters" radio button set to: "Font has XWindows encoding".

4. Back to the left hand window, select "Session" at the very top. That will take you back to your login (I only mention this because I lost it once) and click the save button.

If you follow these steps please post and tell me if they work for you or not.

Reply With Quote
  #5  
Old April 27th, 2003, 09:50 PM
ghatzhat ghatzhat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 361 ghatzhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 5 sec
Reputation Power: 7
beautiful, mate - i could have managed that.

but i didn't.

thanks.

Reply With Quote
  #6  
Old April 27th, 2003, 09:56 PM
ghatzhat ghatzhat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 361 ghatzhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 5 sec
Reputation Power: 7
ah... that said, i'm seeing some 'white boxes' for some (not all) of my hyphens now. i'm wondering if you're getting it too, Rdesign? by white boxes, i mean those rectangles you get when there's an unrecognised character.

Reply With Quote
  #7  
Old April 27th, 2003, 10:31 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
White Boxes

Yep, I see them too. I can live with that for the time being though. It's all those caret-a's that drove me nuts. If you figure that one out please share, it would be nice to see my man pages the way they were supposed to be seen.

Reply With Quote
  #8  
Old April 28th, 2003, 11:09 PM
rfc791's Avatar
rfc791 rfc791 is offline
unix hermit
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: http://www.rfc791.org
Posts: 18 rfc791 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I personally like to read my man pages formatted on paper.

If you've got a printer set up on your linux box, I believe you can print out man pages nicely formatted with


man -t command


you may have to do


man -t command | lpr


If that doesn't work, which it doesn't under BSD, I hunt down the actual man page file and run it through groff ...


gzcat /usr/share/man/man1/vi.1.gz | groff -Tps -mandoc | lpr

Reply With Quote
  #9  
Old April 28th, 2003, 11:24 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Linux Printing

I don't have a printer for my Box. I've thought about it, even read some about how *x systems treat printers. I would like to do it but it seems like I need to do even more reading to make it work properly. What kind of printers would Red Hat Linux (v8) support? What material would you advise someone to read to get started?

Good Idea, thanks.

Reply With Quote
  #10  
Old April 29th, 2003, 12:04 AM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
www.cups.org should get you started. The version and thus supported printers varies by the dist.

Reply With Quote
  #11  
Old April 29th, 2003, 10:03 AM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Cups..

Thanks, I wouldn't have found that.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Font problem with man page viewing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway