LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-03-2004, 01:47 AM   #1
x5452
Member
 
Registered: Mar 2004
Posts: 30

Rep: Reputation: 15
Continous man page?


say, man ls
any method to print the result of the man in a continous manner?
what I mean is output all "pages" of the man result at a time instead of pressing spacebar to next page.
 
Old 05-03-2004, 01:51 AM   #2
rkef
Member
 
Registered: Mar 2004
Location: bursa
Posts: 110

Rep: Reputation: 15
Try 'man ls -P cat'... is that what you meant ?
 
Old 05-03-2004, 01:58 AM   #3
x5452
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
WOOT!
Thanks rkef! Exactly what i want.

here is the -P parameter means:
Quote:

-P pager
Specify which pager to use. This option overrides the MANPAGER
environment variable, which in turn overrides the PAGER vari-
able. By default, man uses /usr/bin/less -isr.
 
Old 05-03-2004, 02:13 AM   #4
x5452
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
hmmm... something wrong.
man ls -P cat
this is good.

but if man ls -P cat > ls.man
then I try to vi ls.man

vi shows me:
Code:
LS(1)                                 FSF                                LS(1)



N^HNA^HAM^HME^HE
       ls - list directory contents

S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS
       l^Hls^Hs [_^HO_^HP_^HT_^HI_^HO_^HN]... [_^HF_^HI_^HL_^HE]...

D^HDE^HES^HSC^HCR^HRI^HIP^HPT^HTI^HIO^HON^HN
       List  information  about  the FILEs (the current directory by default).
       Sort entries alphabetically if none of -^H-c^Hcf^Hft^Htu^HuS^HSU^HUX^HX nor -^H--^H-s^Hso^Hor^Hrt^Ht.
many of control codes... how to i get rid of them?
 
Old 05-03-2004, 02:28 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
man manpage|col -b>manpage.txt



Cheers,
Tink
 
Old 05-03-2004, 02:59 AM   #6
x5452
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
oh yeah!
it works.
/bow Tinkster
 
  


Reply



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
getting out of a man page! naijaguy Linux - Newbie 11 04-10-2018 05:21 PM
man page question pjbii Slackware 5 05-27-2005 02:48 PM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM
Is there a man page on how to use man page? jdruin Linux - Software 2 10-30-2004 09:29 AM
man page? chandan Linux - Newbie 1 07-16-2003 07:31 PM

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

All times are GMT -5. The time now is 09:22 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
Open Source Consulting | Domain Registration