Sponsored Content
Full Discussion: Man command
Top Forums UNIX for Dummies Questions & Answers Man command Post 8640 by loadc on Monday 15th of October 2001 05:22:40 PM
Old 10-15-2001
WEEEL

The easy way is to set pager to nothing, at least that has worked for me in the past...

export PAGER=

and it may spit back that that is invalid, if so, I'll look at my box tonight and see what else I have for options for you...



loadc
 

9 More Discussions You Might Find Interesting

1. Programming

man pages of any command from a c program in unix

i wanted to display the man pages of any command in unix from a c program.can some one help me plzzzzzz. (2 Replies)
Discussion started by: spanduu
2 Replies

2. Solaris

Creating a Man page for a command

Hi, I would like to develop a man page as the one we usually get when we execute man <command name>. This man page will be for a samll utility that i have written. If this is not possible then what are the available possibilites for creating such help. thanks in advance. (2 Replies)
Discussion started by: raghu.amilineni
2 Replies

3. Linux

man command

Hey people do u know how to disable the man command in linux??? i am not able to do anythg apart from disabling the permission for /usr/bin/... i dont wanna uninstall the man / man pages also... this has been one of the toughest challenges i have come across in linux... can anybody... (5 Replies)
Discussion started by: linux.user
5 Replies

4. Shell Programming and Scripting

Man command

How to get only the options and arguments of a command excluding the descriptive help? (1 Reply)
Discussion started by: mayur_verma
1 Replies

5. Homework & Coursework Questions

man command output to a txt file

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am trying to outut the man command output into a text file which will help me for future reference. 2.... (8 Replies)
Discussion started by: hariniiyer300
8 Replies

6. UNIX for Dummies Questions & Answers

Unix man command to find out month of the year?

how can i display month of the year i was born with using man command? thanks (2 Replies)
Discussion started by: janetroop95
2 Replies

7. UNIX for Dummies Questions & Answers

MAN command for various shells

Whenever I run manual page on a command I get information about arguments, syntax and so on. However, I wounder if that information is valid only for a certain shell and if yes, then for which one? In other words, would I have different man outputs for csh, ksh, bash and others? Thanks (7 Replies)
Discussion started by: rdogadin
7 Replies

8. Shell Programming and Scripting

Description of the option print0 in the command find (man page)

This is the description of the option -print0 fon the command find in the man page: What does the "True" in the first line of the description mean? (3 Replies)
Discussion started by: puertas12
3 Replies

9. UNIX for Beginners Questions & Answers

Using man command

hi linux expert how to use man command for get help about "extended regular expression"? many thanks samad (2 Replies)
Discussion started by: abdossamad2003
2 Replies
Data::Pager(3pm)					User Contributed Perl Documentation					  Data::Pager(3pm)

NAME
Data::Pager - flexible data pager SYNOPSIS
use Data::Pager; my $pager = Data::Pager->new({ current => 100, perpage => 10, offset => 5, limit => 2000, }); #~ accessors: $pager->current; # 100 $pager->next; # 101 $pager->prev; # 99 $pager->limit; # 2000 $pager->start; # 1 # not typical start of a programmer $pager->final; # # 400 (which denotes 2000 / 5 pager links) $pager->end; # / $pager->from; # 495 (may serve in SQL LIMIT clause) $pager->to; # 500 (may serve in SQL LIMIT clause) $pager->list; # 95 96 97 98 99 100 101 102 103 104 105 DESCRIPTION
This class implements the familiar pager where the current position is centered. CONSTRUCTOR
new my $pager = Data::Pager->new({ current => 1, # this is the current pager position perpage => 10, # the pager consists of this number of links (defaults to 10) offset => 5, # this is the number of results (fetched from the DB for example) per result limit => 100, # how far is the pager allowed }); # sample output from html table: id ... ..... ... 1. ... ..... ... 2. ... ..... ... 3. ... ..... ... 4. ... ..... ... 5. ... ..... ... 1 2 3 4 5 6 7 8 9 10 Returns object or undef if current position is beyond the limit. METHODS
current $pager->current(); Returns the current pager position. set_current($digit) $pager->set_current(850); $pager->set_current(850)->next(); Sets the current pager position. Returns the pager object on succes, undef on false. next Returns the next pager position or undef if this is the last one. prev Returns the previous pager position or undef if this is the first one. start Returns 1 - the start pager position. end Returns the end pager position. first Returns the first pager position for this result set. last Returns the last pager position for this result set. from '1' => { 'to' => 5, 'next' => 2, 'prev' => undef, 'from' => 0 }, '2' => { 'to' => 10, 'next' => 3, 'prev' => 1, 'from' => 5 }, ... Returns the start result this pager position refers to. to Returns the end result this pager position refers to. list @_ = $pager->list; $_ = $pager->list; Returns the pager links for this result set. In list context returns the resulting list. In scalar context returns reference to the resulting list. # note the alignment $pager->set_current(10); print $pager->list; # 6 7 8 9 [10] 11 12 13 14 15 $pager->set_current(33); print $pager->list; # 28 29 30 31 32 [33] 34 35 36 37 38 SEE ALSO
Data::Page BUGS
What BUGS? AUTHOR
Vidul Nikolaev Petrov, vidul@cpan.org COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.10.0 2006-04-04 Data::Pager(3pm)
All times are GMT -4. The time now is 11:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy