Unix Technical Forum

Man Page with vi functions

This is a discussion on Man Page with vi functions within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Does anyone know how to make the man pages display with the backwards and forward movement similar to vi? ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 05:53 AM
Gary Jahrig
 
Posts: n/a
Default Man Page with vi functions

Does anyone know how to make the man pages display with the backwards and
forward movement similar to vi? I know I can hit v and go into vi mode but
this gives me all the garbage charators from the troff or whatever. I think
there is a way to use page() for man pages but I don't know how to set it
up. Can anyone help here.

Thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 05:53 AM
Neil W Rickert
 
Posts: n/a
Default Re: Man Page with vi functions

"Gary Jahrig" <gary@X.usnetcastX.com> writes:

>Does anyone know how to make the man pages display with the backwards and
>forward movement similar to vi? I know I can hit v and go into vi mode but
>this gives me all the garbage charators from the troff or whatever. I think
>there is a way to use page() for man pages but I don't know how to set it
>up. Can anyone help here.


I set

PAGER=less

in my environment. The "man" command honors this.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 05:53 AM
 
Posts: n/a
Default Re: Man Page with vi functions

In article <HEqtb.2983$Ue4.2082@fed1read01>,
"Gary Jahrig" <gary@X.usnetcastX.com> writes:
> Does anyone know how to make the man pages display with the backwards and
> forward movement similar to vi? I know I can hit v and go into vi mode but
> this gives me all the garbage charators from the troff or whatever. I think
> there is a way to use page() for man pages but I don't know how to set it
> up. Can anyone help here.

charators?? Try:
PAGER=/usr/bin/less
LESS=-QmesiX
export PAGER LESS
It doesnt make man behave exactly like vi characters though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com