Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Just My Imagination Or is man Missing a Feature?

Just My Imagination Or is man Missing a Feature?
Thread Tools
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Jan 20, 2003, 03:40 AM
 
I just discovered that the terminal's man command is missing some functionality I found useful. If I recall correctly, the old man command used to display the percentage revealed (of the man page) at its prompt. After some upgrade, however (not sure whether it was Jaguar or one of its revisions), the percentage stopped being displayed. At the prompt, all that is shown now is a colon; when the man page is complete it displays END. I'm running 10.2.3, and as I said before I just discovered this issue. I'm not a Unix pro, so if this is a stupid question, please remember that fact.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 21, 2003, 02:52 AM
 
What you're seeing is the less pager. man used to use the more pager, but apparently it got changed in the switch to 10.2. You should be able to get the old behavior by setting PAGER environment variable or piping the output to more.

The difference, incidentally, is that with less you can move both forwards and backwards in the text, while more only lets you move forward.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
Jan 21, 2003, 12:54 PM
 
Actually, you can move backwards in "more", just press:

ib

Where "i" is the number of pages you want to skip back.
     
Junior Member
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 21, 2003, 04:06 PM
 
less is a much better pager than more, if you want to see how far down in a file you are, control-G shows how many lines and how far through you are.
     
Big Mac  (op)
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Jan 22, 2003, 12:51 AM
 
I am quite impressed with the knowledgeable replies. Thank you so much.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:32 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2